🕷️ Crawler Inspector

URL Lookup

Direct Parameter Lookup

Raw Queries and Responses

1. Shard Calculation

Query:
Response:
Calculated Shard: 140 (from laksa127)

2. Crawled Status Check

Query:
Response:

3. Robots.txt Check

Query:
Response:

4. Spam/Ban Check

Query:
Response:

5. Seen Status Check

ℹ️ Skipped - page is already crawled

📄
INDEXABLE
CRAWLED
22 hours ago
🤖
ROBOTS ALLOWED

Page Info Filters

FilterStatusConditionDetails
HTTP statusPASSdownload_http_code = 200HTTP 200
Age cutoffPASSdownload_stamp > now() - 6 MONTH0 months ago
History dropPASSisNull(history_drop_reason)No drop reason
Spam/banPASSfh_dont_index != 1 AND ml_spam_score = 0ml_spam_score=0
CanonicalPASSmeta_canonical IS NULL OR = '' OR = src_unparsedNot set

Page Details

PropertyValue
URLhttps://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html
Last Crawled2026-04-16 19:51:52 (22 hours ago)
First Indexed2018-05-20 08:52:39 (7 years ago)
HTTP Status Code200
Meta Titlestatsmodels.discrete.count_model.ZeroInflatedPoisson - statsmodels 0.15.0 (+989)
Meta Descriptionnull
Meta Canonicalnull
Boilerpipe Text
cdf (X) The cumulative distribution function of the model. cov_params_func_l1 (likelihood_model, xopt, ...) Computes cov_params on a reduced parameter space corresponding to the nonzero parameters resulting from the l1 regularized fit. fit ([start_params, method, maxiter, ...]) Fit the model using maximum likelihood. fit_regularized ([start_params, method, ...]) Fit the model using a regularized maximum likelihood. from_formula (formula, data[, subset, drop_cols]) Create a Model from a formula and dataframe. get_distribution (params[, exog, exog_infl, ...]) Get frozen instance of distribution based on predicted parameters. hessian (params) Generic Zero Inflated model Hessian matrix of the loglikelihood information (params) Fisher information matrix of model. initialize () Initialize is called by statsmodels.model.LikelihoodModel.__init__ and should contain any preprocessing that needs to be done for a model. loglike (params) Loglikelihood of Generic Zero Inflated model. loglikeobs (params) Loglikelihood for observations of Generic Zero Inflated model. pdf (X) The probability density (mass) function of the model. predict (params[, exog, exog_infl, exposure, ...]) Predict expected response or other statistic given exogenous variables. score (params) Score vector of model. score_obs (params) Generic Zero Inflated model score (gradient) vector of the log-likelihood
Markdown
[Skip to content](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson) [![logo](https://www.statsmodels.org/dev/_static/statsmodels-logo-v2-bw.svg)](https://www.statsmodels.org/dev/index.html "statsmodels 0.15.0 (+989)") statsmodels 0.15.0 (+989) statsmodels.discrete.count\_model.ZeroInflatedPoisson Initializing search [statsmodels](https://github.com/statsmodels/statsmodels/ "Go to repository") [![logo](https://www.statsmodels.org/dev/_static/statsmodels-logo-v2-bw.svg)](https://www.statsmodels.org/dev/index.html "statsmodels 0.15.0 (+989)") statsmodels 0.15.0 (+989) [statsmodels](https://github.com/statsmodels/statsmodels/ "Go to repository") - [Installing statsmodels](https://www.statsmodels.org/dev/install.html) - [Getting started](https://www.statsmodels.org/dev/gettingstarted.html) - [User Guide](https://www.statsmodels.org/dev/user-guide.html) User Guide - [Background](https://www.statsmodels.org/dev/user-guide.html#background) - [Regression and Linear Models](https://www.statsmodels.org/dev/user-guide.html#regression-and-linear-models) Regression and Linear Models - [Linear Regression](https://www.statsmodels.org/dev/regression.html) - [Generalized Linear Models](https://www.statsmodels.org/dev/glm.html) - [Generalized Estimating Equations](https://www.statsmodels.org/dev/gee.html) - [Generalized Additive Models (GAM)](https://www.statsmodels.org/dev/gam.html) - [Robust Linear Models](https://www.statsmodels.org/dev/rlm.html) - [Linear Mixed Effects Models](https://www.statsmodels.org/dev/mixed_linear.html) - [Regression with Discrete Dependent Variable](https://www.statsmodels.org/dev/discretemod.html) Regression with Discrete Dependent Variable - [Module Reference](https://www.statsmodels.org/dev/discretemod.html#module-statsmodels.discrete.discrete_model) Module Reference - [statsmodels. discrete. discrete\_ model. Logit](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.Logit.html) - [statsmodels. discrete. discrete\_ model. Probit](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.Probit.html) - [statsmodels. discrete. discrete\_ model. MNLogit](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.MNLogit.html) - [statsmodels. discrete. discrete\_ model. Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.Poisson.html) - [statsmodels. discrete. discrete\_ model. Negative Binomial](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.NegativeBinomial.html) - [statsmodels. discrete. discrete\_ model. Negative Binomial P](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.NegativeBinomialP.html) - [statsmodels. discrete. discrete\_ model. Generalized Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.GeneralizedPoisson.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html) statsmodels. discrete. count\_ model. Zero Inflated Poisson - [C statsmodels. discrete. count\_ model. Zero Inflated Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson) statsmodels. discrete. count\_ model. Zero Inflated Poisson - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. cdf](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.cdf.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. cov\_ params\_ func\_ l1](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.cov_params_func_l1.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. fit](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.fit.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. fit\_ regularized](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.fit_regularized.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. from\_ formula](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.from_formula.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. get\_ distribution](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.get_distribution.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. hessian](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.hessian.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. information](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.information.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. initialize](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.initialize.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. loglike](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.loglike.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. loglikeobs](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.loglikeobs.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. pdf](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.pdf.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. predict](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.predict.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. score](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.score.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. score\_ obs](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.score_obs.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. endog\_ names](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.endog_names.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. exog\_ names](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.exog_names.html) - statsmodels. discrete. count\_ model. Zero Inflated Poisson [statsmodels. discrete. count\_ model. Zero Inflated Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html) Contents - [C statsmodels. discrete. count\_ model. Zero Inflated Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson) - [Parameters](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson-parameters) - [Attributes](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson-attributes) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. cdf](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.cdf.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. cov\_ params\_ func\_ l1](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.cov_params_func_l1.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. fit](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.fit.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. fit\_ regularized](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.fit_regularized.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. from\_ formula](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.from_formula.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. get\_ distribution](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.get_distribution.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. hessian](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.hessian.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. information](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.information.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. initialize](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.initialize.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. loglike](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.loglike.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. loglikeobs](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.loglikeobs.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. pdf](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.pdf.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. predict](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.predict.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. score](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.score.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. score\_ obs](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.score_obs.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. endog\_ names](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.endog_names.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson. exog\_ names](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.exog_names.html) - [statsmodels. discrete. count\_ model. Zero Inflated Negative Binomial P](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedNegativeBinomialP.html) - [statsmodels. discrete. count\_ model. Zero Inflated Generalized Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedGeneralizedPoisson.html) - [statsmodels. discrete. truncated\_ model. Hurdle Count Model](https://www.statsmodels.org/dev/generated/statsmodels.discrete.truncated_model.HurdleCountModel.html) - [statsmodels. discrete. truncated\_ model. Truncated LFNegative Binomial P](https://www.statsmodels.org/dev/generated/statsmodels.discrete.truncated_model.TruncatedLFNegativeBinomialP.html) - [statsmodels. discrete. truncated\_ model. Truncated LFPoisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.truncated_model.TruncatedLFPoisson.html) - [statsmodels. discrete. conditional\_ models. Conditional Logit](https://www.statsmodels.org/dev/generated/statsmodels.discrete.conditional_models.ConditionalLogit.html) - [statsmodels. discrete. conditional\_ models. Conditional MNLogit](https://www.statsmodels.org/dev/generated/statsmodels.discrete.conditional_models.ConditionalMNLogit.html) - [statsmodels. discrete. conditional\_ models. Conditional Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.conditional_models.ConditionalPoisson.html) - [statsmodels. miscmodels. ordinal\_ model. Ordered Model](https://www.statsmodels.org/dev/generated/statsmodels.miscmodels.ordinal_model.OrderedModel.html) - [statsmodels. discrete. discrete\_ model. Logit Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.LogitResults.html) - [statsmodels. discrete. discrete\_ model. Probit Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.ProbitResults.html) - [statsmodels. discrete. discrete\_ model. Count Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.CountResults.html) - [statsmodels. discrete. discrete\_ model. Multinomial Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.MultinomialResults.html) - [statsmodels. discrete. discrete\_ model. Negative Binomial Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.NegativeBinomialResults.html) - [statsmodels. discrete. discrete\_ model. Generalized Poisson Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.GeneralizedPoissonResults.html) - [statsmodels. discrete. count\_ model. Zero Inflated Poisson Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoissonResults.html) - [statsmodels. discrete. count\_ model. Zero Inflated Negative Binomial Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedNegativeBinomialResults.html) - [statsmodels. discrete. count\_ model. Zero Inflated Generalized Poisson Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedGeneralizedPoissonResults.html) - [statsmodels. discrete. truncated\_ model. Hurdle Count Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.truncated_model.HurdleCountResults.html) - [statsmodels. discrete. truncated\_ model. Truncated LFPoisson Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.truncated_model.TruncatedLFPoissonResults.html) - [statsmodels. discrete. truncated\_ model. Truncated Negative Binomial Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.truncated_model.TruncatedNegativeBinomialResults.html) - [statsmodels. discrete. conditional\_ models. Conditional Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.conditional_models.ConditionalResults.html) - [statsmodels. miscmodels. ordinal\_ model. Ordered Results](https://www.statsmodels.org/dev/generated/statsmodels.miscmodels.ordinal_model.OrderedResults.html) - [statsmodels. discrete. discrete\_ model. Discrete Model](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.DiscreteModel.html) - [statsmodels. discrete. discrete\_ model. Discrete Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.DiscreteResults.html) - [statsmodels. discrete. discrete\_ model. Binary Model](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.BinaryModel.html) - [statsmodels. discrete. discrete\_ model. Binary Results](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.BinaryResults.html) - [statsmodels. discrete. discrete\_ model. Count Model](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.CountModel.html) - [statsmodels. discrete. discrete\_ model. Multinomial Model](https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.MultinomialModel.html) - [statsmodels. discrete. count\_ model. Generic Zero Inflated](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.GenericZeroInflated.html) - [Generalized Linear Mixed Effects Models](https://www.statsmodels.org/dev/mixed_glm.html) - [ANOVA](https://www.statsmodels.org/dev/anova.html) - [Other Models othermod](https://www.statsmodels.org/dev/other_models.html) - [Time Series Analysis](https://www.statsmodels.org/dev/user-guide.html#time-series-analysis) - [Other Models](https://www.statsmodels.org/dev/user-guide.html#other-models) - [Statistics and Tools](https://www.statsmodels.org/dev/user-guide.html#statistics-and-tools) - [Data Sets](https://www.statsmodels.org/dev/user-guide.html#data-sets) - [Sandbox](https://www.statsmodels.org/dev/user-guide.html#sandbox) - [Examples](https://www.statsmodels.org/dev/examples/index.html) - [API Reference](https://www.statsmodels.org/dev/api.html) - [About statsmodels](https://www.statsmodels.org/dev/about.html) - [Developer Page](https://www.statsmodels.org/dev/dev/index.html) - [Release Notes](https://www.statsmodels.org/dev/release/index.html) Contents - [C statsmodels. discrete. count\_ model. Zero Inflated Poisson](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson) - [Parameters](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson-parameters) - [Attributes](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson-attributes) # statsmodels.discrete.count\_model.ZeroInflatedPoisson[¶](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels-discrete-count-model-zeroinflatedpoisson "Link to this heading") *class* statsmodels.discrete.count\_model.ZeroInflatedPoisson(*[endog](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.endog (Python parameter)")*, *[exog](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.exog (Python parameter)")*, *[exog\_infl](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.exog_infl (Python parameter)")\=`None`*, *[offset](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.offset (Python parameter)")\=`None`*, *[exposure](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.exposure (Python parameter)")\=`None`*, *[inflation](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.inflation (Python parameter)")\=`'logit'`*, *[missing](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.missing (Python parameter)")\=`'none'`*, *\*\*[kwargs](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "statsmodels.discrete.count_model.ZeroInflatedPoisson.__init__.kwargs (Python parameter)")*)[\[source\]](https://www.statsmodels.org/dev/_modules/statsmodels/discrete/count_model.html#ZeroInflatedPoisson)[¶](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson "Link to this definition") Poisson Zero Inflated Model Parameters:[¶](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson-parameters "Permalink to this headline") **endog**[array\_like](https://numpy.org/doc/stable/glossary.html#term-array_like "(in NumPy v2.4)") A 1-d endogenous response variable. The dependent variable. **exog**[array\_like](https://numpy.org/doc/stable/glossary.html#term-array_like "(in NumPy v2.4)") A nobs x k array where nobs is the number of observations and k is the number of regressors. An intercept is not included by default and should be added by the user. See `statsmodels.tools.add_constant`. **exog\_infl**[array\_like](https://numpy.org/doc/stable/glossary.html#term-array_like "(in NumPy v2.4)") or [`None`](https://docs.python.org/3/library/constants.html#None "(in Python v3.14)") Explanatory variables for the binary inflation model, i.e. for mixing probability model. If None, then a constant is used. **offset**[array\_like](https://numpy.org/doc/stable/glossary.html#term-array_like "(in NumPy v2.4)") Offset is added to the linear prediction with coefficient equal to 1. **exposure**[array\_like](https://numpy.org/doc/stable/glossary.html#term-array_like "(in NumPy v2.4)") Log(exposure) is added to the linear prediction with coefficient equal to 1. **inflation**{‘logit’, ‘probit’} The model for the zero inflation, either Logit (default) or Probit **missing**[`str`](https://docs.python.org/3/library/stdtypes.html#str "(in Python v3.14)") Available options are ‘none’, ‘drop’, and ‘raise’. If ‘none’, no nan checking is done. If ‘drop’, any observations with nans are dropped. If ‘raise’, an error is raised. Default is ‘none’. Attributes:[¶](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html#statsmodels.discrete.count_model.ZeroInflatedPoisson-attributes "Permalink to this headline") **endog**[`ndarray`](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html#numpy.ndarray "(in NumPy v2.4)") A reference to the endogenous response variable **exog**[`ndarray`](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html#numpy.ndarray "(in NumPy v2.4)") A reference to the exogenous design. **exog\_infl**[`ndarray`](https://numpy.org/doc/stable/reference/generated/numpy.ndarray.html#numpy.ndarray "(in NumPy v2.4)") A reference to the zero-inflated exogenous design. Methods | | | |---|---| | [`cdf`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.cdf.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.cdf "statsmodels.discrete.count_model.ZeroInflatedPoisson.cdf (Python method) — The cumulative distribution function of the model.")(X) | The cumulative distribution function of the model. | | [`cov_params_func_l1`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.cov_params_func_l1.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.cov_params_func_l1 "statsmodels.discrete.count_model.ZeroInflatedPoisson.cov_params_func_l1 (Python method) — Computes cov_params on a reduced parameter space corresponding to the nonzero parameters resulting from the l1 regularized fit.")(likelihood\_model, xopt, ...) | Computes cov\_params on a reduced parameter space corresponding to the nonzero parameters resulting from the l1 regularized fit. | | [`fit`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.fit.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.fit "statsmodels.discrete.count_model.ZeroInflatedPoisson.fit (Python method) — Fit the model using maximum likelihood.")(\[start\_params, method, maxiter, ...\]) | Fit the model using maximum likelihood. | | [`fit_regularized`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.fit_regularized.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.fit_regularized "statsmodels.discrete.count_model.ZeroInflatedPoisson.fit_regularized (Python method) — Fit the model using a regularized maximum likelihood.")(\[start\_params, method, ...\]) | Fit the model using a regularized maximum likelihood. | | [`from_formula`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.from_formula.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.from_formula "statsmodels.discrete.count_model.ZeroInflatedPoisson.from_formula (Python method) — Create a Model from a formula and dataframe.")(formula, data\[, subset, drop\_cols\]) | Create a Model from a formula and dataframe. | | [`get_distribution`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.get_distribution.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.get_distribution "statsmodels.discrete.count_model.ZeroInflatedPoisson.get_distribution (Python method) — Get frozen instance of distribution based on predicted parameters.")(params\[, exog, exog\_infl, ...\]) | Get frozen instance of distribution based on predicted parameters. | | [`hessian`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.hessian.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.hessian "statsmodels.discrete.count_model.ZeroInflatedPoisson.hessian (Python method) — Generic Zero Inflated model Hessian matrix of the loglikelihood")(params) | Generic Zero Inflated model Hessian matrix of the loglikelihood | | [`information`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.information.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.information "statsmodels.discrete.count_model.ZeroInflatedPoisson.information (Python method) — Fisher information matrix of model.")(params) | Fisher information matrix of model. | | [`initialize`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.initialize.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.initialize "statsmodels.discrete.count_model.ZeroInflatedPoisson.initialize (Python method) — Initialize is called by statsmodels.model.LikelihoodModel.__init__ and should contain any preprocessing that needs to be done for a model.")() | Initialize is called by statsmodels.model.LikelihoodModel.\_\_init\_\_ and should contain any preprocessing that needs to be done for a model. | | [`loglike`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.loglike.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.loglike "statsmodels.discrete.count_model.ZeroInflatedPoisson.loglike (Python method) — Loglikelihood of Generic Zero Inflated model.")(params) | Loglikelihood of Generic Zero Inflated model. | | [`loglikeobs`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.loglikeobs.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.loglikeobs "statsmodels.discrete.count_model.ZeroInflatedPoisson.loglikeobs (Python method) — Loglikelihood for observations of Generic Zero Inflated model.")(params) | Loglikelihood for observations of Generic Zero Inflated model. | | [`pdf`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.pdf.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.pdf "statsmodels.discrete.count_model.ZeroInflatedPoisson.pdf (Python method) — The probability density (mass) function of the model.")(X) | The probability density (mass) function of the model. | | [`predict`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.predict.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.predict "statsmodels.discrete.count_model.ZeroInflatedPoisson.predict (Python method) — Predict expected response or other statistic given exogenous variables.")(params\[, exog, exog\_infl, exposure, ...\]) | Predict expected response or other statistic given exogenous variables. | | [`score`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.score.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.score "statsmodels.discrete.count_model.ZeroInflatedPoisson.score (Python method) — Score vector of model.")(params) | Score vector of model. | | [`score_obs`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.score_obs.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.score_obs "statsmodels.discrete.count_model.ZeroInflatedPoisson.score_obs (Python method) — Generic Zero Inflated model score (gradient) vector of the log-likelihood")(params) | Generic Zero Inflated model score (gradient) vector of the log-likelihood | Properties | | | |---|---| | [`endog_names`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.endog_names.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.endog_names "statsmodels.discrete.count_model.ZeroInflatedPoisson.endog_names (Python property) — Names of endogenous variables.") | Names of endogenous variables. | | [`exog_names`](https://www.statsmodels.org/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.exog_names.html#statsmodels.discrete.count_model.ZeroInflatedPoisson.exog_names "statsmodels.discrete.count_model.ZeroInflatedPoisson.exog_names (Python property) — Names of exogenous variables.") | Names of exogenous variables. | Apr 16, 2026 © Copyright 2009-2025, Josef Perktold, Skipper Seabold, Jonathan Taylor, statsmodels-developers. Created using [Sphinx](https://www.sphinx-doc.org/) 7.3.7. and [Sphinx-Immaterial](https://github.com/jbms/sphinx-immaterial/)
Readable Markdownnull
Shard140 (laksa)
Root Hash260885690736431140
Unparsed URLorg,statsmodels!www,/dev/generated/statsmodels.discrete.count_model.ZeroInflatedPoisson.html s443