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
Solution The first case is where we expect the approximation to be good ie close to the binomial i... View full answer
Get step-by-step solutions from verified subject matter experts
