ECON Introductory Econometrics. Lecture 6: OLS with Multiple Regressors

Size: px
Start display at page:

Download "ECON Introductory Econometrics. Lecture 6: OLS with Multiple Regressors"

Transcription

1 ECON Introductory Econometrics Lecture 6: OLS with Multiple Regressors Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 6

2 Lecture outline 2 Violation of first Least Squares assumption Omitted variable bias violation of unbiasedness violation of consistency Multiple regression model 2 regressors k regressors Perfect multicollinearity Imperfect multicollinearity Properties OLS estimators in multiple regression model

3 Violation of first Least Squares assumption 3 Y i = β 0 + β 1 X i + u i Assumption 1: The conditional mean of u i given X i is zero E (u i X i ) = 0 The first OLS assumption states that: All other factors that affect the dependent variable Y i (contained in u i ) are unrelated to X i in the sense that, given a value of X i, the mean of these other factors equals zero. In the class size example: All the other factors affecting test scores should be unrelated to class size in the sense that, given a value of class size, the mean of these other factors equals zero.

4 Violation of first Least Squares assumption 4 Suppose that districts with small classes have few immigrants (few English learners) districts with large classes have many immigrants (many English learners) In this case class size is related to percentage of English learners Students who are still learning English likely have lower test scores Which implies that percentage of English learners is contained in u i. This implies a violation of assumption 1: E (u i ClassSize i = small) E (u i ClassSize i = large) 0

5 Omitted variable bias 5 The variable measuring the percentage of English learners in a district (el pct i ) is omitted from the simple regression model TestScore i = β 0 + β 1 ClassSize i + u i Omitting a variable from a regression analysis will lead to omitted variable bias if: 1 The omitted variable is correlated to the included regressor of interest. 2 The omitted variable is a determinant of the dependent variable.

6 Omitted variable bias 1. corr class_size el_pct (obs=420) 1. corr test_score el_pct (obs=420) 6 / / / / / / / / / / / Statistics/Data Analysis class_~e el_pct test_s~e el_pct class_size el_pct test_score el_pct Both conditions for omitted variable bias seem to be met 1 The percentage of English learners is correlated with class size 2 The percentage of English learners is correlated with test scores OLS If we omit percentage of English learners from regression, β 1 will not only estimate effect of class size on district average test scores but it will also pick up the effect of the percentage of English learners in the district on district average test scores βols 1 is biased and inconsistent.

