Question: Please solve by PYTHON ( Question 1 ) : In the first problem, we would like to demonstrate the law of large number. i .

Please solve by PYTHON (Question1): In the first problem, we would like to demonstrate the law of large number.
i. Generate n=10 independent normal random variables x1,x2,cdots,xn with mean 1 and
variance 2(e.g., use the numpy package). Calculate the sample mean widehat()b=1ni=1nxi.
ii. Repeat step i. for b=1,2,cdots,500, store those widehat()b. After that, please claculate the sample
2.5% and 97.5% sample quantile of widehat()b,b=1,2,cdots,500.
iii. Do step 1 and 2 for n=40,90,160,250,360 and plot the quantiles. The result should LOOK LIKE the following figure:
 Please solve by PYTHON (Question1): In the first problem, we would

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!