Extracting confidence interval data from fitdist()
12 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Russell Perkins
le 7 Déc 2017
Commenté : Star Strider
le 10 Oct 2022
I'm using fitdist() to fit a poisson distribution, which works great, but I'm having trouble locating the confidence interval within the created PoissonDistribution object. The confidence interval gets returned if you enter the distribution object in the command line, but as far as I can tell doesn't exist as a substructure within the distribution. I'm not sure how to extract the confidence interval if I don't know where it is stored. Thanks!
pd = fitdist(a','poisson');
pd =
Poisson distribution
lambda = 0.0166667 [0.000421963, 0.0928607]
pd.lambda
ans =
0.0167
0 commentaires
Réponse acceptée
Star Strider
le 7 Déc 2017
Use the paramci function:
pd_ci = paramci(pd)
6 commentaires
Chiadika Eleh
le 10 Oct 2022
not for makedist, it gives the error regarding Dot indexing is not supported for variables of this type.
Plus de réponses (0)
Voir également
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!