Approximate Distribution of Y-X | P(Y-X>13) | Binomial & Normal Distributions

AI Thread Summary
The discussion centers on finding the approximate distribution of the difference between two independent binomial random variables, X and Y, where X follows B(20,0.4) and Y follows B(30,0.6). The approximate distribution of Y-X is determined to be normal, specifically N(10,12), leading to the calculation of P(Y-X>13) as approximately 0.193. However, it is noted that applying a continuity correction improves accuracy, yielding a more precise probability of approximately 0.156. Additionally, a more straightforward approach is suggested by recognizing that 20-X can be transformed into another binomial distribution, facilitating the calculation.
drawar
Messages
130
Reaction score
0

Homework Statement


The random variable X has the binomial distribution B(20,0.4), and the independent random variable Y has the binomial distribution B(30,0.6). State the approximate distribution of Y-X, and hence find an approximate value for P(Y-X>13)


Homework Equations





The Attempt at a Solution


X~B(20,0.4)~N(8,4.8)
Y~B(30,0.6)~(18,7.2)
Y-X~N(10,12)
P(Y-X>13)=P(Z>(13-10)/sqrt(12))=P(Z>0.866)=0.193 (This is the correct answer)

My question is why don't we use continuity correction in this case?
 
Physics news on Phys.org
drawar said:

Homework Statement


The random variable X has the binomial distribution B(20,0.4), and the independent random variable Y has the binomial distribution B(30,0.6). State the approximate distribution of Y-X, and hence find an approximate value for P(Y-X>13)


Homework Equations





The Attempt at a Solution


X~B(20,0.4)~N(8,4.8)
Y~B(30,0.6)~(18,7.2)
Y-X~N(10,12)
P(Y-X>13)=P(Z>(13-10)/sqrt(12))=P(Z>0.866)=0.193 (This is the correct answer)

My question is why don't we use continuity correction in this case?

You should use the continuity correction; it improves the accuracy a lot. The exact answer, using the actual binomial distributions, is 0.1560906047 ~ 0.156. The normal approximation (without the continuity correction) is 0.1932381154 ~ 0.193 (as you said), while the normal approximation with the continuity correction is 0.1561607109 ~ 0.156.

BTW: the easiest way to do this question is to recognize that 20-X ~ B(20,0.6), so Y-X+20~B(30,0.6) + B(20,0.6) = B(50,0.6), giving {Y-X > 13} = {Y + 20 -X > 33} = {B(50,0.6) > 33}.

RGV
 
20-X ~ B(20,0.6)
Can you explain the reasoning to this please?
 
drawar said:
Can you explain the reasoning to this please?

If X has the distribution B(N,p), it counts the number of successes in n trials, with success probability p per trial. That means that n-X is the number of failures in n trials, with failure probability (1-p) per trial, so it is binomial with parameters n and 1-p.

RGV
 
Got it now, thank you very much!
 
I tried to combine those 2 formulas but it didn't work. I tried using another case where there are 2 red balls and 2 blue balls only so when combining the formula I got ##\frac{(4-1)!}{2!2!}=\frac{3}{2}## which does not make sense. Is there any formula to calculate cyclic permutation of identical objects or I have to do it by listing all the possibilities? Thanks
Since ##px^9+q## is the factor, then ##x^9=\frac{-q}{p}## will be one of the roots. Let ##f(x)=27x^{18}+bx^9+70##, then: $$27\left(\frac{-q}{p}\right)^2+b\left(\frac{-q}{p}\right)+70=0$$ $$b=27 \frac{q}{p}+70 \frac{p}{q}$$ $$b=\frac{27q^2+70p^2}{pq}$$ From this expression, it looks like there is no greatest value of ##b## because increasing the value of ##p## and ##q## will also increase the value of ##b##. How to find the greatest value of ##b##? Thanks
Back
Top