ECON Introductory Econometrics. Lecture 7: OLS with Multiple Regressors Hypotheses tests
|
|
- Annis Webster
- 5 years ago
- Views:
Transcription
1 ECON Introductory Econometrics Lecture 7: OLS with Multiple Regressors Hypotheses tests Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 7
2 Lecture outline 2 Hypothesis test for single coefficient in multiple regression analysis Confidence interval for single coefficient in multiple regression Testing hypotheses on 2 or more coefficients The F-statistic The overall regression F-statistic Testing single restrictions involving multiple coefficients Measures of fit in multiple regression model SER, R 2 and R 2 Relation between (homoskedasticity-only) F-statistic and the R 2 Interpreting measures of fit Interpreting stars in a table with regression output
3 Hypothesis test for single coefficient in multiple regression Thursday February 2 14:18: Page 1 analysis 1. regress test_score class_size el_pct, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(2, 417) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct _cons Does changing class size,while holding the percentage of English learners constant, have a statistically significant effect on test scores? (using a 5% significance level).
4 Hypothesis test for single coefficient in multiple regression analysis 4 Under the 4 Least Squares assumptions of the multiple regression model: Assumption 1: E (u i X 1i,..., X ki ) = 0 Assumption 2: (Y i, X 1i,..., X ki ) for i = 1,..., n are (i.i.d) Assumption 3: Large outliers are unlikely Assumption 4: No perfect multicollinearity The OLS estimators β j for j = 1,.., k are approximately normally distributed in large samples In addition t = β j β ( j0 ) N (0, 1) SE βj We can thus perform, hypothesis tests in same way as in regression model with 1 regressor.
5 Hypothesis test for single coefficient in multiple regression analysis 5 H 0 : β j = β j,0 H 1 : β j β j,0 Step 1: Estimate Y i = β 0 + β 1 X 1i β j X ji β 1 X ki + u i by OLS to obtain β j Step 2: Compute the standard error of β j (requires matrix algebra) Step 3: Compute the t-statistic Step 4: Reject the null hypothesis if t act = β j β j,0 ) SE ( βj t act > critical value or if p value < significance level
6 Hypothesis test for single coefficient in multiple regression analysis 6 Does changing class size, while holding the percentage of English learners constant, have a statistically significant effect on test scores? (using a 5% significance level) H 0 : β ClassSize = 0 H 1 : β ClassSize 0 Step 1: βclasssize = 1.10 Step 2: SE ( βclasssize ) = 0.43 Step 3: Compute the t-statistic t act = = 2.54 Step 4: Reject the null hypothesis at 5% significance level 2.54 > 1.96 and p value = < 0.05 Do we reject H 0 at a 1% significance level?
7 (R) 7 / / / / / / / / / / / / Statistics/Data Analysis Confidence interval for single coefficient in multiple regression 1. regress test_score class_size el_pct, robust Linear regression Number of obs = 420 F(2, 417) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct _cons % confidence interval for β ClassSize given in regression output 99% confidence interval for β ClassSize : ) β ClassSize ± 2.58 SE ( βclasssize 1.10 ± ( 2.21 ; 0.01)
8 Hypothesis tests on 2 or more coefficients 8 We add two more variables, both measuring what % of students come from families with low income meal pct i measures % of students in district eligible for a free lunch Tuesday February 7 11:33: Page 1 calw pct i measures % of students in district eligible for social assistance under a program called CALWORKS 1. regress test_score class_size el_pct meal_pct calw_pct, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons
9 Testing 2 hypotheses on 2 or more coefficients 9 H 0 : β meal pct = 0 H 1 : β meal pct 0 Step 1: βmeal pct = Step 2: SE ( βmeal pct ) = Step 3: t meal pct = = Step 4: Reject the null hypothesis at 5% significance level ( > 1.96 ) Step 1: βcalw pct = Step 2: SE H 0 : β calw pct = 0 H 1 : β calw pct 0 ( βcalw pct ) = Step 3: t calw pct = = 0.82 Step 4: Don t reject the null hypothesis at 5% significance level ( 0.82 < 1.96 )
10 Testing 1 hypothesis on 2 or more coefficients 10 Suppose we want to test hypothesis that both the coefficient on % eligible for a free lunch and the coefficient on % eligible for calworks are zero? H 0 : β meal pct = 0 & β calw pct = 0 H 1 : β meal pct 0 and/or β calw pct 0 What if we reject H 0 if either t meal pct or t calw pct exceeds 1.96 (5% sign. level)? If t meal pct and t calw pct are uncorrelated: Pr ( t meal pct > 1.96 and/or t calw pct > 1.96 ) = 1 Pr ( t meal pct 1.96 & t calw pct 1.96 ) = 1 Pr(t meal pct 1.96) Pr(t calw pct 1.96) = = > 0.05 If t meal pct and t calw pct are correlated situation is even more complicated!
11 Testing 1 hypothesis on 2 or more coefficients 11 If we want to test joint hypotheses that involves multiple coefficients we need to use an F-test based on the F-statistic F-statistic with q = 2 restrictions: when testing the following hypothesis H 0 : β 1 = 0 & β 2 = 0 H 1 : β 1 0 and/or β 2 0 the F-statistic combines the two t-statistics as follows ( ) F = 1 t1 2 + t2 2 2 ρ t1 t 2 t 1 t ρ 2 t 1 t 2 Equation illustrates that the F-statistic takes the potential correlation between the individual t-statistics into account In practice we use a software program to compute the F-statistic.
12 Tuesday February 7 14:44: Page 1 Testing 1 hypothesis on 2 or more coefficients (R) / / / / / / / / / / / / Statistics/Data Analysis 1. regress test_score class_size el_pct meal_pct calw_pct, robust Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons test meal_pct calw_pct ( 1) meal_pct = 0 ( 2) calw_pct = 0 F( 2, 415) =
13 Testing 1 hypothesis on 2 or more coefficients 13 We want to test hypothesis that both the coefficient on % eligible for a free lunch and the coefficient on % eligible for calworks are zero? H 0 : β meal pct = 0 & β calw pct = 0 H 1 : β meal pct 0 and/or β calw pct 0 The null hypothesis consists of two restrictions q = 2 It can be shown that the F-statistic with two restrictions has an approximate F 2, distribution in large samples Previous slide shows F = Table 4 (S&W page 807) shows that the critical value at a 5% significance level equals 3.00 (Pr H0 (F 2, > 3.00) = 0.05) This implies that we reject H 0 at a 5% significance level because > 3.00.
14 Printing is for personal, private use only. No part of this book may be reproduced or transmitted 14 wi Violators will be prosecuted. Testing 1 hypothesis on 2 or more coefficients
15 15 General procedure for testing joint hypothesis with q restrictions H 0 : β j = β j,0,..., β m = β m0 for a total of q restrictions H 1 : at least one of q restrictions under H 0 does not hold Step 1: Estimate Y i = β 0 + β 1 X 1i β j X ji β 1 X ki + u i by OLS Step 2: Compute the F-statistic Step 3: Reject the null hypothesis if F-statistic> Fq, critical with Pr ( ) F q, > Fq, critical = significance level
16 Tuesday February 7 16:02: Page 1 Testing a joint hypothesis with q=3 restrictions (R) / / / / / / / / / / / / Statistics/Data Analysis 1. regress test_score class_size el_pct meal_pct calw_pct, robust Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons test el_pct meal_pct calw_pct ( 1) el_pct = 0 ( 2) meal_pct = 0 ( 3) calw_pct = 0 F( 3, 415) =
17 Testing a joint hypothesis with q=3 restrictions 17 H 0 : β el pct = 0 & β meal pct = 0 & β calw pct = 0 H 1 : β el pct 0 and/or β meal pct 0 and/or β calw pct 0 Step 1: see previous slide Step 2: F-statistic= Step 3: We reject the null hypothesis at a 5% significance level because F-statistic> F critical 3, = 2.6
18 Testing a joint hypothesis with q=1 restriction 18 H 0 : β 1 = 0 H 1 : β 1 0 We have tested hypotheses that involve 1 restriction on 1 coefficient using the t-statistic We can also test these type of hypotheses using the F-statistic On slide 11 we saw that with q = 2 restrictions: ( ) F = 1 t1 2 + t2 2 2 ρ t1 t 2 t 1 t ρ 2 t 1 t 2 With q = 1 restriction we have F = t 2
19 Wednesday February 8 09:34: Page 1 Testing a joint hypothesis with q=1 restriction (R) / / / / / / / / / / / / Statistics/Data Analysis 1. regress test_score class_size el_pct meal_pct calw_pct, robust Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons test class_size ( 1) class_size = 0 F( 1, 415) = Prob > F =
20 The overall regression F-statistic 20 The overall F-statistic test the joint hypothesis that all the k slope coefficients are zero H 0 : β 1 = 0,..., β k = 0 for a total of q = k restrictions Tuesday February 7 11:33: Page 1 H 1 : at least one of q = k restrictions under H 0 does not hold 1. regress test_score class_size el_pct meal_pct calw_pct, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons Overall regression F-statistic equals
21 Testing single restrictions involving multiple coefficients 21 The % of students eligible for a free lunch and the % of students eligible for CALWORKS both measure whether students come from families with very low income Suppose we want to test whether coefficient on meal pct i equals the coefficient on calw pct i H 0 : β meal pct = β calw pct vs H 1 : β meal pct β calw pct There are two ways to perform this hypothesis test: 1 Transform regression model such that above H 0 is transformed to a null hypothesis that involves only 1 coefficient. 2 Test above restriction directly in software program (possible in Stata, not necessarily in all programs)
22 Testing single restrictions involving multiple coefficients 1.Transform regression model 22. H 0 : β 1 = β 2 vs H 1 : β 1 β 2 Suppose we have regression model with only two regressors: Y i = β 0 + β 1 X 1i + β 2 X 2i + u i add & subtract β 2 X 1i = β 0 + β 1 X 1i β 2 X 1i + β 2 X 1i + β 2 X 2i + u i rewrite = β 0 + (β 1 β 2 ) X 1i + β 2 (X 1i + X 2i ) + u i = β 0 + γx 1i + β 2 W i + u i Transformed hypothesis test: H 0 : γ = 0 vs H 1 : γ 0
23 Wednesday February 8 09:38: Page 1 Testing single restrictions involving multiple coefficients 1.Transform regression model 1. gen W = meal_pct + calw_pct regress test_score class_size el_pct meal_pct W, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct W _cons test meal_pct ( 1) meal_pct = 0 F( 1, 415) =
24 Testing Wednesday single February restrictions 8 10:00: involving Page 1 multiple coefficients 2. Test restriction directly in software program 1. regress test_score class_size el_pct meal_pct calw_pct, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons test meal_pct=calw_pct ( 1) meal_pct - calw_pct = 0 F( 1, 415) =
25 Measures of fit in multiple regression model 25 There are 3 measures that measure how well the OLS estimate of the multiple regression line describes or fits the data The Standard Error of the Regression (SER) SER = 1 n n k 1 i=1 û i The R 2 R 2 = ESS TSS = 1 SSR TSS The adjusted R 2 R 2 = 1 n 1 SSR n k 1 TSS
26 The SER in the multiple regression model 26 SER = 1 n û i n k 1 i=1 The SER estimates the standard deviation of the error term u i Tuesday February 7 11:33: Page 1 It measures spread of distribution of Y around regression line. n k 1 is degrees of freedom correction 1. regress test_score class_size el_pct meal_pct calw_pct, robust (R) / / / / / / / / / / / / Statistics/Data Analysis Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons The SER = Root MSE =
27 The R 2 27 The R 2 is the fraction of the sample variance of Y i explained/predicted by X 1i,..., X ki The R 2 is the ratio of the sample variance of Ŷi and the sample variance of Y i ) 2 n R 2 = ESS TSS = i=1 (Ŷi Y ( ) 2 = 1 SSR n TSS i=1 Y i Y In the multiple regression model the R 2 always increases when a regressor is added Also when this additional regressor explains very little of Y! Reason: whenever estimated coefficient on additional regressor is not exactly zero the SSR = n i=1 ûi is reduced.
28 The R 2 (R) / / / / / / / / / / / / Statistics/Data Analysis regress test_score class_size el_pct meal_pct, robust Linear regression Number of obs = 420 F(3, 416) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct _cons regress test_score class_size el_pct meal_pct calw_pct, robust Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons
29 The R 2 and the homoskedasticity-only F-statistic 29 There is a link between the F-statistic and the R 2 This link can be easily displayed when we assume homoskedastic errors: F homoskedasticity = (SSR restricted SSR unrestricted ) /q SSR unrestricted / (n k unrestricted 1) with SSR restricted the sum of squared residuals assuming the q restriction under H o hold and SSR unrestricted the sum of squared residuals assuming the q restriction under H o do not hold Since R 2 = 1 SSR we can also write TSS ( ) R 2 F homoskedasticity unrestricted Rrestricted 2 /q = ( ) 1 R 2 unrestricted / (n kunrestricted 1)
30 The R 2 and the homoskedasticity-only F-statistic 1. regress test_score class_size (R) 30 / / / / / / / / / / / / Statistics/Data Analysis Source SS df MS Number of obs = 420 F(1, 418) = Model Residual R-squared = Adj R-squared = Total Root MSE = test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size _cons regress test_score class_size el_pct meal_pct calw_pct Source SS df MS Number of obs = 420 F(4, 415) = Model Residual R-squared = Adj R-squared = Total Root MSE = test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons
31 The R 2 and the homoskedasticity-only F-statistic 31 H 0 : β el pct = 0 & β meal pct = 0 & β calw pct = 0 H 1 : β el pct 0 and/or β meal pct 0 and/or β calw pct 0 From previous slide: R 2 restricted = R 2 unrestricted = n = 420, q = 3 and k unrestricted = 4. F homoskedasticity = ( ) /3 ( ) / ( ) =
32 Wednesday February 8 10:58: Page 1 The R 2 and the homoskedasticity-only F-statistic (R) / / / / / / / / / / / / Statistics/Data Analysis 1. regress test_score class_size el_pct meal_pct calw_pct Source SS df MS Number of obs = 420 F(4, 415) = Model Residual R-squared = Adj R-squared = Total Root MSE = test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons test el_pct meal_pct calw_pct ( 1) el_pct = 0 ( 2) meal_pct = 0 ( 3) calw_pct = 0 F( 3, 415) =
33 The adjusted R 2 33 The R 2 increases whenever a regressor is added. also when regressor explains very little of Y and does not improve the fit of the model We can correct for this by deflating the R 2 which gives the adjusted R 2 R 2 = 1 n 1 SSR n k 1 TSS When we add a regressor: SSR = n i=1 û2 i decreases (whenever coefficient estimate is not exactly zero) k increases, which increases n 1 n k 1
34 Wednesday February 8 11:28: Page 1 The adjusted R 2 (R) / / / / / / / / / / / / Statistics/Data Analysis regress test_score class_size el_pct meal_pct, robust Linear regression Number of obs = 420 F(3, 416) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct _cons display e(r2_a) regress test_score class_size el_pct meal_pct calw_pct, robust Linear regression Number of obs = 420 F(4, 415) = R-squared = Root MSE = Robust test_score Coef. Std. Err. t P> t [95% Conf. Interval] class_size el_pct meal_pct calw_pct _cons display e(r2_a)
35 Interpreting measures of fit 35 The R 2 or adjusted R 2 tell you whether the regressors are good at predicting or explaining the values of the dependent variable in the sample of data. An R 2 (R 2 ) near 1 implies that X 1i,.., X ki produce good predictions of Y i An R 2 (R 2 ) near 0 implies that X 1i,.., X ki don t produce good predictions of Y i It is important not rely too much on the R 2 (R 2 ) Maximizing the R 2 (R 2 ) rarely answers an economically meaningfull question!
36 Interpreting measures of fit 36 A high R 2 (R 2 ) does NOT tell you whether: An included variable is statistically significant. you need to perform an hypothesis test using a t- or F-statistic The coefficients measure the true causal effect of the regressors The OLS estimators are only unbiased & consistent estimators if all Least Squares assumptions hold! There is omitted variable bias Omitted variable bias implies violation of 1st Least Squares assumption, this cannot be assessed by R 2 (R 2 ) You have chosen the most appropriate set of regressors Appropriate depends on question of interest When estimating a causal effect, OLS assumptions should hold
37 Interpreting *stars* in a table with regression output 37 Dependent variable: district average test scores Class size *** ** *** *** (0.519) (0.433) (0.270) (0.269) Percentage of English learners *** *** *** (0.031) (0.033) (0.036) Percentage with free lunch *** *** (0.024) (0.038) Percentage with CALWORKS (0.059) N Note: * significant at 10% level, ** significant at 5% level, *** significant at 1% level
ECON Introductory Econometrics. Lecture 6: OLS with Multiple Regressors
ECON4150 - Introductory Econometrics Lecture 6: OLS with Multiple Regressors Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 6 Lecture outline 2 Violation of first Least Squares assumption
More informationECON 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 informationApplied 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 informationHypothesis 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 informationECON 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 informationChapter 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 informationECON 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 informationApplied 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 informationLinear 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 informationHypothesis 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 informationIntroduction 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 informationNonlinear 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 informationLecture 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 informationIntroduction 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 informationMultiple 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 informationECON 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 informationECON 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 informationChapter 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 informationECON3150/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 informationECON3150/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 informationEconometrics 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 informationECON 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 information2. 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 informationECO220Y 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 informationEconometrics 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 informationApplied 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 informationECON3150/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 informationRegression 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 informationLinear 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 informationApplied 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 informationECON 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 informationECO321: 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 information1: 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 informationReview 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 informationThe F distribution. If: 1. u 1,,u n are normally distributed; and 2. X i is distributed independently of u i (so in particular u i is homoskedastic)
The F distribution If: 1. u 1,,u n are normally distributed; and. X i is distributed independently of u i (so in particular u i is homoskedastic) then the homoskedasticity-only F-statistic has the F q,n-k
More information2) For a normal distribution, the skewness and kurtosis measures are as follows: A) 1.96 and 4 B) 1 and 2 C) 0 and 3 D) 0 and 0
Introduction to Econometrics Midterm April 26, 2011 Name Student ID MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. (5,000 credit for each correct
More informationIntroductory 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 informationThe 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 informationEconometrics 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 informationFinal Exam. Question 1 (20 points) 2 (25 points) 3 (30 points) 4 (25 points) 5 (10 points) 6 (40 points) Total (150 points) Bonus question (10)
Name Economics 170 Spring 2004 Honor pledge: I have neither given nor received aid on this exam including the preparation of my one page formula list and the preparation of the Stata assignment for the
More informationExam 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 informationEssential 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 informationIntroduction 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 informationStatistical 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 informationContest 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 informationEmpirical 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 informationRecall that a measure of fit is the sum of squared residuals: where. The F-test statistic may be written as:
1 Joint hypotheses The null and alternative hypotheses can usually be interpreted as a restricted model ( ) and an model ( ). In our example: Note that if the model fits significantly better than the restricted
More informationP1.T2. Stock & Watson Chapters 4 & 5. Bionic Turtle FRM Video Tutorials. By: David Harper CFA, FRM, CIPM
P1.T2. Stock & Watson Chapters 4 & 5 Bionic Turtle FRM Video Tutorials By: David Harper CFA, FRM, CIPM Note: This tutorial is for paid members only. You know who you are. Anybody else is using an illegal
More informationProblem 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 informationEconomics 326 Methods of Empirical Research in Economics. Lecture 14: Hypothesis testing in the multiple regression model, Part 2
Economics 326 Methods of Empirical Research in Economics Lecture 14: Hypothesis testing in the multiple regression model, Part 2 Vadim Marmer University of British Columbia May 5, 2010 Multiple restrictions
More informationProblem Set #3-Key. wage Coef. Std. Err. t P> t [95% Conf. Interval]
Problem Set #3-Key Sonoma State University Economics 317- Introduction to Econometrics Dr. Cuellar 1. Use the data set Wage1.dta to answer the following questions. a. For the regression model Wage i =
More information6. 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 informationMGEC11H3Y L01 Introduction to Regression Analysis Term Test Friday July 5, PM Instructor: Victor Yu
Last Name (Print): Solution First Name (Print): Student Number: MGECHY L Introduction to Regression Analysis Term Test Friday July, PM Instructor: Victor Yu Aids allowed: Time allowed: Calculator and one
More informationCorrelation and Simple Linear Regression
Correlation and Simple Linear Regression Sasivimol Rattanasiri, Ph.D Section for Clinical Epidemiology and Biostatistics Ramathibodi Hospital, Mahidol University E-mail: sasivimol.rat@mahidol.ac.th 1 Outline
More informationLecture 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 informationEconometrics Homework 1
Econometrics Homework Due Date: March, 24. by This problem set includes questions for Lecture -4 covered before midterm exam. Question Let z be a random column vector of size 3 : z = @ (a) Write out z
More informationLab 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 informationLinear Regression with 1 Regressor. Introduction to Econometrics Spring 2012 Ken Simons
Linear Regression with 1 Regressor Introduction to Econometrics Spring 2012 Ken Simons Linear Regression with 1 Regressor 1. The regression equation 2. Estimating the equation 3. Assumptions required for
More informationLecture 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 informationLab 11 - Heteroskedasticity
Lab 11 - Heteroskedasticity Spring 2017 Contents 1 Introduction 2 2 Heteroskedasticity 2 3 Addressing heteroskedasticity in Stata 3 4 Testing for heteroskedasticity 4 5 A simple example 5 1 1 Introduction
More informationLecture #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 informationCh 2: Simple Linear Regression
Ch 2: Simple Linear Regression 1. Simple Linear Regression Model A simple regression model with a single regressor x is y = β 0 + β 1 x + ɛ, where we assume that the error ɛ is independent random component
More information1 Linear Regression Analysis The Mincer Wage Equation Data Econometric Model Estimation... 11
Econ 495 - Econometric Review 1 Contents 1 Linear Regression Analysis 4 1.1 The Mincer Wage Equation................. 4 1.2 Data............................. 6 1.3 Econometric Model.....................
More informationLECTURE 6. Introduction to Econometrics. Hypothesis testing & Goodness of fit
LECTURE 6 Introduction to Econometrics Hypothesis testing & Goodness of fit October 25, 2016 1 / 23 ON TODAY S LECTURE We will explain how multiple hypotheses are tested in a regression model We will define
More informationQuestion 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 information1 Independent Practice: Hypothesis tests for one parameter:
1 Independent Practice: Hypothesis tests for one parameter: Data from the Indian DHS survey from 2006 includes a measure of autonomy of the women surveyed (a scale from 0-10, 10 being the most autonomous)
More informationLecture 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 informationSection I. Define or explain the following terms (3 points each) 1. centered vs. uncentered 2 R - 2. Frisch theorem -
First Exam: Economics 388, Econometrics Spring 006 in R. Butler s class YOUR NAME: Section I (30 points) Questions 1-10 (3 points each) Section II (40 points) Questions 11-15 (10 points each) Section III
More informationSimple Linear Regression: The Model
Simple Linear Regression: The Model task: quantifying the effect of change X in X on Y, with some constant β 1 : Y = β 1 X, linear relationship between X and Y, however, relationship subject to a random
More information(a) Briefly discuss the advantage of using panel data in this situation rather than pure crosssections
Answer Key Fixed Effect and First Difference Models 1. See discussion in class.. David Neumark and William Wascher published a study in 199 of the effect of minimum wages on teenage employment using a
More informationAnswer all questions from part I. Answer two question from part II.a, and one question from part II.b.
B203: Quantitative Methods Answer all questions from part I. Answer two question from part II.a, and one question from part II.b. Part I: Compulsory Questions. Answer all questions. Each question carries
More informationLecture 7: OLS with qualitative information
Lecture 7: OLS with qualitative information Dummy variables Dummy variable: an indicator that says whether a particular observation is in a category or not Like a light switch: on or off Most useful values:
More informationECON2228 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 informationRegression #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 information1. The shoe size of five randomly selected men in the class is 7, 7.5, 6, 6.5 the shoe size of 4 randomly selected women is 6, 5.
Economics 3 Introduction to Econometrics Winter 2004 Professor Dobkin Name Final Exam (Sample) You must answer all the questions. The exam is closed book and closed notes you may use calculators. You must
More informationIntroduction 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 informationWISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, Academic Year Exam Version: A
WISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, 2016-17 Academic Year Exam Version: A INSTRUCTIONS TO STUDENTS 1 The time allowed for this examination paper is 2 hours. 2 This
More informationRecent 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 informationLecture 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 informationLecture 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 informationLab 6 - Simple Regression
Lab 6 - Simple Regression Spring 2017 Contents 1 Thinking About Regression 2 2 Regression Output 3 3 Fitted Values 5 4 Residuals 6 5 Functional Forms 8 Updated from Stata tutorials provided by Prof. Cichello
More informationQuestion 1 [17 points]: (ch 11)
Question 1 [17 points]: (ch 11) A study analyzed the probability that Major League Baseball (MLB) players "survive" for another season, or, in other words, play one more season. They studied a model of
More informationFinal Exam. 1. Definitions: Briefly Define each of the following terms as they relate to the material covered in class.
Name Answer Key Economics 170 Spring 2003 Honor pledge: I have neither given nor received aid on this exam including the preparation of my one page formula list and the preparation of the Stata assignment
More informationWarwick Economics Summer School Topics in Microeconometrics Instrumental Variables Estimation
Warwick Economics Summer School Topics in Microeconometrics Instrumental Variables Estimation Michele Aquaro University of Warwick This version: July 21, 2016 1 / 31 Reading material Textbook: Introductory
More informationMotivation 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 informationProblem 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 informationQuestion 1 carries a weight of 25%; Question 2 carries 20%; Question 3 carries 20%; Question 4 carries 35%.
UNIVERSITY OF EAST ANGLIA School of Economics Main Series PGT Examination 017-18 ECONOMETRIC METHODS ECO-7000A Time allowed: hours Answer ALL FOUR Questions. Question 1 carries a weight of 5%; Question
More informationGraduate Econometrics Lecture 4: Heteroskedasticity
Graduate Econometrics Lecture 4: Heteroskedasticity Department of Economics University of Gothenburg November 30, 2014 1/43 and Autocorrelation Consequences for OLS Estimator Begin from the linear model
More information2.1. Consider the following production function, known in the literature as the transcendental production function (TPF).
CHAPTER Functional Forms of Regression Models.1. Consider the following production function, known in the literature as the transcendental production function (TPF). Q i B 1 L B i K i B 3 e B L B K 4 i
More informationEconometrics -- Final Exam (Sample)
Econometrics -- Final Exam (Sample) 1) The sample regression line estimated by OLS A) has an intercept that is equal to zero. B) is the same as the population regression line. C) cannot have negative and
More informationEconometrics 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 information8. Nonstandard standard error issues 8.1. The bias of robust standard errors
8.1. The bias of robust standard errors Bias Robust standard errors are now easily obtained using e.g. Stata option robust Robust standard errors are preferable to normal standard errors when residuals
More informationStatistical Modelling in Stata 5: Linear Models
Statistical Modelling in Stata 5: Linear Models Mark Lunt Arthritis Research UK Epidemiology Unit University of Manchester 07/11/2017 Structure This Week What is a linear model? How good is my model? Does
More informationHandout 12. Endogeneity & Simultaneous Equation Models
Handout 12. Endogeneity & Simultaneous Equation Models In which you learn about another potential source of endogeneity caused by the simultaneous determination of economic variables, and learn how to
More informationQuantitative Methods Final Exam (2017/1)
Quantitative Methods Final Exam (2017/1) 1. Please write down your name and student ID number. 2. Calculator is allowed during the exam, but DO NOT use a smartphone. 3. List your answers (together with
More informationComputer Exercise 3 Answers Hypothesis Testing
Computer Exercise 3 Answers Hypothesis Testing. reg lnhpay xper yearsed tenure ---------+------------------------------ F( 3, 6221) = 512.58 Model 457.732594 3 152.577531 Residual 1851.79026 6221.297667619
More informationIntroduction to Econometrics. Review of Probability & Statistics
1 Introduction to Econometrics Review of Probability & Statistics Peerapat Wongchaiwat, Ph.D. wongchaiwat@hotmail.com Introduction 2 What is Econometrics? Econometrics consists of the application of mathematical
More information4 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 information5. Let W follow a normal distribution with mean of μ and the variance of 1. Then, the pdf of W is
Practice Final Exam Last Name:, First Name:. Please write LEGIBLY. Answer all questions on this exam in the space provided (you may use the back of any page if you need more space). Show all work but do
More information8. Instrumental variables regression
8. Instrumental variables regression Recall: In Section 5 we analyzed five sources of estimation bias arising because the regressor is correlated with the error term Violation of the first OLS assumption
More information