Quantcast
Channel: Data Science, Analytics and Big Data discussions - Latest topics
Viewing all articles
Browse latest Browse all 4448

Zero Inflated Poisson / Negative Binomial Model ---- using Python (statsmodels)

$
0
0

@sunnylam_us wrote:

Hello All

I tried to run the above. It seems statsmodels in Python now support it. See the below two links:

https://www.statsmodels.org/stable/generated/statsmodels.discrete.count_model.ZeroInflatedNegativeBinomialP.html?highlight=zero%20inflated%20negative%20binomial#statsmodels.discrete.count_model.ZeroInflatedNegativeBinomialP

I still don’t quite get it. Anyone here can provide me a simplified illustration? I think I might have messed up the datatype for the endog and exog. I usually use scikit learn format.

Any help is appreciated.

Thanks,
Sunny.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4448

Trending Articles