Last chance! 50% off unlimited learning
Sale ends in
Last chance! 50% off unlimited learning
Sale ends in
Moment generating function of a distribution
mgf(object, t)
Distribution.
integer to evaluate moment generating function at.
Moment generating function evaluated at t as a numeric.
$mgf(t)
The moment generating function is defined by $$mgf_X(t) = E_X[exp(xt)]$$ where X is the distribution and \(E_X\) is the expectation of the distribution X.
If an analytic expression isn't available, returns error. To impute a numerical expression, use the
CoreStatistics
decorator.