scikits.statsmodels.discretemod.DiscreteModel

class scikits.statsmodels.discretemod.DiscreteModel(endog, exog=None)

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([start_params, method, maxiter, tol]) Fit method for likelihood based models
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(design) After a model has been fit predict returns the fitted values.
score(params) Score vector of model.

Previous topic

scikits.statsmodels.discretemod.Poisson.score

Next topic

scikits.statsmodels.discretemod.DiscreteModel.cdf

This Page