The OLS Model and Categorical Variables - PowerPoint PPT Presentation

1 / 39
About This Presentation
Title:

The OLS Model and Categorical Variables

Description:

Wages, education, labor market experience, gender, ... Females? ... the difference between males and females statistically significant from zero at a 5% level? ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 40
Provided by: pet5166
Category:

less

Transcript and Presenter's Notes

Title: The OLS Model and Categorical Variables


1
The OLS Model and Categorical Variables
  • ECON 222, lecture notes 2
  • Petra Todd

2
Discrete regressors, categorical variables
  • Suppose we analyze factors that determine
    workers earnings
  • Have data on
  • Wages, education, labor market experience,
    gender, union status, race/ethnicity

3
OLS estimators
  • Chooses ß coefficients to minimize the sum of
    squared residuals

4
Consider special case of regression only on a
constant term
5
(No Transcript)
6
(No Transcript)
7
(No Transcript)
8
(No Transcript)
9
Interpretation of Model Coefficients
  • Suppose model estimation yields
  • Yi30,000-5,000 femalei
  • (0.006) (0.03)
  • Where p-values are given in parentheses
  • What is the average earnings for males? Females?
  • Is the difference between males and females
    statistically significant from zero at a 5 level?

10
(No Transcript)
11
(No Transcript)
12
Matrix representation of the OLS Regression
13
(No Transcript)
14
(No Transcript)
15
(No Transcript)
16
(No Transcript)
17
(No Transcript)
18
  • If one of the columns of x is a constant term,
    get that residuals sum to zero

19
Properties of the OLS estimator for Nonstochastic
regressor case
  • Recall the definition of the expectation of a
    random variable

20
Show that the OLS estimator is unbiased
21
Variance of a random variable
22
Variance of the OLS estimator
23
(No Transcript)
24
Distribution of OLS estimator
  • Assume error terms are normally distributed
    eN(0,s2I)
  • Note that A e N(0,As2A)

25
  • Observe that the term
  • Is getting large with N (as you get more terms in
    the sum).

26
  • To do hypothesis testing, we need a statistic for
    which the variance is stable (not shrinking to
    zero).
  • Standardize by square-root of N

27
Testing Restrictions on the OLS Model
28
(No Transcript)
29
(No Transcript)
30
Digression on Quadratic Forms
31
(No Transcript)
32
(No Transcript)
33
Testing nonlinear restrictions the Delta Method
34
(No Transcript)
35
Deriving Partial Regression Coefficients
36
(No Transcript)
37
Show
38
We will need the following properties
39
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com