Other Models miscmodels

statsmodels.miscmodels contains model classes and that do not yet fit into any other category, or are basic implementations that are not yet polished and will most likely still change. Some of these models were written as examples for the generic maximum likelihood framework, and there will be others that might be based on general method of moments.

The models in this category have been checked for basic cases, but might be more exposed to numerical problems than the complete implementation. For example, count.Poisson has been added using only the generic maximum likelihood framework, the standard errors are based on the numerical evaluation of the Hessian, while discretemod.Poisson uses analytical Gradients and Hessian and will be more precise, especially in cases when there is strong multicollinearity. On the other hand, by subclassing GenericLikelihoodModel, it is easy to add new models, another example can be seen in the zero inflated Poisson model, miscmodels.count.

Count Models count

PoissonGMLE(endog[, exog, loglike, score, ...])

Maximum Likelihood Estimation of Poisson Model

PoissonOffsetGMLE(endog[, exog, offset, missing])

Maximum Likelihood Estimation of Poisson Model

PoissonZiGMLE(endog[, exog, offset, missing])

Maximum Likelihood Estimation of Poisson Model

Linear Model with t-distributed errors

This is a class that shows that a new model can be defined by only specifying the method for the loglikelihood. All result statistics are inherited from the generic likelihood model and result classes. The results have been checked against R for a simple case.

TLinearModel(endog[, exog, loglike, score, ...])

Maximum Likelihood Estimation of Linear Model with t-distributed errors


Last update: Dec 23, 2024