13.07.2015 Views

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

Mathematical Methods for Physics and Engineering - Matematica.NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

30.8 IMPORTANT DISCRETE DISTRIBUTIONS2, is r+x−1 C x . There<strong>for</strong>e, the total probability of obtaining x failures be<strong>for</strong>e therth success isf(x) =Pr(X = x) = r+x−1 C x p r q x ,which is called the negative binomial distribution (see the related discussion onp. 1137). It is straight<strong>for</strong>ward to show that the MGF of this distribution is( ) p rM(t) =1 − qe t ,<strong>and</strong> that its mean <strong>and</strong> variance are given byE[X] = rq <strong>and</strong> V [X] = rqpp 2 .30.8.3 The hypergeometric distributionIn subsection 30.8.1 we saw that the probability of obtaining x successes in nindependent trials was given by the binomial distribution. Suppose that these n‘trials’ actually consist of drawing at r<strong>and</strong>om n balls, from a set of N such ballsof which M are red <strong>and</strong> the rest white. Let us consider the r<strong>and</strong>om variableX = number of red balls drawn.On the one h<strong>and</strong>, if the balls are drawn with replacement then the trials areindependent <strong>and</strong> the probability of drawing a red ball is p = M/N each time.There<strong>for</strong>e, the probability of drawing x red balls in n trials is given by thebinomial distribution asn!Pr(X = x) =x!(n − x)! px (1 − p) n−x .On the other h<strong>and</strong>, if the balls are drawn without replacement the trials are notindependent <strong>and</strong> the probability of drawing a red ball depends on how many redballs have already been drawn. We can, however, still derive a general <strong>for</strong>mula<strong>for</strong> the probability of drawing x red balls in n trials, as follows.The number of ways of drawing x red balls from M is M C x , <strong>and</strong> the numberof ways of drawing n − x white balls from N − M is N−M C n−x . There<strong>for</strong>e, thetotal number of ways to obtain x red balls in n trials is M C N−M x C n−x . However,the total number of ways of drawing n objects from N is simply N C n . Hence theprobability of obtaining x red balls in n trials isM C N−M x C n−xPr(X = x) =NC nM!(N − M)!=x!(M − x)! (n − x)!(N − M − n + x)!=n!(N − n)!, (30.97)N!(Np)!(Nq)! n!(N − n)!x!(Np − x)!(n − x)!(Nq − n + x)! N! , (30.98)1173

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!