Effacer les filtres
Effacer les filtres

Obviously wrong answers for beta cdf

1 vue (au cours des 30 derniers jours)
John Hey
John Hey le 18 Août 2016
Modifié(e) : John D'Errico le 18 Août 2016
Dear All,
I am using cdf('beta',x,alp,bet) to compute the cdf of a beta distribution but when alp and bet are less than 1 (where the pdf is u-shaped) it gives obviously wrong answers. For example cdf('beta',0.5,0.0003,.2277) it gives the answer 0.9987.
I do hope you can help. Thanks.
John Hey
  2 commentaires
John D'Errico
John D'Errico le 18 Août 2016
Modifié(e) : John D'Errico le 18 Août 2016
And why do you think that is wrong? Perhaps the obviously wrong thing here is your knowledge of the expected result? That seems not unreasonable as a result. REALLY tiny values of the exponents will give nasty looking beta distributions, with a very heavy tail when only one parameter is small. So you should explain why it is that you think this result is wrong.

Connectez-vous pour commenter.

Réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by