Question: Problem # 3 Write a Python function named CentralLimitDemoPoisson that takes as input arguments: n - the number of samples to be taken from an

Problem #3
Write a Python function named CentralLimitDemoPoisson that takes as input arguments:
n- the number of samples to be taken from an exponential distribution,
sample_sizes - a 16 numpy array holding the size of each of the n samples for that value of n different size of each sample for a fixed,
mu - the mean (and variance) of the Poisson random variable.
And returns as output:
fig - a figure displaying six histograms, one for each value of sample_size specified for the given value of n,
sample_means - a numpy array of size 1x holding the n sample_means,
sample_means_stdevs - a numpy array of size 16 holding the standard deviation of the list of sample_means.
Test your function by setting sample_sizes =np. array ([4,50,100,500,1000,2000]) and running the command fig7, means 7, devs 7=
CentralimitDemoPoisson(1000, sample_sizes, 100).
 Problem #3 Write a Python function named CentralLimitDemoPoisson that takes as

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!