getting error Error using ==> ProbDistUnivParam.fit at 98 FREQUENCY values must be non-negative integers.
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Error using ==> ProbDistUnivParam.fit at 98
FREQUENCY values must be non-negative integers.
Try to test hypothesis Goodness of fit while trying Poisson dist and getting error Error using ==> ProbDistUnivParam.fit at 98 FREQUENCY values must be non-negative integers.
Please guide
2 commentaires
dpb
le 19 Août 2014
Well, pretty clear error message. Whatever you used for the frequency counts as the input aren't counts (or integers, anyways).
W/o seeing anything else, what else can be said?
Réponses (1)
dpb
le 20 Août 2014
obsCounts = [2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9];
...
pd = fitdist(bins','Poisson','Frequency',obsCounts');
...
obsCounts values surely don't look like integers to me...
7 commentaires
dpb
le 21 Août 2014
...this is a very complex data and a very important data set
Which still tells us precisely -- nothing useful.
Voir également
Catégories
En savoir plus sur Hypothesis Tests dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!