Skip to main content
Let N ∼ Poisson(λ). You flip a coin a random number of times N. Each time a head will come with probability p, independently of N. Let X be the (random!) number of heads outcomes and Y be the (also random) number of tails. Find the distribution of X and Y . Hint: Conditioning on the value of N, the number of heads is a binomial random variable. Use the total probability theorem to conclude.








ANSWER


Here by the problem, 
N \sim Poisson (\lambda) with pmf,
f_N(n)=P(N=n)=e^{-\lambda}.\frac{\lambda^n}{n!} \ ,n=0,1,2,...
Now we flip a coin a random number N where each time a head will come with probability p ( and a tail will come with probability (1-p) , independently of N.
So here we assume X be the number of heads and Y =N-X be the number of tail.
Clearly we note that, X|N=n~Binomial(n,p) with pmf,
f_X(x|N=n)=\binom{n}{x}p^x(1-p)^{n-x} \ \ ,x=0,1,...,n
and similarly, Y|N=n~Binomial(n,1-p)
So the distribution of X (unconditional) is obtained as follows where we note that,
P(X=x)=\sum_n P(\left \{X=x \right \}\cap \left \{ N=n \right \})=\sum_n P(X=x| N=n )P(N=n)
Now clearly as 0\leq x\leq n then the lower limit of n be x , not 0.
                     =\sum _{n=x}^\infty \binom{n}{x}p^x(1-p)^{n-x} .e^{-\lambda}.\frac{\lambda^n}{n!}=e^{-\lambda}\lambda^x p^x\sum _{n=x}^\infty \frac{n!}{x!(n-x)!} .\frac{[\lambda(1-p)]^{n-x}}{n!}
                    =\frac{e^{-\lambda}\lambda^x p^x}{x!}\sum _{n=x}^\infty \frac{[\lambda(1-p)]^{n-x}}{(n-x)!}
Let us assume z=n-x then z=0,1,2,.....
=\frac{e^{-\lambda}\lambda^x p^x}{x!}e^{\lambda(1-p)}=e^{-\lambda p}.\frac{(\lambda p)^x}{x!} \ \ ,x=0,1,2,....
So clearly, X\sim Poisson(\lambda p)
Similarly we can show Y\sim Poisson(\lambda (1-p)) ( As Y|N=n~Binomial(n,1-p) hence just like X it is just replaced p by 1-p)

Comments

Popular posts from this blog

Osmosis Data Sheet

Data Sheet: Activity - Osmosis Name Course Date Activity Data Code       Procedure I -Test Solution 1: Water Complete the tablesand questions below using your data and information found under the Background tab Data Table I Note: Difference in Final Volumes = Final Volume of Test Sol - Final Volume of Water Trial Starting Volume of Test Solution (L) Starting Volume of Water (L) Final Volume of Test Solution (L) Final Volume of Water (L) Difference in Final Volumes (L) 1 1.28 1.75 1.51 1.52 -0.01 2 1.28 2.00 1.64 1.64 0 Observations and Questions [1] Given that the final heights (and volumes) are the same for the water and test solution, what can you...

Pseudocode - painting a wall

My pseudocode from Module Two: Pseudocode – Painting a Wall MEASURE wall-length MEASURE wall width CALCULATE wall area DETERMINE amount of paint needed for wall-size PURCHASE desired paint and tools (brushes, rollers, pan, etc.) PREPARE work area and tools START painting wall END when painting is complete CLEAN work area and tools STORE tools and any leftover pa​‌‌‌‌‌‌‍‍‍‌‌‍‍‍‌‍‌‍‍​int
Simple Computer Science Questions Question 2 ANSWER Match the following a - 4 b - 10 c - 8 d - 6 e - 9 f - 1 g - 2 h - 7 i - 3 j - 5