Chapter 2
Chapter 2
Chapter 2
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
y is called the dependent variable, the explained variable, or the regressand. x is called the independent variable, the explanatory variable, or the regressor. u, called error term or disturbance, represents factors other than x that aect y . u stands for unobserved.
Le Van Chon Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
How to estimate population parameters 0 and 1 from a sample? Let {(xi , yi ) : i = 1, 2, ..., n} denote a random sample of size n from the population. For each observation in this sample, it will be the case that yi = 0 + 1 xi + ui
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(5) and (6) are 2 moment restrictions with 2 unknown parameters. They can be used to obtain good estimators of 0 and 1 .
Le Van Chon Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
0 1 xi ) = 0 (yi
i =1
(7) (8)
0 1 xi ) = 0 xi (yi
i =1
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(xi x )2 > 0
i =1
(11)
y )
(12)
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Summary of OLS slope estimate: - Slope estimate is the sample covariance between x and y divided by the sample variance of x . - If x and y are positively correlated, the slope will be positive. - If x and y are negatively correlated, the slope will be negative. -Only need x to vary in the sample. 0 and 1 given in (10) and (12) are called the ordinary least squares (OLS) estimates of 0 and 1 .
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
min
u i2
=
i =1
0 1 xi )2 (yi
Applied Econometrics
(14)
Le Van Chon
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(15)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(16)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(17)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
0 and 1 , we can obtain the tted value y Given i for each observation. Each y i is on the OLS regression line. OLS residual associated with observation i , u i , is the dierence between yi and its tted value. If u i is positive, the line underpredicts yi . If u i is negative, the line overpredicts yi . In most cases, every u i = 0, none of the data points lie on the OLS line.
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
u i = 0
i =1
and thus
1 n
u i = 0
i =1
(2) The sample covariance between the regressors and the OLS residuals is zero.
n
xi u i = 0
i =1
(3) The OLS regression line always goes through the mean of the sample. 0 + 1 x y =
Le Van Chon Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(18)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(yi y )
i =1
=
i =1 n
[(yi y i ) + (y i y )] =
n i =1 n
[u i + (y i y )]2 (y i y )2
i =1
=
i =1
u i + 2
i =1 n
u i (y i y ) + u i (y i y ) + SSE
= SSR + 2
i =1
u i (y i y ) = 0
i =1
Le Van Chon Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Goodness-of-Fit
How well the OLS regression line ts the data? Divide (18) by SST to get: 1= SSE SSR + SST SST
The R-squared of the regression or the coecient of determination SSR SSE =1 (19) R2 SST SST It implies the fraction of the sample variation in y that is explained by the model. 0 R2 1
Le Van Chon Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Goodness-of-Fit (cont.)
E.g., CEOSAL1. roe explains only about 1.3% of the variation in salaries for this sample. 98.7% of the salary variations for these CEOs is left unexplained! Notice that a seemingly low R 2 does not mean that an OLS regression equation is useless. It is still possible that (16) is a good estimate of the ceteris paribus relationship between salary and roe .
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Multiply the intercept and the slope in (16) by 1,000 (16) and (20) have the same interpretations. Dene roedec = roe /100 where roedec is a decimal. salary = 963.191 + 1850.1roedec .
Le Van Chon Applied Econometrics
(21)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
It is rather easy to incorporate many nonlinearities into simple regression analysis by appropriately dening y and x . 1 of 0.54 means that each additional year of E.g., WAGE1. education increases wage by 54 cents. maybe not reasonable. Suppose that the percentage increase in wage is the same given one more year of education. (17) does not imply a constant percentage increase.
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(22)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(24)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Unbiasedness of OLS
Unbiasedness of OLS is established under a set of assumptions: Assumption SLR.1 (Linear in Parameters) The population model is linear in parameters as y = 0 + 1 x + u where 0 and 1 are the population intercept and slope parameters. Realistically, y , x , u are all viewed as random variables. Assumption SLR.2 (Random Sampling) We can use a random sample of size n, (xi , yi ) : i = 1, 2, , n, from the population model.
Le Van Chon Applied Econometrics
(25)
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
To obtain unbiased estimators of 0 and 1 , we need to impose Assumption SLR.3 (Zero Conditional Mean) E (u |x ) = 0 This assumption implies E (ui |xi ) = 0 for all i = 1, 2, ..., n.
Le Van Chon Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
x )2 > 0
n )yi i =1 (xi x n )2 i =1 (xi x
y )
x )(0 + 1 xi + ui ) = 1 + n )2 i =1 (xi x
Le Van Chon Applied Econometrics
n i =1 (xi
x )ui SSTx
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(27)
1 ) = 1 + E [(1/SSTx ) E (
i =1 n
= 1 + (1/SSTx )
i =1
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(30) (31)
Le Van Chon
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
(30) and (31) are invalid in the presence of heteroskedasticity. (30) and (31) imply that: j ). (i) The larger the error variance, the larger are Var( j ). (ii) The larger the variability in the xi , the smaller are Var( Problem: the error variance 2 is unknown because we dont observe the errors, ui .
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
An unbiased estimator of 2 is 1 2 = n2
Le Van Chon
u i2 =
i =1
SSR n2
(33)
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
Recall that
Le Van Chon
Applied Econometrics
Denition of Simple Regression Model Ordinary Least Squares Mechanics of OLS Units of Measurement and Functional Form Expected Values and Variances of OLS Estimators Regression through the Origin
1 xi ) = 0 xi (yi
1 =
n i =1 xi yi n 2 i =1 xi
(35)