Gaussian.deviance()

statsmodels.genmod.families.family.Gaussian.deviance

Gaussian.deviance(endog, mu, scale=1.0) [source]

Gaussian deviance function

Parameters:

endog : array-like

Endogenous response variable

mu : array-like

Fitted mean response variable

scale : float, optional

An optional scale argument

Returns:

deviance : float

The deviance function at (endog,mu) as defined below.

Notes

deviance = sum((endog-mu)**2)

doc_statsmodels
2017-01-18 16:08:56
Comments
Leave a Comment

Please login to continue.