ExpTransf_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 distribution dist
is defined as:
ubound E[x] = Integral(f(x) * dist.pdf(x)) lbound
Parameters: |
|
---|---|
Returns: |
expect – The calculated expected value. |
Return type: |
float |
The integration behavior of this function is inherited from integrate.quad
.
© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.sandbox.distributions.transformed.ExpTransf_gen.expect.html