models.pearson_terms()
Each row’s Pearson term w (y - mu)^2 / V(mu), V the family’s
Usage
models.pearson_terms(
family,
y,
mu,
weights,
theta=None,
power=None,
)variance function.
Parameters
family: stry: list of floatmu: list of floatweights: list of floattheta: float = Nonepower: float = None
Returns
list of float