7 Omitted variable bias: violation of unbiasedness 7 True model : Y i = β 0 + β 1 X i + β 2 W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + v i ] E [ β1 = E [ n ] i=1(x i X)(Y i Y) n i=1(x i X)(X i X) substitute for Y i, Y (true model!) [ n ] i=1(x i X)(β 0 +β 1 X i +β 2 W i +u i (β 0 +β 1 X+β 2 W +u)) = E n i=1(x i X)(X i X) rewrite (β 0 drops out) [ n ] i=1(x i X)(β 1 (X i X)+β 2(W i W)+(u i u)) = E n i=1(x i X)(X i X)

8 Omitted variable bias: violation of unbiasedness 8 ] E [ β1 = E [ n i=1(x i X)(β 1 (X i X)+β 2(W i W)+(u i u)) n i=1(x i X)(X i X) ] rewrite & use expectation rules [ β n 2 i=1(x i X)(W i W) = β 1 + E n i=1(x i X)(X i X) ] + E [ n ] i=1(x i X)(u i u) n i=1(x i X)(X i X) put β 2 in front of expectation & use algebra trick [ n ] [ i=1(x i X)(W i W) n ] i=1(x i X)u i = β 1 + β 2 E n + E i=1(x i X)(X i X) n i=1(x i X)(X i X) law of iterated expectations = β 1 + β 2 E [ n i=1(x i X)(W i W) n i=1(x i X)(X i X) ] + E [ n ] i=1(x i X)E(u i X i,w i ) n i=1(x i X)(X i X)

9 Omitted variable bias: violation of unbiasedness 9 ] E [ β1 = β 1 + β 2 E [ ni=1 ] (X i X)(W i W) ni=1 + E (X i X)(X i X) [ ni=1 ] (X i X)E(u i X i,w i ) ni=1 (X i X)(X i X) by assumption E (u i X i, W i ) = 0 [ ni=1 ] (X = β 1 + β 2 E i X)(W i W) ni=1 (X i X)(X i X) If W i is unrelated to X i (E ] E [ β1 = β 1 [ ni=1 ] ) (X i X)(W i W) ni=1 = 0 this implies that (X i X)(X i X) ] If W i is no determinant of Y i (β 2 = 0) this implies that E [ β1 = β 1 The second term is only nonzero if both conditions for omitted variable bias are met If the second term is nonzero β 1 is biased!

10 Omitted variable bias: violation of consistency 10 True model : Y i = β 0 + β 1 X i + β 2 W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + v i Plim β 1 = Plim n 1 1 ni=1 (X i X)(Y i Y) Plim n 1 1 ni=1 (X i X)(X i X) = Plim s XY Plim s 2 X = Cov(X i,y i ) Var(X i ) substitute true model for Y i = Cov(X i,β 0 +β 1 X i +β 2 W i +u i ) Var(X i ) Covariance rules Key concept 2.3 = Cov(X i,β 1 X i )+Cov(X i,β 2 W i )+Cov(X i,u i ) Var(X i )

11 Omitted variable bias: violation of consistency 11 Plim β 1 = Cov(X i,β 1 X i )+Cov(X i,β 2 W i )+Cov(X i,u i ) Var(X i ) Cov(X i, u i ) = 0 because E (u i X i, W i ) = 0 Cov(X = β i,x i ) Cov(X 1 + β i,w i ) Var(X i ) 2 Var(X i ) Cov (X i, X i ) = Var (X i ) = β 1 + β 2 Cov(X i,w i ) Var(X i )

12 Omitted variable bias: violation of consistency 12 β 1 p β 1 + β 2 Cov(X i,w i ) Var(X i ) If W i is unrelated to X i (Cov (X i, W i ) = 0) this implies that β 1 If W i is no determinant of Y i (β 2 = 0) this implies that β 1 p β 1 p β 1 If both omitted variable bias conditions are met β 1 is inconsistent!

13 Omitted variable bias: violation of consistency 13 From the omitted variable bias formula β 1 p Cov (X i, W i ) β 1 + β 2 Var (X i ) we can infer the direction of the bias of β 1 that persists in large samples Suppose W i has a positive effect on Y i, then β 2 > 0 Suppose X i and W i are positively correlated, then Cov (X i, W i ) > 0 This implies that β 1 is upward biased, it converges in probability to a larger number than the true value of β 1

14 Omitted variable bias: a simulation example 14 Lets create a data set with 100 observations W i N(0, 1) We let X i depend on W i : X i = W i + ε i ε i N (0, 1) u i N(0, 1) We define the true population model as: Y i = 1 + 2X i + W i + u i β 1 = 2 & β = 1 Tuesday January 31 11:10: Page 1 1. sum y x w set obs 100 gen w = rnormal() gen x = w + rnormal() gen y = 1 + 2*x + w + rnormal() (R) / / / / / / / / / / / / Statistics/Data Analysis Variable Obs Mean Std. Dev. Min Max y x w

15 Omitted variable bias: a simulation example 15 True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Tuesday January 31 11:22: Page 1 1. regress y x Estimated model : Y i = β 0 + β 1 X i + v i (R) / / / / / / / / / / / / Statistics/Data Analysis Source SS df MS Number of obs = 100 F( 1, 98) = Model Prob > F = Residual R-squared = Adj R-squared = Total Root MSE = y Coef. Std. Err. t P> t [95% Conf. Interval] x _cons

16 Omitted variable bias: a simulation example 16 We can Tuesday create January 999 of 31 these 11:26:40 data2017 sets with Page observations and use OLS to estimate 1. program define ols, rclass 1. drop _all 2. set obs gen w=rnormal() 4. gen x=w+rnormal() 5. gen y=1+2*x+w+rnormal() 6. regress y x 7. end Y i = β 0 + β 1 X i + v i simulate _b, reps(999) nodots : ols command: ols (R) / / / / / / / / / / / / Statistics/Data Analysis 4. sum Variable Obs Mean Std. Dev. Min Max _b_x _b_cons

17 Omitted variable bias: a simulation example n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + v i 5 OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1

18 Omitted variable bias: a simulation example n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + v i 15 OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1

19 Omitted variable bias: a simulation example n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + v i OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1

20 . Omitted variable bias: a simulation example n=100, n=1000, n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + v i OLS estimates of B 1 in 999 samples with n=100; n=1000 and n=10000 n=100 n=1000 n= OLS estimates of B 1

21 Including the omitted variable: a simulation example 21 Natural solution to omitted variable bias is to include the variable and to estimate a multiple regression model. True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Tuesday January 31 11:47: Page 1 Estimated model : Y i = β 0 + β 1 X i + β 2 W i + v i (R) / / / / / / / / / / / / Statistics/Data Analysis 1. regress y x w Source SS df MS Number of obs = 100 F( 2, 97) = Model Prob > F = Residual R-squared = Adj R-squared = Total Root MSE = y Coef. Std. Err. t P> t [95% Conf. Interval] x w _cons

22 Including the omitted variable: a simulation example 22 We can Tuesday create January 999 of 31 these 11:49:48 data2017 sets with Page observations and use OLS to estimate Y i = β 0 + β 1 X i + β 2 W i + v i 1. program define ols, rclass 1. drop _all 2. set obs gen w=rnormal() 4. gen x=w+rnormal() 5. gen y=1+2*x+w+rnormal() 6. regress y x w 7. end simulate _b, reps(999) nodots : ols command: ols (R) / / / / / / / / / / / / Statistics/Data Analysis 4. sum Variable Obs Mean Std. Dev. Min Max _b_x _b_w _b_cons

23 Including the omitted variable: a simulation example n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + β 2 W i + v i 4 OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1

24 Including the omitted variable: a simulation example n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + β 2 W i + v i 15 OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1

25 Including the omitted variable: a simulation example n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + β 2 W i + v i 40 OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1

26 . Including the omitted variable: a simulation example n=100, n=1000, n= True model : Y i = 1 + 2X i + W i + u i E (u i X i, W i ) = 0 Estimated model : Y i = β 0 + β 1 X i + β 2 W i + v i OLS estimates of B 1 in 999 samples with n=100; n=1000 and n=10000 n=100 n=1000 n= OLS estimates of B 1

27 Multiple regression model with 2 regressors 27 Interpretation of β 1 : Y i = β 0 + β 1 X 1i + β 2 X 2i + u i Suppose we would increase X 1 to X 1 + X 1 while keeping X 2 constant. define Y as E [Y X 1, X 2 ] = β 0 + β 1 X 1 + β 2 X 2 E [Y (X 1 + X 1 ), X 2 ] = β 0 + β 1 (X 1 + X 1 ) + β 2 X 2 Y = E [Y (X 1 + X 1 ), X 2 ] E [Y X 1, X 2 ] = β 1 X 1 this implies that β 1 is the expected change in Y due to unit change in X 1 while keeping X 2 constant!

28 Tuesday January 31 14:50: Page 1 Multiple regression model with 2 regressors Example: The effect of class size on test scores (R) / / / / / / / / / / / / Statistics/Data Analysis regress test_score class_size, robust Linear regression Number of obs = 420 F( 1, 418) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size _cons regress test_score class_size el_pct, robust Linear regression Number of obs = 420 F( 2, 417) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct _cons

29 Multiple regression model with 2 regressors Example: The effect of class size on test scores 29 test score i = class size i 0.65 el pct i The expected effect on test scores of increasing class size by 1, while keeping the percentage of English learners constant, equals -1.1 points This is about half the size of coefficient estimate when el pct i is omitted from the regression Estimated effect of class size in the simple regression model suffers from omitted variable bias Omitted variable bias formula already predicted a negative bias. β 1 p β 1 + β 2 Cov (class size i, el pct i ) Var (class size i )

30 Multiple regression model with k regressors 30 General notation for multiple regression model with k regressors: where Y i = β 0 + β 1 X 1i + β 2 X 2i β k X ki + u i Y i is the i th observation on the dependent variable X 1i,..., X ki are i th observations on the k independent variables or regressors β 0 is the intercept of the population regression line (expected value of Y when X 1i,..., X ki = 0) β 1 is the slope coefficient on X 1 ; the expected change in Y due to a unit increase in X 1i while holding X 2i,..., X ki constant. u i is the error term (all other factors, besides X 1i,..., X ki, determining Y i )

31 Multiple regression model with k regressors 31 The OLS estimators β 0, β 1,..., β k are obtained by minimizing the sum of squared prediction mistakes: n (Y i β 0 β 1 X 1i... β ) 2 k X ki i=1 Similar to the linear regression model with 1 regressor this implies taking derivatives w.r.t β 0, β 1,..., β k setting these to zero and solving for β 0, β 1,..., β k Formulas for OLS estimators in multiple regression model are best expressed using matrix algebra.

32 Multiple regression model with k regressors 32 Least squares assumption for multiple regression model: Assumption 1: The conditional distribution of u i given X 1i,..., X ki has mean zero, that is E (u i X 1i,..., X ki ) = 0 Assumption 2: (Y i, X 1i,..., X ki ) for i = 1,..., n are independently and identically distributed (i.i.d) Assumption 3: Large outliers are unlikely ( ) 0 < E X1i 4 <,..., 0 < E ( ) ( Xki 4 < & 0 < E Y 4 i ) < Assumption 4: No perfect multicollinearity

33 Perfect multicollinearity 33 Perfect multicollinearity arises when one of the regressors is a perfect linear combination of the other regressors The other regressors include the regressor on the constant term X 0i = 1 for i = 1,..., n Y i = β 0 X 0i + β 1 X 1i + β 2 X 2i β k X ki + u i If the regressors exhibit perfect multicollinearity, the OLS estimators cannot be computed Perfect multicollinearity produces division by zero in the OLS formulas Intuitively: you estimate effect of a change in one regressor on Y while holding another regressor, which is a perfect linear combination of the first regressor, constant: This does not make sense!

34 Perfect multicollinearity 34 Tuesday January 31 14:51: Page 1 (R) What happens when we include both the percentage of English learners and the share of English learners? 1. gen el_share=el_pct/ regress test_score class_size el_pct el_share, robust note: el_share omitted because of collinearity / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F( 2, 417) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct el_share 0 (omitted) _cons el pct i and el share i are perfectly multicollinear

35 Perfect multicollinearity: Dummy variable trap 35 Thursday February 2 11:07: Page 1 What happens when we include both a dummy SmallClass i (=1 if class (R) size / / / / / < 20) and a dummy BigClass i (=1 if class size 20) and the constant term? 1. regress test_score SmallClass BigClass, robust note: BigClass omitted because of collinearity / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(1, 418) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] SmallClass BigClass 0 (omitted) _cons BigClass i = 1 SmallClass i = X 0i SmallClass i

