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 #
Write a Python function named CentralLimitDemoPoisson that takes as input arguments:
the number of samples to be taken from an exponential distribution,
samplesizes a numpy array holding the size of each of the samples for that value of 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 samplesize specified for the given value of
samplemeans a numpy array of size holding the samplemeans,
samplemeansstdevs a numpy array of size holding the standard deviation of the list of samplemeans.
Test your function by setting samplesizes array and running the command fig means devs
CentralimitDemoPoisson samplesizes,
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
