Logo

scikits.statsmodels.discrete.discrete_model.DiscreteModel

class scikits.statsmodels.discrete.discrete_model.DiscreteModel(endog, exog=None)[source]

Abstract class for discrete choice models.

This class does not do anything itself but lays out the methods and call signature expected of child classes in addition to those of scikits.statsmodels.model.LikelihoodModel.

Methods

cdf(X) The cumulative distribution function of the model.
fit(**kwargs[, start_params, method, ...]) Fit the model using maximum likelihood.
hessian(params) The Hessian matrix of the model
information(params) Fisher information matrix of model
initialize() Initialize is called by
loglike(params) Log-likelihood of model.
pdf(X) The probability density (mass) function of the model.
predict([exog, linear]) Predict response variable of a model given exogenous variables.
score(params) Score vector of model.

Previous topic

sm.discrete.discrete_model.Poisson.score

Next topic

sm.discrete.discrete_model.DiscreteModel.cdf

This Page