Question
According to the Central Limit Theorem, if X1 through XN are independent and identically distributed random variables with mean M and variance S, and the
According to the Central Limit Theorem, if X1 through XN are independent and identically distributed random variables with mean M and variance S, and the random variable X=(X1+…+XN)/N is their average, then (X - M)/(S/sqrt(N)) approaches a Normal(0, 1) distribution as n goes to infinity.
1) Using Excel or MATLAB, generate 100 instances of the variable X=(X1+X2)/2, where each Xi is distributed as Bin(5,0.2) and N=2; then, create a histogram of the 100 resulting values (X-1)/(0.16/sqrt(2)), where M=1 (or n*p for the Bin(n,p) distribution) and S=0.16 (or n*p*(1-p) for the Bin(n,p) distribution).
2) Now, generate 100 instances of the variable X=(X1+…+X20)/20, where each Xi is again distributed as Bin(5,0.2) and N=20; then, create a histogram of the 100 resulting values (X-1)/(0.16/sqrt(20)).
3) Compare your histograms from steps 1 and 2; which one appears to be closer to a Normal(0,1) distribution? What would you expect to happen if you next created a histogram for 100 instances of the average X=(X1+…+X1000)/1000?
Write formulas you use in excel to generate histograms for the above problem.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
BINOMINV5 02 RAND A2 B2 2 C2 1 016 SQRT2 X1 X2 X TransformedX 2 1 15 441941738241592 1 0 05 441941738241592 1 1 1 0 1 1 1 0 2 0 1 0 0 0 0 883883476483184 0 1 05 441941738241592 2 1 15 441941738241592 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started