Question

Let Xi be iid with E(Xi) = 0 and Var(Xi) = 1 and let Sn =...

Let Xi be iid with E(Xi) = 0 and Var(Xi) = 1 and let Sn = X1 + … + Xn. Consider the limiting behaviors of Sn/n and of Sn /n. Does either of these correspond to the LLN? to the CLT? Demonstrate using UNIF(–3, 3).

0 0
Add a comment Improve this question Transcribed image text
Answer #1

# Weak law of large number Basically, weak law of large number is nothing but sample mean equate to population mean And Sn=x1## central limit theorem n=1000 mu=0 S=1 xbar=c() Z=C() for(i in 1:n) xbar[i]=mean(rnorm(n,mu,s)) z(i)=(xbar(i)-mu)/(s/sqrt(n## Weak law of large number using uniform (-3,3) n=1000 xbar=c() for(i in 1:n) xbar[i]=mean(runif(i,-3,3)) xbar plot(xbar) 1.## central limit theorem n=1000 a=-3 b=3 mu=(a+b)/2 var=((b-a)^2)/12 s=sqrt(var) xbar=c() Z=c() for(i in 1:n) xbar[i]=mean(ruhere, I write code in R because better visualization please understand all codes and see corresponding graphs

Thank you

Add a comment
Know the answer?
Add Answer to:
Let Xi be iid with E(Xi) = 0 and Var(Xi) = 1 and let Sn =...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT