Probability generating function of a distribution
pgf(object, z)
Distribution.
integer to evaluate characteristic function at.
Probability generating function evaluated at z as a numeric if distribution is discrete, otherwise NaN.
$pgf(z)
The probability generating function is defined by $$pgf_X(z) = E_X[exp(z^x)]$$ 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.