36 (Imperfect) multicollinearity 36 (Imperfect) multicollinearity means that two or more regressors are highly correlated, but one regressor is NOT a perfect linear function of one or more of the other regressors (imperfect) multicollinearity is not a violation of the least squares assumptions It does not impose theoretical problem for the calculation of OLS estimators If two regressors are highly correlated the the coefficient on at least one of the regressors is imprecisely estimated (high variance) With two regressors and homoskedastic errors we have that ( ) ) Var ( β1 = 1 1 σu 2 n 1 ρ 2 X 1 X 2 σx 2 1

37 Properties OLS estimators in multiple regression model 37 If the four least squares assumptions in the multiple regression model hold: The OLS estimators β 0, β 1,..., β k are unbiased ) E ( βj = β j for j = 0,..., k The OLS estimators β 0, β 1,..., β k are consistent β j p β j for j = 0,..., k The OLS estimators β 0, β 1,..., β k are normally distributed in large samples ) β j N (β j, σ 2 βj for j = 0,..., k

38 Multiple regression model: class size example Thursday February 2 14:18: Page 1 38 (R) / / / / / / / / / / / / Statistics/Data Analysis 1. regress test_score class_size, robust Linear regression Number of obs = 420 F(1, 418) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size _cons Is the average causal effect of class size on test scores equal to -2.27? Is there omitted variable bias?

39 Multiple regression model: class size example 39 Thursday February 2 14:18: Page 1 If we add the percentage of English learners as regressor in the regression model we get: 1. regress test_score class_size el_pct, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(2, 417) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct _cons Is the average causal effect of class size on test scores equal to -1.10? Is there omitted variable bias?

40 Multiple regression model: class size example 40 Thursday February 2 14:18: Page 1 If we add the percentage of students eligible for a free lunch as regressor (R) in the regression model we get: 1. regress test_score class_size el_pct meal_pct, robust / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(3, 416) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct _cons Is the average causal effect of class size on test scores equal to -0.99? Is there omitted variable bias?

41 Multiple regression model: class size example 41 Thursday February 2 14:19: Page 1 If we add district average income as regressor in the regression model we get: 1. regress test_score class_size el_pct meal_pct avginc, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(4, 415) = Prob > F = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct avginc _cons Is the average causal effect of class size on test scores equal to -0.56? Is there omitted variable bias?

42 Multiple regression model: class size example 42 Dependent variable: district average test scores Class size *** ** *** ** (0.519) (0.433) (0.270) (0.255) Percentage of English learners *** *** *** (0.031) (0.033) (0.033) Percentage with free lunch *** *** (0.024) (0.030) Average district income 0.675*** (0.084) N

ECON Introductory Econometrics. Lecture 4: Linear Regression with One Regressor

ECON Introductory Econometrics. Lecture 4: Linear Regression with One Regressor ECON4150 - Introductory Econometrics Lecture 4: Linear Regression with One Regressor Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 4 Lecture outline 2 The OLS estimators The effect of

More information

ECON Introductory Econometrics. Lecture 7: OLS with Multiple Regressors Hypotheses tests

ECON Introductory Econometrics. Lecture 7: OLS with Multiple Regressors Hypotheses tests ECON4150 - Introductory Econometrics Lecture 7: OLS with Multiple Regressors Hypotheses tests Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 7 Lecture outline 2 Hypothesis test for single

More information

ECON Introductory Econometrics. Lecture 5: OLS with One Regressor: Hypothesis Tests

ECON Introductory Econometrics. Lecture 5: OLS with One Regressor: Hypothesis Tests ECON4150 - Introductory Econometrics Lecture 5: OLS with One Regressor: Hypothesis Tests Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 5 Lecture outline 2 Testing Hypotheses about one

More information

Applied Statistics and Econometrics

Applied Statistics and Econometrics Applied Statistics and Econometrics Lecture 6 Saul Lach September 2017 Saul Lach () Applied Statistics and Econometrics September 2017 1 / 53 Outline of Lecture 6 1 Omitted variable bias (SW 6.1) 2 Multiple

More information

ECON Introductory Econometrics. Lecture 13: Internal and external validity

ECON Introductory Econometrics. Lecture 13: Internal and external validity ECON4150 - Introductory Econometrics Lecture 13: Internal and external validity Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 9 Lecture outline 2 Definitions of internal and external

More information

ECON Introductory Econometrics. Lecture 17: Experiments

ECON Introductory Econometrics. Lecture 17: Experiments ECON4150 - Introductory Econometrics Lecture 17: Experiments Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 13 Lecture outline 2 Why study experiments? The potential outcome framework.

More information

ECON Introductory Econometrics. Lecture 16: Instrumental variables

ECON Introductory Econometrics. Lecture 16: Instrumental variables ECON4150 - Introductory Econometrics Lecture 16: Instrumental variables Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 12 Lecture outline 2 OLS assumptions and when they are violated Instrumental

More information

Chapter 6: Linear Regression With Multiple Regressors

Chapter 6: Linear Regression With Multiple Regressors Chapter 6: Linear Regression With Multiple Regressors 1-1 Outline 1. Omitted variable bias 2. Causality and regression analysis 3. Multiple regression and OLS 4. Measures of fit 5. Sampling distribution

More information

Multiple Regression Analysis: Estimation. Simple linear regression model: an intercept and one explanatory variable (regressor)

Multiple Regression Analysis: Estimation. Simple linear regression model: an intercept and one explanatory variable (regressor) 1 Multiple Regression Analysis: Estimation Simple linear regression model: an intercept and one explanatory variable (regressor) Y i = β 0 + β 1 X i + u i, i = 1,2,, n Multiple linear regression model:

More information

Applied Statistics and Econometrics

Applied Statistics and Econometrics Applied Statistics and Econometrics Lecture 7 Saul Lach September 2017 Saul Lach () Applied Statistics and Econometrics September 2017 1 / 68 Outline of Lecture 7 1 Empirical example: Italian labor force

More information

Linear Regression with Multiple Regressors

Linear Regression with Multiple Regressors Linear Regression with Multiple Regressors (SW Chapter 6) Outline 1. Omitted variable bias 2. Causality and regression analysis 3. Multiple regression and OLS 4. Measures of fit 5. Sampling distribution

More information

Econometrics 1. Lecture 8: Linear Regression (2) 黄嘉平

Econometrics 1. Lecture 8: Linear Regression (2) 黄嘉平 Econometrics 1 Lecture 8: Linear Regression (2) 黄嘉平 中国经济特区研究中 心讲师 办公室 : 文科楼 1726 E-mail: huangjp@szu.edu.cn Tel: (0755) 2695 0548 Office hour: Mon./Tue. 13:00-14:00 The linear regression model The linear

More information

Nonlinear Regression Functions

Nonlinear Regression Functions Nonlinear Regression Functions (SW Chapter 8) Outline 1. Nonlinear regression functions general comments 2. Nonlinear functions of one variable 3. Nonlinear functions of two variables: interactions 4.

More information

2. Linear regression with multiple regressors

2. Linear regression with multiple regressors 2. Linear regression with multiple regressors Aim of this section: Introduction of the multiple regression model OLS estimation in multiple regression Measures-of-fit in multiple regression Assumptions

More information

ECON Introductory Econometrics. Lecture 11: Binary dependent variables

ECON Introductory Econometrics. Lecture 11: Binary dependent variables ECON4150 - Introductory Econometrics Lecture 11: Binary dependent variables Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 11 Lecture Outline 2 The linear probability model Nonlinear probability

More information

Lecture notes to Stock and Watson chapter 8

Lecture notes to Stock and Watson chapter 8 Lecture notes to Stock and Watson chapter 8 Nonlinear regression Tore Schweder September 29 TS () LN7 9/9 1 / 2 Example: TestScore Income relation, linear or nonlinear? TS () LN7 9/9 2 / 2 General problem

More information

Applied Statistics and Econometrics

Applied Statistics and Econometrics Applied Statistics and Econometrics Lecture 13 Nonlinearities Saul Lach October 2018 Saul Lach () Applied Statistics and Econometrics October 2018 1 / 91 Outline of Lecture 13 1 Nonlinear regression functions

More information

ECO220Y Simple Regression: Testing the Slope

ECO220Y Simple Regression: Testing the Slope ECO220Y Simple Regression: Testing the Slope Readings: Chapter 18 (Sections 18.3-18.5) Winter 2012 Lecture 19 (Winter 2012) Simple Regression Lecture 19 1 / 32 Simple Regression Model y i = β 0 + β 1 x

More information

ECON3150/4150 Spring 2016

ECON3150/4150 Spring 2016 ECON3150/4150 Spring 2016 Lecture 6 Multiple regression model Siv-Elisabeth Skjelbred University of Oslo February 5th Last updated: February 3, 2016 1 / 49 Outline Multiple linear regression model and

More information

ECON3150/4150 Spring 2016

ECON3150/4150 Spring 2016 ECON3150/4150 Spring 2016 Lecture 4 - The linear regression model Siv-Elisabeth Skjelbred University of Oslo Last updated: January 26, 2016 1 / 49 Overview These lecture slides covers: The linear regression

More information

Linear Regression with Multiple Regressors

Linear Regression with Multiple Regressors Linear Regression with Multiple Regressors (SW Chapter 6) Outline 1. Omitted variable bias 2. Causality and regression analysis 3. Multiple regression and OLS 4. Measures of fit 5. Sampling distribution

More information

Lecture 5. In the last lecture, we covered. This lecture introduces you to

Lecture 5. In the last lecture, we covered. This lecture introduces you to Lecture 5 In the last lecture, we covered. homework 2. The linear regression model (4.) 3. Estimating the coefficients (4.2) This lecture introduces you to. Measures of Fit (4.3) 2. The Least Square Assumptions

More information

Essential of Simple regression

Essential of Simple regression Essential of Simple regression We use simple regression when we are interested in the relationship between two variables (e.g., x is class size, and y is student s GPA). For simplicity we assume the relationship

More information

Introduction to Econometrics. Multiple Regression

Introduction to Econometrics. Multiple Regression Introduction to Econometrics The statistical analysis of economic (and related) data STATS301 Multiple Regression Titulaire: Christopher Bruffaerts Assistant: Lorenzo Ricci 1 OLS estimate of the TS/STR

More information

Econometrics Midterm Examination Answers

Econometrics Midterm Examination Answers Econometrics Midterm Examination Answers March 4, 204. Question (35 points) Answer the following short questions. (i) De ne what is an unbiased estimator. Show that X is an unbiased estimator for E(X i

More information

Introduction to Econometrics. Multiple Regression (2016/2017)

Introduction to Econometrics. Multiple Regression (2016/2017) Introduction to Econometrics STAT-S-301 Multiple Regression (016/017) Lecturer: Yves Dominicy Teaching Assistant: Elise Petit 1 OLS estimate of the TS/STR relation: OLS estimate of the Test Score/STR relation:

More information

6. Assessing studies based on multiple regression

6. Assessing studies based on multiple regression 6. Assessing studies based on multiple regression Questions of this section: What makes a study using multiple regression (un)reliable? When does multiple regression provide a useful estimate of the causal

More information

Review of Econometrics

Review of Econometrics Review of Econometrics Zheng Tian June 5th, 2017 1 The Essence of the OLS Estimation Multiple regression model involves the models as follows Y i = β 0 + β 1 X 1i + β 2 X 2i + + β k X ki + u i, i = 1,...,

More information

ECON3150/4150 Spring 2015

ECON3150/4150 Spring 2015 ECON3150/4150 Spring 2015 Lecture 3&4 - The linear regression model Siv-Elisabeth Skjelbred University of Oslo January 29, 2015 1 / 67 Chapter 4 in S&W Section 17.1 in S&W (extended OLS assumptions) 2

More information

Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018

Econometrics I KS. Module 2: Multivariate Linear Regression. Alexander Ahammer. This version: April 16, 2018 Econometrics I KS Module 2: Multivariate Linear Regression Alexander Ahammer Department of Economics Johannes Kepler University of Linz This version: April 16, 2018 Alexander Ahammer (JKU) Module 2: Multivariate

More information

ECON 3150/4150, Spring term Lecture 7

ECON 3150/4150, Spring term Lecture 7 ECON 3150/4150, Spring term 2014. Lecture 7 The multivariate regression model (I) Ragnar Nymoen University of Oslo 4 February 2014 1 / 23 References to Lecture 7 and 8 SW Ch. 6 BN Kap 7.1-7.8 2 / 23 Omitted

More information

Lecture 4: Multivariate Regression, Part 2

Lecture 4: Multivariate Regression, Part 2 Lecture 4: Multivariate Regression, Part 2 Gauss-Markov Assumptions 1) Linear in Parameters: Y X X X i 0 1 1 2 2 k k 2) Random Sampling: we have a random sample from the population that follows the above

