Fitting negative binomial in python

前端 未结 3 1180
北海茫月
北海茫月 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 14:42

    I know this thread is quite old, but current readers may want to look at this repo which is made for this purpose: https://github.com/gokceneraslan/fit_nbinom

    There's also an implementation here, though part of a larger package: https://github.com/ernstlab/ChromTime/blob/master/optimize.py

提交回复
热议问题