histfit with negative binomial distribution

When I try to fit a negative binomial distribution to my data using
histfit(x, 1000, 'negative binomial')
I get an error of "The parameter R must be a positive finite numeric scalar". What does that mean?

Réponses (0)

Question posée :

le 8 Sep 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by