ECON Introductory Econometrics. Lecture 4: Linear Regression with One Regressor
|
|
- Abraham Butler
- 5 years ago
- Views:
Transcription
1 ECON Introductory Econometrics Lecture 4: Linear Regression with One Regressor Monique de Haan (moniqued@econ.uio.no) Stock and Watson Chapter 4
2 Lecture outline 2 The OLS estimators The effect of class size on test scores The Least Squares Assumptions E (u i X i ) = 0 (X i, Y i ) are i.i.d Large outliers are unlikely Properties of the OLS estimators unbiasedness consistency large sample distribution The compulsory term paper
3 The OLS estimators 3 Question of interest: What is the effect of a change in X i on Y i? Y i = β 0 + β 1 X i + u i Last week we derived the OLS estimators of β 0 and β 1 : β 0 = Y β 1 X β 1 = 1 n n 1 i=1(x i X)(Y i Y) n i=1(x i X)(X i X) = sxy 1 n 1 s 2 x,
4 OLS estimates: The effect of class size on test scores 4 Friday January 13 14:48: Page 1 Question of interest: What is the effect of a change in class size on test scores? / / / / / / / TestScore i = β 0 + β 1 ClassSize i + u i 1. regress test_score class_size, robust (R) / / / / / 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] class_size _cons TestScore i = ClassSize i
5 The Least Squares assumptions 5 Y i = β 0 + β 1 X i + u i Under what assumptions does the method of ordinary least squares provide appropriate estimators of β 0 and β 0? Under what assumptions does the method of ordinary least squares provide an appropriate estimator of the effect of class size on test scores? The Least Squares assumptions: Assumption 1: The conditional mean of u i given X i is zero E (u i X i ) = 0 Assumption 2: (Y i, X i ) for i = 1,..., n are independently and identically distributed (i.i.d) Assumption 3: Large outliers are unlikely ( ) ( 0 < E < & 0 < E X 4 i Y 4 i ) <
6 The Least Squares assumptions: Assumption 1 6 The first OLS assumption states that: E (u i X i ) = 0 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.
7 The Least Squares assumptions: Assumption 1 7 The first OLS assumption can also be written as: E (Y i X i ) = E (β 0 + β 1 X i + u i X i ) Expectation rules = β 0 + β 1 E (X i X i ) + E (u i X i ) ASS#1 : E (u i X i ) = 0 = β 0 + β 1 X i
8 The Least Squares assumptions: Assumption 1 8 E (Y i X i ) = β 0 + β 1
9 The Least Squares assumptions: Assumption 1 9 Example of a violation of assumption 1: Suppose that districts which wealthy inhabitants have small classes and good teachers these districts have a lot of money which they can use to hire more and better teachers districts with poor inhabitants have large classes and bad teachers. These districts have little money and can hire only few and not very good teachers In this case class size is related to teacher quality. Since teacher quality likely affects test scores it 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
10 The Least Squares assumptions: Assumption 2 10 (Y i, X i ) for i = 1,..., n are i.i.d If the sample is drawn by simple random sampling assumption 2 will hold Example: What is effect of mother s education (X i ) on child s education (Y i ) Example of simple random sampling: randomly draw sample of mother s with information on her education and the education of one randomly selected child (Y i, X i ) for i = 1,..., n are i.i.d Example of a violation of simple random sampling randomly draw sample of mothers with information on her education and the education of all of her children. (Y i, X i ) for i = 1,..., n are NOT i.i.d Observations on children from the same mother are not independent!
11 The Least Squares assumptions: Assumption 3 11 Large outliers are unlikely ( ) ( ) 0 < E < & 0 < E < X 4 i Y 4 i Outliers are observations that have values far outside the usual range of the data Large outliers can make OLS regression results misleading Another way to state assumption is that X and Y have finite kurtosis. Assumption is necessary to justify the large sample approximation to the sampling distribution of the OLS estimators
12 The Least Squares assumptions: Assumption 3 12
13 Use of the Least Squares assumptions 13 Y i = β 0 + β 1 X i + u i Assumption 1: E (u i X i ) = 0 Assumption 2: (Y i, X i ) for i = 1,..., n are i.i.d Assumption 3: Large outliers are unlikely If the 3 least squares assumptions hold the OLS estimators β 0 and β 1 Are unbiased estimators of β 0 and β 1 Are consistent estimators of β 0 and β 1 Have a jointly normal sampling distribution
14 Properties of the OLS estimator: unbiasedness 14 Y i = β 0 + β 1 X i + u i Y = β 0 + β 1 X i + u ] E [ β1 = E ] i=1(x i X)(Y i Y) n i=1(x i X)(X i X) [ n substitute for Y i, Y = E [ n i=1(x i X)(β 0 +β 1 X i +u i (β 0 +β 1 X+u)) n i=1(x i X)(X i X) rewrite (β 0 drops out) = E [ n i=1(x i X)(β 1 (X i X)+(u i u)) n i=1(x i X)(X i X) rewrite & use expectation rules [ β n ] [ n ] 1 i=1(x i X)(X i X) i=1(x i X)(u i u) = E n + E i=1(x i X)(X i X) n i=1(x i X)(X i X) ] ]
15 Properties of the OLS estimator: unbiasedness 15. ] E [ β1 [ β ni=1 ] [ ni=1 ] = E 1 (X i X)(X i X) (X ni=1 + E i X)(u i u) (X i X)(X i X) ni=1 (X i X)(X i X) take β 1 out of 1st expectation Algebra trick [ ni=1 ] (X = β 1 + E i X)u i ni=1 (X i X)(X i X) Law of iterated expectations [ ni=1 ] (X = β 1 + E i X)E[u i X i ] ni=1 (X i X)(X i X) ] E [ β1 = β 1 if E [u i X i ] = 0
16 Algebra trick 16 ( ) n i=1 X i X (u i u) = n i=1 X iu i n i=1 X iu n i=1 Xu i + n i=1 Xu = n i=1 X iu i n ( 1 n n i=1 X i) u n i=1 Xu i + nxu = n i=1 X iu i nxu + n i=1 Xu i+nxu = n i=1 X iu i n i=1 Xu i = n i=1 ( X i X ) u i
17 Consistency 17 Consistency: β 1 p β 1 or plim β 1 = β 1 Plim β 1 = plim ( ni=1 ) (X i X)(Y i Y) ni=1 (X i X)(X i X) = Plim 1 Plim 1 ni=1 n 1 (X i X)(Y i Y) ni=1 n 1 (X i X)(X i X) law of large numbers OLS assumptions 2 and 3 = s XY s 2 X = Cov(X i,y i ) Var(X i ) substitute for Y i = Cov(X i,β 0 +β 1 X i +u i ) Var(X i ) see Key Concept 2.3 = β 1Var(X i )+Cov(X i,u i ) Var(X i )
18 Consistency 18 Plim β 1 = β 1Var(X i )+Cov(X i,u i ) Var(X i ) Var(X = β i ) 1 + Cov(X i,u i ) Var(X i ) Var(X i ) substitute covariance expression = β 1 + E[(X i µ x )(u i µ u)] Var(X i ) algebra trick = β 1 + E[(X i µ x )u i ] Var(X i ) Law of iterated expectations so = β 1 + E[(X i µ x )E[u i X i ]] Var(X i ) Plim β 1 = β 1 if E [u i X i ] = 0
19 Unbiasedness vs Consistency 19 Unbiasedness & consistency both rely on E [u i X i ] = 0 [ ] Unbiasedness implies that E β1 = β 1 for a given sample size n Consistency implies that the sampling distribution becomes more and more tightly distributed around β 1 if the sample size n becomes larger and larger.
20 Consistency: A simulation example 20 Lets create a data set with 100 observations X i N(0, 1) u i N(0, 1) We define Y to depend on X as: Y i = 1 + 2X i + u i Thursday January 19 12:00: Page 1 1. sum y x set obs 1000 (R) gen x=invnorm(uniform()) / / / / / / / / / / / / gen y=1+2*x+invnorm(uniform()) Statistics/Data Analysis Variable Obs Mean Std. Dev. Min Max y x
21 A simulation example 21 5 Y 0 Thursday January 19 12:01: Page (R) X / / / / / / / / / / / / Statistics/Data Analysis 1. regress y x 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
22 A simulation example n= Monday February 16 16:57: Page 1 We can create 999 of these data sets with 100 observations and use OLS to estimate Y i = β 0 + β 1 + u i 1. program define ols, rclass 1. drop _all 2. set obs gen x=invnorm(uniform()) 4. gen y=1+2*x+invnorm(uniform()) 5. regress y x 6. 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_cons
23 A simulation example n= OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1
24 A simulation example n=1000 Tuesday February 17 13:03: Page 1 24 (R) / / / / / / / / / / / / Statistics/Data Analysis 1. program define ols, rclass 1. drop _all 2. set obs gen x=invnorm(uniform()) 4. gen y=1+2*x+invnorm(uniform()) 5. regress y x 6. end simulate _b, reps(999) nodots : ols command: ols 4. sum Variable Obs Mean Std. Dev. Min Max _b_x _b_cons
25 A simulation example n= OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1
26 A simulation Friday January example 20 12:01:22 n= Page 1 26 (R) / / / / / / / / / / / / Statistics/Data Analysis 1. program define ols, rclass 1. drop _all 2. set obs gen x=invnorm(uniform()) 4. gen y=1+2*x+invnorm(uniform()) 5. regress y x 6. end simulate _b, reps(999) nodots: ols command: ols 4. sum Variable Obs Mean Std. Dev. Min Max _b_x _b_cons
27 A simulation example n= OLS estimates of B 1 in 999 samples with n= OLS estimates of B 1
28 . 28 Consistency of the OLS estimator of β 1 True model : Y i = 1 + 2X i + u i, Estimated model : Y i = β 0 + β 1 X i + u 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
29 29 Sampling distribution of β 0 and β 1 We discussed the sampling distribution of the sample average Y : sampling distribution is complicated for small n, but if Y 1,..., Y n are i.i.d. we know that ( ) E Y = µ Y By the Central Limit theorem the large sample distribution can be approximated by the normal distribution: ( ) Y N µ Y, σ2 Y n If the 3 least squares assumptions hold we can make similar statements about the OLS estimators β 0 and β 1
30 30 Large-sample distribution of β 0 and β 1 Technically the Central Limit theorem concerns the large sample distribution of averages (like Y ) Examining the formulas of the OLS estimators shows that these are functions of sample averages: β 0 = Y β 1 X n β 1 = 1 ni=1 (X i X)(Y i Y) 1 ni=1 n (X i X)(X i X) It turns out that the Central Limit theorem also applies to these functions of sample averages.
31 31 Sampling distribution of β 0 and β 1 If the first least squares assumption holds: The OLS estimators are unbiased which implies that (for any sample size n) ) ) E ( β0 = β 0 and E ( β1 = β 1 In addition, if all 3 least squares assumptions hold The Central Limit theorem implies that β 0 and β 1 are approximately jointly normally distributed in large samples: ) β 0 N (β 0, σ 2 β0 ) β 1 N (β 1, σ 2 β1
32 32 Large-sample distribution of β 0 and β 1 In large samples ) β 0 N (β 0, σ 2 β0 ) β 1 N (β 1, σ 2 β1 where it can be shown that σ 2 β0 = 1 Var(H i u i ) n [E(H 2 i )] 2 [ with H i = 1 µ X E(X 2 i ) ] X i σ 2 β1 = 1 Var[(X i µ X )u i ] n [Var(X i )] 2 Expression for σ 2 β1 shows that the larger the variation in the regressor X i the smaller the variance of β 1
33 33 Large-sample distribution of β 0 and β 1 When Var(X i ) is low, it is difficult to obtain an ) accurate estimate of the effect of X on Y which implies that Var ( β1 = σ 2 β1 is high. If there is more variation in X, then there is more information in the data that you can use to fit the regression line.
34 Compulsory term paper 34 Traffic fatalities are the leading cause of death for Americans between the ages of 5 and 32. The government wants to decrease the number of traffic fatalities by increasing seat belt usage. If many people wear seat belts the chance that people die in a car crash is likely smaller. People who wear seat belts might however be more careful drivers. Regions with many seat belt users might have fewer traffic fatalities not because of the seat belt usage but because the drivers are more careful.
35 Compulsory term paper 35 In the term paper you are going to investigate the following research question. What is the causal effect of seat belt usage on traffic fatalities? This research question can be addressed by using the data set seatbelts.dta. Data consists of a panel of 50 U.S. States, plus the District of Columbia, for the years The data sets can be downloaded from the course website site. In analyzing this data you may consider the use of panel data methods on top of a pure cross-section analysis.
36 Compulsory term paper 36 The term paper should consist of the following sections: Introduction Empirical approach Data Results Conclusion References Appendix with Stata code & output The term paper should be at most 10 pages including tables and figures (but excluding the stata code and output). The quality (and not the quantity) of the content of the term paper will determine your grade.
37 Compulsory term paper 37 You are expected to work in a group of two students. You can form a group of two students yourself Register this group before 29 January :00, by using link in you will receive today. If you are unable to form a group, please let me know before 29 January you will be randomly assigned to another student. Important dates: 25 January 2017 Hand-out of term paper 22 March 2017 Hand-in of term paper on Fronter 11 April 2017 Notification of grade (pass/fail) 21 April 2017 Hand-in of improved term paper for those who failed 4 May 2017 Everyone is informed about final grade for term paper
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 informationECON 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 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 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 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 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 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 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 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 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 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 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 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 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 informationECON 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 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 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 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 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 informationWeek 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 informationMultivariate 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 informationEconometrics. 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 informationIntroduction 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 informationIntroduction to Econometrics. Regression with Panel Data
Introduction to Econometrics The statistical analysis of economic (and related) data STATS301 Regression with Panel Data Titulaire: Christopher Bruffaerts Assistant: Lorenzo Ricci 1 Regression with Panel
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 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 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 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 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 informationLongitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 2017, Chicago, Illinois
Longitudinal Data Analysis Using Stata Paul D. Allison, Ph.D. Upcoming Seminar: May 18-19, 217, Chicago, Illinois Outline 1. Opportunities and challenges of panel data. a. Data requirements b. Control
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 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 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 informationECON 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 informationEconometrics. 9) Heteroscedasticity and autocorrelation
30C00200 Econometrics 9) Heteroscedasticity and autocorrelation Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Heteroscedasticity Possible causes Testing for
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 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 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 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 informationInstrumental 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 informationSOCY5601 Handout 8, Fall DETECTING CURVILINEARITY (continued) CONDITIONAL EFFECTS PLOTS
SOCY5601 DETECTING CURVILINEARITY (continued) CONDITIONAL EFFECTS PLOTS More on use of X 2 terms to detect curvilinearity: As we have said, a quick way to detect curvilinearity in the relationship between
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 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 informationTHE 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 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 information2. (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 informationLECTURE 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 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 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 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 informationECONOMICS AND ECONOMIC METHODS PRELIM EXAM Statistics and Econometrics August 2013
ECONOMICS AND ECONOMIC METHODS PRELIM EXAM Statistics and Econometrics August 2013 Instructions: Answer all six (6) questions. Point totals for each question are given in parentheses. The parts within
More informationsociology 362 regression
sociology 36 regression Regression is a means of studying how the conditional distribution of a response variable (say, Y) varies for different values of one or more independent explanatory variables (say,
More informationGeneral 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 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 informationProblem set 1: answers. April 6, 2018
Problem set 1: answers April 6, 2018 1 1 Introduction to answers This document provides the answers to problem set 1. If any further clarification is required I may produce some videos where I go through
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 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 informationsociology 362 regression
sociology 36 regression Regression is a means of modeling how the conditional distribution of a response variable (say, Y) varies for different values of one or more independent explanatory variables (say,
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 informationSuggested Answers Problem set 4 ECON 60303
Suggested Answers Problem set 4 ECON 60303 Bill Evans Spring 04. A program that answers part A) is on the web page and is named psid_iv_comparison.do. Below are some key results and a summary table is
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 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 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 informationECON 836 Midterm 2016
ECON 836 Midterm 2016 Each of the eight questions is worth 4 points. You have 2 hours. No calculators, I- devices, computers, and phones. No open boos, and everything must be on the floor. Good luc! 1)
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 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 informationSection 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(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 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 informationBasic 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 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 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 informationEconomics 471: Econometrics Department of Economics, Finance and Legal Studies University of Alabama
Economics 471: Econometrics Department of Economics, Finance and Legal Studies University of Alabama Course Packet The purpose of this packet is to show you one particular dataset and how it is used in
More information1 Warm-Up: 2 Adjusted R 2. Introductory Applied Econometrics EEP/IAS 118 Spring Sylvan Herskowitz Section #
Introductory Applied Econometrics EEP/IAS 118 Spring 2015 Sylvan Herskowitz Section #10 4-1-15 1 Warm-Up: Remember that exam you took before break? We had a question that said this A researcher wants to
More informationThe Regression Tool. Yona Rubinstein. July Yona Rubinstein (LSE) The Regression Tool 07/16 1 / 35
The Regression Tool Yona Rubinstein July 2016 Yona Rubinstein (LSE) The Regression Tool 07/16 1 / 35 Regressions Regression analysis is one of the most commonly used statistical techniques in social and
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 information9) Time series econometrics
30C00200 Econometrics 9) Time series econometrics Timo Kuosmanen Professor Management Science http://nomepre.net/index.php/timokuosmanen 1 Macroeconomic data: GDP Inflation rate Examples of time series
More informationThe 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 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 informationSTATISTICS 110/201 PRACTICE FINAL EXAM
STATISTICS 110/201 PRACTICE FINAL EXAM Questions 1 to 5: There is a downloadable Stata package that produces sequential sums of squares for regression. In other words, the SS is built up as each variable
More informationLinear Models in Econometrics
Linear Models in Econometrics Nicky Grant At the most fundamental level econometrics is the development of statistical techniques suited primarily to answering economic questions and testing economic theories.
More informationMultiple Regression: Inference
Multiple Regression: Inference The t-test: is ˆ j big and precise enough? We test the null hypothesis: H 0 : β j =0; i.e. test that x j has no effect on y once the other explanatory variables are controlled
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 informationLecture 3: Multiple Regression. Prof. Sharyn O Halloran Sustainable Development U9611 Econometrics II
Lecture 3: Multiple Regression Prof. Sharyn O Halloran Sustainable Development Econometrics II Outline Basics of Multiple Regression Dummy Variables Interactive terms Curvilinear models Review Strategies
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 information