Post Reply 
help on probabilty - binomial
11-20-2017, 09:46 PM
Post: #1
help on probabilty - binomial
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.

primer
Find all posts by this user
Quote this message in a reply
11-20-2017, 10:07 PM (This post was last modified: 11-20-2017 10:19 PM by salvomic.)
Post: #2
RE: help on probabilty - binomial
(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...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
11-20-2017, 10:35 PM
Post: #3
RE: help on probabilty - binomial
(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.

primer
Find all posts by this user
Quote this message in a reply
11-20-2017, 10:42 PM (This post was last modified: 11-20-2017 10:43 PM by salvomic.)
Post: #4
RE: help on probabilty - binomial
(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...

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
11-20-2017, 11:26 PM
Post: #5
RE: help on probabilty - binomial
Yes, I'm thinking exactly the same.

primer
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: