Statistics/Distributions/NegativeBinomial

From testwiki
Revision as of 21:51, 12 October 2007 by imported>Mike's bot account (re-categorization for Subject: pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Just as the Bernoulli and the Binomial distribution are related in counting the number of successes in 1 or more trials, the Geometric and the Negative Binomial distribution are related in the number of trials needed to get 1 or more successes.

The Negative Binomial distribution refers to the probability of the number of times needed to do something until achieving a fixed number of desired results. For example:

  • How many times will I throw a coin until it lands on heads for the 10th time?
  • How many children will I have when I get my third daughter?
  • How many cards will I have to draw from a pack until I get the second Joker?

Just like the Binomial Distribution, the Negative Binomial distribution has two controlling parameters: the probability of success p in any independent test and the desired number of successes m. If a random variable X has Negative Binomial distribution with parameters p and m, its probability mass function is:

P(X=n)=(n1m1)pm(1p)nm, for nm.

Example

A travelling salesman goes home if he has sold 3 encyclopedias that day. Some days he sells them quickly. Other days he's out till late in the evening. If on the average he sells an encyclopedia at one out of ten houses he approaches, what is the probability of returning home after having visited only 10 houses? The number of trials X is Negative Binomial distributed with parameters p=0.1 and m=3, hence:

P(X=10)=(92)0.130.97=0.017.