More information

Chapter 7. Hypothesis Tests and Confidence Intervals in Multiple Regression

Chapter 7. Hypothesis Tests and Confidence Intervals in Multiple Regression Chapter 7 Hypothesis Tests and Confidence Intervals in Multiple Regression Outline 1. Hypothesis tests and confidence intervals for a single coefficie. Joint hypothesis tests on multiple coefficients 3.

More information

Lab 07 Introduction to Econometrics

Lab 07 Introduction to Econometrics Lab 07 Introduction to Econometrics Learning outcomes for this lab: Introduce the different typologies of data and the econometric models that can be used Understand the rationale behind econometrics Understand

More information

ECON Introductory Econometrics. Lecture 2: Review of Statistics

ECON Introductory Econometrics. Lecture 2: Review of Statistics ECON415 - Introductory Econometrics Lecture 2: Review of Statistics Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 2-3 Lecture outline 2 Simple random sampling Distribution of the sample

More information

Handout 11: Measurement Error

Handout 11: Measurement Error Handout 11: Measurement Error In which you learn to recognise the consequences for OLS estimation whenever some of the variables you use are not measured as accurately as you might expect. A (potential)

More information

Empirical Application of Simple Regression (Chapter 2)

Empirical Application of Simple Regression (Chapter 2) Empirical Application of Simple Regression (Chapter 2) 1. The data file is House Data, which can be downloaded from my webpage. 2. Use stata menu File Import Excel Spreadsheet to read the data. Don t forget

