Fitting negative binomial in python

前端 未结 3 1204
北海茫月
北海茫月 2021-02-20 14:34

In scipy there is no support for fitting a negative binomial distribution using data (maybe due to the fact that the negative binomial in scipy is only discrete).

For a

3条回答
  •  别那么骄傲
    2021-02-20 15:07

    Statsmodels has discrete.discrete_model.NegativeBinomial.fit(), see here: https://www.statsmodels.org/dev/generated/statsmodels.discrete.discrete_model.NegativeBinomial.fit.html#statsmodels.discrete.discrete_model.NegativeBinomial.fit

提交回复
热议问题