Parameters for negbinomial Function?
07-16-2016, 10:02 PM
Post: #1
 mark4flies Member Posts: 115 Joined: Jan 2015
Parameters for negbinomial Function?
I do not understand the description of the negbinomial function in the Help system. My understanding of this probability mass function is that it provides the probability of r successes out of x trials when the probability of a success is equal to p. The HP Prime computation is P(X=x) = COMB(x-1,r-1)*(p^r)*(1-p)^(x-r). I defined a user function this way and confirmed its results.

I want to use the built-in function negbinomial(n,k,x) but I do not understand the parameters. How do n, k, and x here relate to the x, r, and p above?

Thanks!
07-17-2016, 06:49 AM
Post: #2
 parisse Senior Member Posts: 1,322 Joined: Dec 2013
RE: Parameters for negbinomial Function?
Quote:In probability theory and statistics, the negative binomial distribution is a discrete probability distribution of the number of successes in a sequence of independent and identically distributed Bernoulli trials before a specified (non-random) number of failures (denoted r) occurs.
https://en.wikipedia.org/wiki/Negative_b...stribution
 « Next Oldest | Next Newest »

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