0% found this document useful (0 votes)
83 views25 pages

Any Questions?: Eco 205: Econometrics

1. This document discusses econometrics and linear regression models. It introduces concepts like the population regression model, sample regression equation, ordinary least squares estimation, and the sampling distribution of regression coefficients. 2. It presents sample output from a linear regression using STATA to predict test scores from class size. This includes the estimated coefficients, standard errors, and other regression metrics. 3. It discusses assumptions of linear regression models like the errors having a mean of zero and being independently and identically distributed. Violations of these assumptions can impact the accuracy of the regression results.

Uploaded by

Shoaib Waqas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
83 views25 pages

Any Questions?: Eco 205: Econometrics

1. This document discusses econometrics and linear regression models. It introduces concepts like the population regression model, sample regression equation, ordinary least squares estimation, and the sampling distribution of regression coefficients. 2. It presents sample output from a linear regression using STATA to predict test scores from class size. This includes the estimated coefficients, standard errors, and other regression metrics. 3. It discusses assumptions of linear regression models like the errors having a mean of zero and being independently and identically distributed. Violations of these assumptions can impact the accuracy of the regression results.

Uploaded by

Shoaib Waqas
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 25

1

Eco 205: Econometrics


Any questions?
2
population data point

Y
X
Observed Value
of Y for X
3
X
3
Population Linear Regression Model

Y
i

0
+
1
X
i
+ u
i

u
3

0
X
11
Y
11

u
11

pop slope
1
3
chosen in sample
not chosen in sample

estimated error for X
3
(residual)

Y
X
Y
3


Y
i



0
+


1
X
i
X
3
estimated slope =

estimated
intercept =
Sample Regression Equation

u
3


u
3



0



1

pop slope
1

0


Y
3
4
The OLS estimator solves



0
,


1
min
[Y
i
(


0
i1
n

+


1
X
i
)]
2
5
6
California Test Score/Class Size data
Interpretations
7
Predicted values & residuals:
8
OLS regression: STATA output
regress testscr str, robust

Regression with robust standard errors Number of obs = 420
F( 1, 418) = 19.26
Prob > F = 0.0000
R-squared = 0.0512
Root MSE = 18.581

-------------------------------------------------------------------------
| Robust
testscr | Coef. Std. Err. t P>|t| [95% Conf. Interval]
--------+----------------------------------------------------------------
str | -2.279808 .5194892 -4.39 0.000 -3.300945 -1.258671
_cons | 698.933 10.36436 67.44 0.000 678.5602 719.3057
-------------------------------------------------------------------------



9
Measures of Fit
10
The Standard Error of the
Regression (SER)
11
Root Mean Squared Error (RMSE)
12
R
2
and SER Example
13
The Least Squares Assumptions
14
LSA #1: E(u|X = x) = 0
15
LSA #2: (X
i
,Y
i
), i = 1,,n are i.i.d.
LSA #3: E(X
4
) < and E(Y
4
) <
16
OLS can be sensitive to an outlier
17
Sampling Distribution of
1

b
18
Some Preliminary Algebra
19



1

1

( X
i
X )
i1
n

( u
i
u )
( X
i
X )
2
i1
n

( X
i
X )
i1
n

u
i
( X
i
X )
2
i1
n

20
Now we can calculate E( ) and var( )
1


E[


1
] E[
1
] + E
(X
i
X )
i1
n

u
i
( X
i
X )
2
i1
n














E[


1
]
1
+ E
( X
i
X ) E[
i1
n

u
i
X
i
]
( X
i
X )
2
i1
n













?
21
Next calculate var( )
1

22
23
The larger the variance of X, the
smaller the variance of
1

There are the same number of black and blue dots using which
would you get a more accurate regression line?
24
What is the sampling distribution of ?
1

25
We are now ready to turn to hypothesis tests & confidence
intervals

You might also like