models.deviance()

Deviance sum w d(y, mu) of a family.

Usage

models.deviance(
    family,
    y,
    mu,
    weights=None,
    theta=None,
    power=None,
)

Parameters

family: str
y: list of float
mu: list of float
weights: list of float = None
theta: float = None
power: float = None

Returns

float