More information

Hypothesis Tests and Confidence Intervals. in Multiple Regression

Hypothesis Tests and Confidence Intervals. in Multiple Regression ECON4135, LN6 Hypothesis Tests and Confidence Intervals Outline 1. Why multipple regression? in Multiple Regression (SW Chapter 7) 2. Simpson s paradox (omitted variables bias) 3. Hypothesis tests and

More information

Lecture 8: Instrumental Variables Estimation

Lecture 8: Instrumental Variables Estimation Lecture Notes on Advanced Econometrics Lecture 8: Instrumental Variables Estimation Endogenous Variables Consider a population model: y α y + β + β x + β x +... + β x + u i i i i k ik i Takashi Yamano

More information

Measurement Error. Often a data set will contain imperfect measures of the data we would ideally like.

Measurement Error. Often a data set will contain imperfect measures of the data we would ideally like. Measurement Error Often a data set will contain imperfect measures of the data we would ideally like. Aggregate Data: (GDP, Consumption, Investment are only best guesses of theoretical counterparts and

More information

Applied Statistics and Econometrics

Applied Statistics and Econometrics Applied Statistics and Econometrics Lecture 5 Saul Lach September 2017 Saul Lach () Applied Statistics and Econometrics September 2017 1 / 44 Outline of Lecture 5 Now that we know the sampling distribution

More information

Lecture 5: Omitted Variables, Dummy Variables and Multicollinearity

Lecture 5: Omitted Variables, Dummy Variables and Multicollinearity Lecture 5: Omitted Variables, Dummy Variables and Multicollinearity R.G. Pierse 1 Omitted Variables Suppose that the true model is Y i β 1 + β X i + β 3 X 3i + u i, i 1,, n (1.1) where β 3 0 but that the

More information

Lecture 4: Multivariate Regression, Part 2

Lecture 4: Multivariate Regression, Part 2 Lecture 4: Multivariate Regression, Part 2 Gauss-Markov Assumptions 1) Linear in Parameters: Y X X X i 0 1 1 2 2 k k 2) Random Sampling: we have a random sample from the population that follows the above

More information

Introductory Econometrics. Lecture 13: Hypothesis testing in the multiple regression model, Part 1

Introductory Econometrics. Lecture 13: Hypothesis testing in the multiple regression model, Part 1 Introductory Econometrics Lecture 13: Hypothesis testing in the multiple regression model, Part 1 Jun Ma School of Economics Renmin University of China October 19, 2016 The model I We consider the classical

