Skip to the content
Know your tech before you buy it. Makers: get listed from $49/mo

IDCeMPy

idcempy.readthedocs.io

  • Free plan

What the maker publishes

Contributions
The authors welcome contributors to help test IDCeMPy and add functionality. source
Data import formats
CSV, Stata (.dta), pandas DataFrame source
Dependencies in examples
The documentation examples use pandas, urllib, and matplotlib for importing and visualizing data. source
Deployment
desktop source
Diagnostics
It computes AIC, log-likelihood, and Vuong test statistics to assess model performance. source
Estimation
The package estimates models by maximum likelihood using Newton numerical optimization methods. source
Free plan
Yes source
Inflated category options
For GiMNL, users can choose the baseline, second, or third outcome category as the inflated category. source
Input workflow
The examples use pandas DataFrames and show CSV and Stata data imports. source
Installation
The documentation gives installation instructions through pip and from the project's GitHub repository. source
Intended use
The documentation describes using IDCeMPy when an outcome category has an excessive share of observations arising from distinct data-generating processes. source
Middle-inflated models
It fits middle-inflated ordered probit models with or without correlated errors. source
Model diagnostics
It computes AIC, log-likelihood, and Vuong test statistics to assess model performance. source
Multinomial models
It fits generalized inflated multinomial logit models for three-outcome dependent variables. source
Notable runtime limit
The documentation says correlated-error models run substantially longer than their counterparts without correlated errors, and runtime also depends on observation and covariate counts. source
Performance limit
The documentation says models with correlated errors take substantially longer to run than their counterparts without correlated errors. source
Predictions and effects
Its functions calculate fitted probabilities and marginal effects for split-stage and outcome-stage covariates. source
Purpose
IDCeMPy is a Python package for fitting and assessing inflated discrete choice models. source
Regression models
Yes source
Scripting support
Yes source
Standard models
The package also includes standard ordered probit and three-category multinomial logit models. source
Statistical tests
Yes source
Who it is for
The documentation presents it for researchers analyzing inflated categories in ordered or unordered polytomous outcomes, including smoking, immigration-attitude, and vote-choice examples. source
Zero-inflated models
It fits zero-inflated ordered probit models with or without correlated errors. source

Checked against the maker's pages on 11 Oct 2026.