HP Forums
help on probabilty - binomial - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: help on probabilty - binomial (/thread-9540.html)



help on probabilty - binomial - primer - 11-20-2017 09:46 PM

Dears,
I have an urgent request,
my daughter uses hpprime, student are studying probability at the moment, I'm really not an expert on that point myself, unfortunately.

She could find how to compute P(x=k) by using built-inbinomial(n,p,k)
But we could not find how to compute P(x<k) ?
anyone knows ?

I can't belive there is such option in hp prime.
cheap casio calc, offers function "Bcd" for that, what's the hp equivalent ?

Thank you.


RE: help on probabilty - binomial - salvomic - 11-20-2017 10:07 PM

(11-20-2017 09:46 PM)primer Wrote:  Dears,
I have an urgent request,
my daughter uses hpprime, student are studying probability at the moment, I'm really not an expert on that point myself, unfortunately.

She could find how to compute P(x=k) by using built-inbinomial(n,p,k)
But we could not find how to compute P(x<k) ?
anyone knows ?

I can't belive there is such option in hp prime.
cheap casio calc, offers function "Bcd" for that, what's the hp equivalent ?

Thank you.

I think you should use BINOMIAL_CDF(n, p,k,[k2]) that "returns the probability of k or fewer successes out of n trials..." optional k2 returns the probability for the two k-values, that is the probability of between k and k2...

Salvo

EDIT: most distribution in the Prime and CAS distinguish between Density and Cumulative values (and also Inverse).

i.e.: 100 trials, prob. ½ (50%) k=50
BINOMIAL(100,1/2,50) = 7.958E-2 (only upon 50)
BINOMIAL_CDF(100,1/2,50) = 0.539794 (cumulative, from 0 to 50)
BINOMIAL_CDF(100,1/2,50)-BINOMIAL(100,1/2,50) = 0.4602053... that the probability to have 49 successes on 100 trials, or BINOMIAL_CDF(100,1/2,49)
If I well understand your needs...


RE: help on probabilty - binomial - primer - 11-20-2017 10:35 PM

(11-20-2017 10:07 PM)salvomic Wrote:  I think you should use BINOMIAL_CDF(n, p,k,[k2]) that "returns the probability of k or fewer successes out of n trials..."
Yes, thank you.... it was helpfull, I was totally lost in Inference app, it was a nightmare !
Not so easy to follows these probability stuffs.


RE: help on probabilty - binomial - salvomic - 11-20-2017 10:42 PM

(11-20-2017 10:35 PM)primer Wrote:  
(11-20-2017 10:07 PM)salvomic Wrote:  I think you should use BINOMIAL_CDF(n, p,k,[k2]) that "returns the probability of k or fewer successes out of n trials..."
Yes, thank you.... it was helpfull, I was totally lost in Inference app, it was a nightmare !
Not so easy to follows these probability stuffs.

well Smile
I think we need not only Inference app, but also a Probability app with some facilities for the implemented distributions and other related things (random, permutations...), a part of the menu Math->Probability...


RE: help on probabilty - binomial - primer - 11-20-2017 11:26 PM

Yes, I'm thinking exactly the same.