More information

Week 3: Simple Linear Regression

Week 3: Simple Linear Regression Week 3: Simple Linear Regression Marcelo Coca Perraillon University of Colorado Anschutz Medical Campus Health Services Research Methods I HSMP 7607 2017 c 2017 PERRAILLON ALL RIGHTS RESERVED 1 Outline

More information

Econometrics. 8) Instrumental variables

Econometrics. 8) Instrumental variables 30C00200 Econometrics 8) Instrumental variables Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Thery of IV regression Overidentification Two-stage least squates

More information

Econometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018

Econometrics I KS. Module 1: Bivariate Linear Regression. Alexander Ahammer. This version: March 12, 2018 Econometrics I KS Module 1: Bivariate Linear Regression Alexander Ahammer Department of Economics Johannes Kepler University of Linz This version: March 12, 2018 Alexander Ahammer (JKU) Module 1: Bivariate

More information

Lecture 14. More on using dummy variables (deal with seasonality)

Lecture 14. More on using dummy variables (deal with seasonality) Lecture 14. More on using dummy variables (deal with seasonality) More things to worry about: measurement error in variables (can lead to bias in OLS (endogeneity) ) Have seen that dummy variables are

More information

Motivation for multiple regression

Motivation for multiple regression Motivation for multiple regression 1. Simple regression puts all factors other than X in u, and treats them as unobserved. Effectively the simple regression does not account for other factors. 2. The slope

More information

The Simple Linear Regression Model

The Simple Linear Regression Model The Simple Linear Regression Model Lesson 3 Ryan Safner 1 1 Department of Economics Hood College ECON 480 - Econometrics Fall 2017 Ryan Safner (Hood College) ECON 480 - Lesson 3 Fall 2017 1 / 77 Bivariate

More information

Hypothesis Tests and Confidence Intervals in Multiple Regression

Hypothesis Tests and Confidence Intervals in Multiple Regression Hypothesis Tests and Confidence Intervals in Multiple Regression (SW Chapter 7) Outline 1. Hypothesis tests and confidence intervals for one coefficient. Joint hypothesis tests on multiple coefficients

More information

4 Instrumental Variables Single endogenous variable One continuous instrument. 2

4 Instrumental Variables Single endogenous variable One continuous instrument. 2 Econ 495 - Econometric Review 1 Contents 4 Instrumental Variables 2 4.1 Single endogenous variable One continuous instrument. 2 4.2 Single endogenous variable more than one continuous instrument..........................

More information

THE MULTIVARIATE LINEAR REGRESSION MODEL

THE MULTIVARIATE LINEAR REGRESSION MODEL THE MULTIVARIATE LINEAR REGRESSION MODEL Why multiple regression analysis? Model with more than 1 independent variable: y 0 1x1 2x2 u It allows : -Controlling for other factors, and get a ceteris paribus

More information

Contest Quiz 3. Question Sheet. In this quiz we will review concepts of linear regression covered in lecture 2.

Contest Quiz 3. Question Sheet. In this quiz we will review concepts of linear regression covered in lecture 2. Updated: November 17, 2011 Lecturer: Thilo Klein Contact: tk375@cam.ac.uk Contest Quiz 3 Question Sheet In this quiz we will review concepts of linear regression covered in lecture 2. NOTE: Please round

More information

Regression with a Single Regressor: Hypothesis Tests and Confidence Intervals

Regression with a Single Regressor: Hypothesis Tests and Confidence Intervals Regression with a Single Regressor: Hypothesis Tests and Confidence Intervals (SW Chapter 5) Outline. The standard error of ˆ. Hypothesis tests concerning β 3. Confidence intervals for β 4. Regression

More information

2. (3.5) (iii) Simply drop one of the independent variables, say leisure: GP A = β 0 + β 1 study + β 2 sleep + β 3 work + u.

2. (3.5) (iii) Simply drop one of the independent variables, say leisure: GP A = β 0 + β 1 study + β 2 sleep + β 3 work + u. BOSTON COLLEGE Department of Economics EC 228 Econometrics, Prof. Baum, Ms. Yu, Fall 2003 Problem Set 3 Solutions Problem sets should be your own work. You may work together with classmates, but if you

More information

Specification Error: Omitted and Extraneous Variables

Specification Error: Omitted and Extraneous Variables Specification Error: Omitted and Extraneous Variables Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised February 5, 05 Omitted variable bias. Suppose that the correct

More information

4 Instrumental Variables Single endogenous variable One continuous instrument. 2

4 Instrumental Variables Single endogenous variable One continuous instrument. 2 Econ 495 - Econometric Review 1 Contents 4 Instrumental Variables 2 4.1 Single endogenous variable One continuous instrument. 2 4.2 Single endogenous variable more than one continuous instrument..........................

More information

Question 1a 1b 1c 1d 1e 2a 2b 2c 2d 2e 2f 3a 3b 3c 3d 3e 3f M ult: choice Points

Question 1a 1b 1c 1d 1e 2a 2b 2c 2d 2e 2f 3a 3b 3c 3d 3e 3f M ult: choice Points Economics 102: Analysis of Economic Data Cameron Spring 2016 May 12 Department of Economics, U.C.-Davis Second Midterm Exam (Version A) Compulsory. Closed book. Total of 30 points and worth 22.5% of course

More information

ECO321: Economic Statistics II

ECO321: Economic Statistics II ECO321: Economic Statistics II Chapter 6: Linear Regression a Hiroshi Morita hmorita@hunter.cuny.edu Department of Economics Hunter College, The City University of New York a c 2010 by Hiroshi Morita.

More information

Multivariate Regression: Part I

Multivariate Regression: Part I Topic 1 Multivariate Regression: Part I ARE/ECN 240 A Graduate Econometrics Professor: Òscar Jordà Outline of this topic Statement of the objective: we want to explain the behavior of one variable as a

More information

Lecture #8 & #9 Multiple regression

Lecture #8 & #9 Multiple regression Lecture #8 & #9 Multiple regression Starting point: Y = f(x 1, X 2,, X k, u) Outcome variable of interest (movie ticket price) a function of several variables. Observables and unobservables. One or more

More information

Exam ECON3150/4150: Introductory Econometrics. 18 May 2016; 09:00h-12.00h.

Exam ECON3150/4150: Introductory Econometrics. 18 May 2016; 09:00h-12.00h. Exam ECON3150/4150: Introductory Econometrics. 18 May 2016; 09:00h-12.00h. This is an open book examination where all printed and written resources, in addition to a calculator, are allowed. If you are

