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
See also
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:
Nov 14, 2024