Using Python 2.x, generate random samples from the Poisson distribution with = 4
ID: 3771063 • Letter: U
Question
Using Python 2.x, generate random samples from the Poisson distribution with = 4, using 20, 50, 100, 200, 500, 1000, 2000 data points. For each of the sample, estimate the mean and standard deviation. Then plot the estimated values as functions of the sample size.
2) For each of the sample generated, estimate the 95% confidence interval of the estimated mean. Plot of the upper and lower bound of the confidence intervals as function of the sample size. How often does the true parameter value fall outside of the confidence intervals?