Sampling Distribution of OLS Estimator of A Monte Carlo Simulation
Sampling Distribution of OLS Estimator of A Monte Carlo Simulation
Sampling Distribution of OLS Estimator of A Monte Carlo Simulation
Abbott
Addendum to NOTE 4
Yi = β1 + β 2 X i + u i = 90 + 0.90 X i + u i (1)
where
• Set N = 40 observations.
• For each of these 1,000 independent random samples, compute the values of the
OLS coefficient estimators:
∑ xy
βˆ 2 = i i 2 i (2)
∑i x i
βˆ = Y − βˆ X
1 2 (3)
where x i ≡ X i − X , y i ≡ Yi − Y , X = ∑ i X i N , and Y = ∑ i Yi N .
• Tabulate the 1,000 estimates of β2, and the 1,000 estimates of β1.
∑ xy
• Comparison of Sampling Distributions of βˆ 2 = i i 2 i :
∑i x i
.7
.6
.5
Fraction
.4
.3
.2
.1
0
.7 .75 .8 .85 .9 .95 1 1.05 1.1
b2ols
Model 1: E(u) = 0, Var(u) = 900, SE(u) = 30, N = 40
.15
.1
Fraction
.05
0
.7 .75 .8 .85 .9 .95 1 1.05 1.1
b2ols
Model 2: E(u) = 0, Var(u) = 32,400, SE(u) = 180, N = 40