Calculate expected value of a function with respect to the distribution
Location and scale only tested on a few examples.
Parameters : | func : callable, optional
args : tuple, optional
lb, ub : scalar, optional
conditional : bool, optional
Additional keyword arguments are passed to the integration routine. : |
---|---|
Returns : | expected value : float |
Notes
This function has not been checked for it’s behavior when the integral is not finite. The integration behavior is inherited from integrate.quad.