More information

I 1. 1 Introduction 2. 2 Examples Example: growth, GDP, and schooling California test scores Chandra et al. (2008)...

I 1. 1 Introduction 2. 2 Examples Example: growth, GDP, and schooling California test scores Chandra et al. (2008)... Part I Contents I 1 1 Introduction 2 2 Examples 4 2.1 Example: growth, GDP, and schooling.......................... 4 2.2 California test scores.................................... 5 2.3 Chandra et al.

More information

ECON The Simple Regression Model

ECON The Simple Regression Model ECON 351 - The Simple Regression Model Maggie Jones 1 / 41 The Simple Regression Model Our starting point will be the simple regression model where we look at the relationship between two variables In

More information

Problem Set 1 ANSWERS

Problem Set 1 ANSWERS Economics 20 Prof. Patricia M. Anderson Problem Set 1 ANSWERS Part I. Multiple Choice Problems 1. If X and Z are two random variables, then E[X-Z] is d. E[X] E[Z] This is just a simple application of one

More information

LECTURE 10. Introduction to Econometrics. Multicollinearity & Heteroskedasticity

LECTURE 10. Introduction to Econometrics. Multicollinearity & Heteroskedasticity LECTURE 10 Introduction to Econometrics Multicollinearity & Heteroskedasticity November 22, 2016 1 / 23 ON PREVIOUS LECTURES We discussed the specification of a regression equation Specification consists

More information

1: a b c d e 2: a b c d e 3: a b c d e 4: a b c d e 5: a b c d e. 6: a b c d e 7: a b c d e 8: a b c d e 9: a b c d e 10: a b c d e

1: a b c d e 2: a b c d e 3: a b c d e 4: a b c d e 5: a b c d e. 6: a b c d e 7: a b c d e 8: a b c d e 9: a b c d e 10: a b c d e Economics 102: Analysis of Economic Data Cameron Spring 2016 Department of Economics, U.C.-Davis Final Exam (A) Tuesday June 7 Compulsory. Closed book. Total of 58 points and worth 45% of course grade.

More information

Gov 2000: 9. Regression with Two Independent Variables

Gov 2000: 9. Regression with Two Independent Variables Gov 2000: 9. Regression with Two Independent Variables Matthew Blackwell Fall 2016 1 / 62 1. Why Add Variables to a Regression? 2. Adding a Binary Covariate 3. Adding a Continuous Covariate 4. OLS Mechanics

More information

Lecture#12. Instrumental variables regression Causal parameters III

Lecture#12. Instrumental variables regression Causal parameters III Lecture#12 Instrumental variables regression Causal parameters III 1 Demand experiment, market data analysis & simultaneous causality 2 Simultaneous causality Your task is to estimate the demand function

More information

Instrumental Variables, Simultaneous and Systems of Equations

Instrumental Variables, Simultaneous and Systems of Equations Chapter 6 Instrumental Variables, Simultaneous and Systems of Equations 61 Instrumental variables In the linear regression model y i = x iβ + ε i (61) we have been assuming that bf x i and ε i are uncorrelated

More information

4. Nonlinear regression functions

4. Nonlinear regression functions 4. Nonlinear regression functions Up to now: Population regression function was assumed to be linear The slope(s) of the population regression function is (are) constant The effect on Y of a unit-change

More information

7 Introduction to Time Series

7 Introduction to Time Series Econ 495 - Econometric Review 1 7 Introduction to Time Series 7.1 Time Series vs. Cross-Sectional Data Time series data has a temporal ordering, unlike cross-section data, we will need to changes some

More information

ECON2228 Notes 2. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 47

ECON2228 Notes 2. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 47 ECON2228 Notes 2 Christopher F Baum Boston College Economics 2014 2015 cfb (BC Econ) ECON2228 Notes 2 2014 2015 1 / 47 Chapter 2: The simple regression model Most of this course will be concerned with

More information

Multiple Linear Regression

Multiple Linear Regression Multiple Linear Regression Asymptotics Asymptotics Multiple Linear Regression: Assumptions Assumption MLR. (Linearity in parameters) Assumption MLR. (Random Sampling from the population) We have a random

More information

Statistical Inference with Regression Analysis

Statistical Inference with Regression Analysis Introductory Applied Econometrics EEP/IAS 118 Spring 2015 Steven Buck Lecture #13 Statistical Inference with Regression Analysis Next we turn to calculating confidence intervals and hypothesis testing

More information

Greene, Econometric Analysis (7th ed, 2012)

Greene, Econometric Analysis (7th ed, 2012) EC771: Econometrics, Spring 2012 Greene, Econometric Analysis (7th ed, 2012) Chapters 2 3: Classical Linear Regression The classical linear regression model is the single most useful tool in econometrics.

More information

Regression #8: Loose Ends

Regression #8: Loose Ends Regression #8: Loose Ends Econ 671 Purdue University Justin L. Tobias (Purdue) Regression #8 1 / 30 In this lecture we investigate a variety of topics that you are probably familiar with, but need to touch

More information

Lecture 3: Multiple Regression

Lecture 3: Multiple Regression Lecture 3: Multiple Regression R.G. Pierse 1 The General Linear Model Suppose that we have k explanatory variables Y i = β 1 + β X i + β 3 X 3i + + β k X ki + u i, i = 1,, n (1.1) or Y i = β j X ji + u

More information

1: a b c d e 2: a b c d e 3: a b c d e 4: a b c d e 5: a b c d e. 6: a b c d e 7: a b c d e 8: a b c d e 9: a b c d e 10: a b c d e

1: a b c d e 2: a b c d e 3: a b c d e 4: a b c d e 5: a b c d e. 6: a b c d e 7: a b c d e 8: a b c d e 9: a b c d e 10: a b c d e Economics 102: Analysis of Economic Data Cameron Spring 2015 Department of Economics, U.C.-Davis Final Exam (A) Saturday June 6 Compulsory. Closed book. Total of 56 points and worth 45% of course grade.

More information

Introduction to Econometrics

Introduction to Econometrics Introduction to Econometrics STAT-S-301 Panel Data (2016/2017) Lecturer: Yves Dominicy Teaching Assistant: Elise Petit 1 Regression with Panel Data A panel dataset contains observations on multiple entities

More information

Introduction to Econometrics Third Edition James H. Stock Mark W. Watson The statistical analysis of economic (and related) data

