TransfTwo_gen.expect()
statsmodels.sandbox.distributions.transformed.TransfTwo_gen.expect
-
TransfTwo_gen.expect(func=None, args=(), loc=0, scale=1, lb=None, ub=None, conditional=False, **kwds)
-
Calculate expected value of a function with respect to the distribution.
The expected value of a function
f(x)
with respect to a distributiondist
is defined as:ubound E[x] = Integral(f(x) * dist.pdf(x)) lbound
Parameters: func : callable, optional
Function for which integral is calculated. Takes onl