Post Reply 
help on probabilty - binomial
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
Post Reply 


Messages In This Thread
help on probabilty - binomial - primer - 11-20-2017, 09:46 PM
RE: help on probabilty - binomial - salvomic - 11-20-2017 10:07 PM
RE: help on probabilty - binomial - primer - 11-20-2017, 10:35 PM
RE: help on probabilty - binomial - primer - 11-20-2017, 11:26 PM



User(s) browsing this thread: 1 Guest(s)