Introduction to Econometrics Third Edition James H. Stock Mark W. Watson The statistical analysis of economic (and related) data Introduction to Econometrics Third Edition James H. Stock Mark W. Watson The statistical analysis of economic (and related) data 1/2/3-1 1/2/3-2 Brief Overview of the Course Economics suggests important

More information

Basic econometrics. Tutorial 3. Dipl.Kfm. Johannes Metzler

Basic econometrics. Tutorial 3. Dipl.Kfm. Johannes Metzler Basic econometrics Tutorial 3 Dipl.Kfm. Introduction Some of you were asking about material to revise/prepare econometrics fundamentals. First of all, be aware that I will not be too technical, only as

More information

Section Least Squares Regression

Section Least Squares Regression Section 2.3 - Least Squares Regression Statistics 104 Autumn 2004 Copyright c 2004 by Mark E. Irwin Regression Correlation gives us a strength of a linear relationship is, but it doesn t tell us what it

More information

Econometrics Honor s Exam Review Session. Spring 2012 Eunice Han

Econometrics Honor s Exam Review Session. Spring 2012 Eunice Han Econometrics Honor s Exam Review Session Spring 2012 Eunice Han Topics 1. OLS The Assumptions Omitted Variable Bias Conditional Mean Independence Hypothesis Testing and Confidence Intervals Homoskedasticity

More information

Recent Advances in the Field of Trade Theory and Policy Analysis Using Micro-Level Data

Recent Advances in the Field of Trade Theory and Policy Analysis Using Micro-Level Data Recent Advances in the Field of Trade Theory and Policy Analysis Using Micro-Level Data July 2012 Bangkok, Thailand Cosimo Beverelli (World Trade Organization) 1 Content a) Classical regression model b)

More information

The Simple Regression Model. Part II. The Simple Regression Model

The Simple Regression Model. Part II. The Simple Regression Model Part II The Simple Regression Model As of Sep 22, 2015 Definition 1 The Simple Regression Model Definition Estimation of the model, OLS OLS Statistics Algebraic properties Goodness-of-Fit, the R-square

More information

At this point, if you ve done everything correctly, you should have data that looks something like:

At this point, if you ve done everything correctly, you should have data that looks something like: This homework is due on July 19 th. Economics 375: Introduction to Econometrics Homework #4 1. One tool to aid in understanding econometrics is the Monte Carlo experiment. A Monte Carlo experiment allows

More information

7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15

7 Introduction to Time Series Time Series vs. Cross-Sectional Data Detrending Time Series... 15 Econ 495 - Econometric Review 1 Contents 7 Introduction to Time Series 3 7.1 Time Series vs. Cross-Sectional Data............ 3 7.2 Detrending Time Series................... 15 7.3 Types of Stochastic

More information

Using generalized structural equation models to fit customized models without programming, and taking advantage of new features of -margins-

Using generalized structural equation models to fit customized models without programming, and taking advantage of new features of -margins- Using generalized structural equation models to fit customized models without programming, and taking advantage of new features of -margins- Isabel Canette Principal Mathematician and Statistician StataCorp

More information

Econometrics Problem Set 4

Econometrics Problem Set 4 Econometrics Problem Set 4 WISE, Xiamen University Spring 2016-17 Conceptual Questions 1. This question refers to the estimated regressions in shown in Table 1 computed using data for 1988 from the CPS.

More information

Econ 1123: Section 5. Review. Internal Validity. Panel Data. Clustered SE. STATA help for Problem Set 5. Econ 1123: Section 5.

Econ 1123: Section 5. Review. Internal Validity. Panel Data. Clustered SE. STATA help for Problem Set 5. Econ 1123: Section 5. Outline 1 Elena Llaudet 2 3 4 October 6, 2010 5 based on Common Mistakes on P. Set 4 lnftmpop = -.72-2.84 higdppc -.25 lackpf +.65 higdppc * lackpf 2 lnftmpop = β 0 + β 1 higdppc + β 2 lackpf + β 3 lackpf

More information

Problem Set 10: Panel Data

Problem Set 10: Panel Data Problem Set 10: Panel Data 1. Read in the data set, e11panel1.dta from the course website. This contains data on a sample or 1252 men and women who were asked about their hourly wage in two years, 2005

More information

Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015

Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 Nonrecursive Models Highlights Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 This lecture borrows heavily from Duncan s Introduction to Structural

More information

Econometrics I Lecture 3: The Simple Linear Regression Model

Econometrics I Lecture 3: The Simple Linear Regression Model Econometrics I Lecture 3: The Simple Linear Regression Model Mohammad Vesal Graduate School of Management and Economics Sharif University of Technology 44716 Fall 1397 1 / 32 Outline Introduction Estimating

More information

Problem Set #5-Key Sonoma State University Dr. Cuellar Economics 317- Introduction to Econometrics

Problem Set #5-Key Sonoma State University Dr. Cuellar Economics 317- Introduction to Econometrics Problem Set #5-Key Sonoma State University Dr. Cuellar Economics 317- Introduction to Econometrics C1.1 Use the data set Wage1.dta to answer the following questions. Estimate regression equation wage =

More information

Introduction to Econometrics

Introduction to Econometrics Introduction to Econometrics Lecture 3 : Regression: CEF and Simple OLS Zhaopeng Qu Business School,Nanjing University Oct 9th, 2017 Zhaopeng Qu (Nanjing University) Introduction to Econometrics Oct 9th,

More information

General Linear Model (Chapter 4)

General Linear Model (Chapter 4) General Linear Model (Chapter 4) Outcome variable is considered continuous Simple linear regression Scatterplots OLS is BLUE under basic assumptions MSE estimates residual variance testing regression coefficients

More information

LECTURE 2 LINEAR REGRESSION MODEL AND OLS

LECTURE 2 LINEAR REGRESSION MODEL AND OLS SEPTEMBER 29, 2014 LECTURE 2 LINEAR REGRESSION MODEL AND OLS Definitions A common question in econometrics is to study the effect of one group of variables X i, usually called the regressors, on another

More information

Problem Set #6: OLS. Economics 835: Econometrics. Fall 2012

Problem Set #6: OLS. Economics 835: Econometrics. Fall 2012 Problem Set #6: OLS Economics 835: Econometrics Fall 202 A preliminary result Suppose we have a random sample of size n on the scalar random variables (x, y) with finite means, variances, and covariance.

More information