Question: Please use the Numpy package to solve and the language is Python. Thank you. Problem 1 (4 points) The code below generates a random sample
Please use the Numpy package to solve and the language is Python. Thank you.
Problem 1 (4 points) The code below generates a random sample from a Poisson distribution. Run the cell to create sample X. In [ ]: import numpy as np from scipy import stats np. random. seed (13) X = stats.poisson(7). rvs (925) Write code to produce a 95% bootstrap confidence interval for the mean of that sample. Report your result as a print statement with two after-decimal digit accuracy. Describe your procedure (in English in the Markdown box below) and justify all the choices you make in your code. In [ ]: # YOUR CODE HERE raise NotImplementedError() YOUR ANSWER HERE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
