genmod.families.family.Family()

statsmodels.genmod.families.family.Family

class statsmodels.genmod.families.family.Family(link, variance) [source]

The parent class for one-parameter exponential families.

Parameters:

link : a link function instance

Link is the linear transformation function. See the individual families for available links.

variance : a variance function

Measures the variance as a function of the mean probabilities. See the individual families for the default variance function.

See also

Link Functions

Attributes

link Link function for family

Methods

deviance(endog, mu[, freq_weights, scale]) The deviance function evaluated at (endog,mu,freq_weights,mu).
fitted(lin_pred) Fitted values based on linear predictors lin_pred.
loglike(endog, mu[, freq_weights, scale]) The log-likelihood function in terms of the fitted mean response.
predict(mu) Linear predictors based on given mu values.
resid_anscombe(endog, mu) The Anscombe residuals
resid_dev(endog, mu[, freq_weights, scale]) The deviance residuals
starting_mu(y) Starting value for mu in the IRLS algorithm.
weights(mu) Weights for IRLS steps

Methods

deviance(endog, mu[, freq_weights, scale]) The deviance function evaluated at (endog,mu,freq_weights,mu).
fitted(lin_pred) Fitted values based on linear predictors lin_pred.
loglike(endog, mu[, freq_weights, scale]) The log-likelihood function in terms of the fitted mean response.
predict(mu) Linear predictors based on given mu values.
resid_anscombe(endog, mu) The Anscombe residuals
resid_dev(endog, mu[, freq_weights, scale]) The deviance residuals
starting_mu(y) Starting value for mu in the IRLS algorithm.
weights(mu) Weights for IRLS steps

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.
http://www.statsmodels.org/stable/generated/statsmodels.genmod.families.family.Family.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部