statsmodels.genmod.families.varfuncs.VarianceFunction

class statsmodels.genmod.families.varfuncs.VarianceFunction[source]

Relates the variance of a random variable to its mean. Defaults to 1.

Methods

call

Returns an array of ones that is the same shape as mu

Notes

After a variance function is initialized, its call method can be used.

Alias for VarianceFunction: constant = VarianceFunction()

Methods

deriv(mu)

Derivative of the variance function v'(mu)


Last update: Oct 08, 2024