Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:
i can't find the error of this program ,do i need to change any thing of this?
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning Databases With PostgreSQL From Novice To Professional

Authors: Richard Stones, Neil Matthew

2nd Edition

1590594789, 978-1590594780

More Books

Students also viewed these Databases questions

Question

What is an access token?

Answered: 1 week ago