Question: Poisson approximation of the binomial: Suppose X Binom(n, p). Write an R function compare(n,p,k) that computes (exactly) P(X = k) P(Y = k),
Poisson approximation of the binomial: Suppose X ∼ Binom(n, p). Write an R function compare(n,p,k) that computes (exactly) P(X = k) − P(Y = k), where Y ∼ Pois(np). Try your function on numbers where you expect the Poisson probability to be a good approximation of the binomial. Also try it on numbers where you expect the approximation to be poor.
Step by Step Solution
★★★★★
3.30 Rating (174 Votes )
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Solution The first case is where we expect the approximation to be good ie close to the binomial i... View full answer
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
