Econometrics. 8) Instrumental variables
|
|
- Austin Payne
- 6 years ago
- Views:
Transcription
1 30C00200 Econometrics 8) Instrumental variables Timo Kuosmanen Professor, Ph.D.
2 Today s topics Thery of IV regression Overidentification Two-stage least squates (2SLS) Testing for endogeneity: Weak instruments Hausman test
3 Examples of instrumental variables In the case of measurement errors, instrument could be another measurement (or proxy) for unobserved x Example: twins study of returns to education x is the self-reported years of schooling by respondent z is the years of schooling reported by respondent s twin brother / sister In time series and panel data models, past values of x observed in previous periods are frequently used as instruments.
4 IV estimator Assume the regression model is: y = β 1 + β 2 x + ε However, the exogeneity assumption Cov(ε,x) = 0 is violated. Examples: measurement error in x, omitted variable in ε Assume we have an instrument z that is Highly correlared with endogenous x : Cov(x,z) >> 0 Uncorrelated with disturbance ε : Cov(ε,z) = 0
5 IV estimator Recall the OLS estimator for slope β 2 b Est. Cov( x, y) n ( x x)( y y) ( x x)( y y) i i i i OLS i1 i1 2 n n Est. Var( x) 2 i i i i1 i1 n ( x x) ( x x)( x x) The instrumental variable (IV) estimator: b IV 2 Est. Cov( z, y) Est. Cov( z, x) n i1 n i1 ( z z )( y y) i ( z z )( x x) i i i
6 IV estimator The instrumental variable (IV) estimator can be rewritten as: b IV Est. Cov( z, y) Est Cov z 1 2x 2 The IV estimator is unbiased and consistent. (, ) Est. Cov( z, x) Est. Cov( z, x) 2Est. Cov( z, x) Est. Cov( z, ) Est. Cov( z, x) Est. Cov( z, ) 2 Est. Cov( z, x) Since we assumed Cov(z,ε) = 0, the expected value is Eb ( ) IV 2 2
7 Variance of IV estimator Variance of the IV estimator Var( b ) Var( ) IV 2 2 ( n 1) Var( x) rzx Precision of the IV estimator improves if Variance of disturbance ε decreases Sample size n increases Variance of regressor x increases Correlation (r zx ) of regressor x and instrument z increases
8 OLS and IV as GMM estimators The OLS residuals have the property n i1 xe i OLS i 0 Thus, Est.Cov(x,e) = 0. This is the sample counterpart to the assumed population orthogonality condition Cov(x,ε) = 0 Note: we can derive the OLS estimator directly from the sample orthogonality condition. Assume centered data where sample averages of x and y are equal to zero, and assume the constant term is zero. Then n n n n OLS OLS OLS 2 xiei xi ( yi b xi ) xi yi b xi 0 i1 i1 i1 i1 OLS b Est. Cov( x, y) / Est. Var( x)
9 OLS and IV as GMM estimators Analogously, the IV estimator is based on the population orthogonality condition Cov(z,ε) = 0. We can derive the IV estimator using the sample orthogonality condition n i1 ze i IV i 0 n n n IV IV zi yi b xi zi yi b zixi i1 i1 i1 ( ) 0 IV b Est. Cov( z, y) / Est. Cov( z, x) Both OLS and IV can be seen as special cases of the generalized method of moment (GMM)
10 IV regression in Stata Two-stage least squares can be implemented in Stata using the command ivreg instead of the usual reg Syntax.ivreg y x2 x3 x4 (x2 = z1 z2 x3 x4) In matrix form: OLS: IV: -1 b = (XX) Xy -1 b = (ZX) Zy
11 Over-identification Thus far, we assumed that there exist a single instrumental variable z that is highly correlated with x but uncorrelated with ε Examples of instrumental variables Alternative proxy variables Past values x t-1 If a useful instrument is available, then there are potentially more than just one instrument If past value x t-1 is a good instrument for x t, then also x t-2, x t-3,, are likely useful instruments. Choosing just one of the many instruments would be inefficient use of information available Solution: two-stage least squares (2SLS) method
12 Two-stage least squares (2SLS) Assume we have one endogenous regressor x in the model y = β 1 + β 2 x + ε Assume we have (L-1) instruments z 2, z 3,, z L for x 2-stage estimation procedure: 1) Regress by using OLS: x = κ 1 + κ 2 z 2 + κ 3 z κ L z L + ε Save the fitted values: x* = k 1 + k 2 z 2 + k 3 z k L z L 2) Use the fitted values x* to estimate the original regression equation: y = β 1 + β 2 x* + ε
13 Two-stage least squares (2SLS) Practical notes: If we have more than one endogenous problem variable x, then stage 1 can be done separately for each variable Different endogenous regressors can be instrumented with different z variables All exogenous regressors x are usually included as instruments z If OLS is used in the stepwise estimation, the standard errors of the 2-stage regression need to be adjusted Stata does this automatically when ivreg is used
14 Example: production function of electricity distribution networks Assume Cobb-Douglas production function ln y = β 0 + β 1 L i + β 2 K i + ε i Output y: ln Energy (GWh) Inputs x: L = ln OPEX, K = ln Krepl Instrument for K: ln Knuse OPEX = operational expenditure (incl. wages) Krepl = Capital stock (replacement value) Knuse = Capital stock (net use value) Sample of 160 observations in years 2011 and 2012.
15 CD function, direct OLS estimation. regress lnenergy lnopex lnkrepl Source SS df MS Number of obs = 160 F( 2, 157) = Model Prob > F = Residual R-squared = Adj R-squared = Total Root MSE = lnenergy Coef. Std. Err. t P> t [95% Conf. Interval] lnopex lnkrepl _cons
16 Two-stage least squares (2SLS) Capital stock is hard to measure. Suppose our proxy for capital stock K contains measurement error. If that is the case, the OLS estimator of the output elasticity of K is biased towards zero. Two alternative proxy measures of K: Krepl and Knuse. Two-stage least squares: Stage 1: Regress ln Krepl on ln Knuse and ln OPEX. Record the predicted ln Krepl (ln PrKrepl). Stage 2: Regress ln Energy on ln OPEX and ln PrKrepl to estimate the production function of interest.
17 2SLS regression. reg3 (lnkrepl = lnopex lnknuse) (lnenergy = lnopex lnkrepl), exog(lnopex) 2sls Two-stage least-squares regression Equation Obs Parms RMSE "R-sq" F-Stat P lnkrepl lnenergy lnkrepl lnopex lnknuse _cons lnenergy lnopex lnkrepl _cons Endogenous variables: lnkrepl lnenergy Exogenous variables: lnopex lnknuse Coef. Std. Err. t P> t [95% Conf. Interval]
18 IV (2SLS) regression. ivregress 2sls lnenergy lnopex (lnkrepl = lnknuse lnopex) Instrumental variables (2SLS) regression Number of obs = 160 Wald chi2(2) = Prob > chi2 = R-squared = Root MSE =.3887 lnenergy Coef. Std. Err. z P> z [95% Conf. Interval] lnkrepl lnopex _cons Instrumented: lnkrepl Instruments: lnopex lnknuse
19 IV (GMM) regression. ivregress gmm lnenergy lnopex (lnkrepl = lnknuse) Instrumental variables (GMM) regression Number of obs = 160 Wald chi2(2) = Prob > chi2 = R-squared = GMM weight matrix: Robust Root MSE =.3887 Robust lnenergy Coef. Std. Err. z P> z [95% Conf. Interval] lnkrepl lnopex _cons Instrumented: lnkrepl Instruments: lnopex lnknuse
20 Testing for weak instruments F-test of joint significance in the 1-stage regression serves as a useful diagnostic test of weak instruments To avoid the problems with weak instruments (imprecise coefficients), the coefficients of stage 1 regression should be jointly significant: F-stat > F crit
21 Hausman test also referred to as Durbin-Wu-Hausman test Rationale: it is not always clear if endogeneity is a problem or not If exogeneity assumption Cov(x, ε) = 0 holds, then OLS estimator is unbiased and efficient IV estimator is also unbiased, but less efficient (OLS preferred) However, if exogeneity assumption Cov(x, ε) = 0 fails, then OLS estimator is biased and inconsistent IV estimator remains unbiased (IV preferred)
22 H 0 : Cov(x, ε) = 0; OLS preferred H 1 : Cov(x, ε) 0; IV preferred Hausman test Procedure: Estimate both OLS and IV regressions Compare the estimated coefficients b OLS and b IV and their standard errors If H 0 is true, then difference b IV - b OLS should be small (due to inefficiency of the IV estimator) If H 0 is true, the Hausman statistic follows chi-squared distribution with the degrees of freedom equal to the number of endogenous regressors instrumented in the IV model
23 Hausman test in Stata Stata computes the Hausman test automatically Run the IV and OLS regressions Save the results by command estimates store name Example: estimates store CostIV and estimates store CostOLS Hausman test is conducted by command hausman Example: hausman CostIV CostOLS constant
24 Hausman test in Stata. hausman IV OLS Coefficients (b) (B) (b-b) sqrt(diag(v_b-v_b)) IV OLS Difference S.E. lnkrepl lnopex b = consistent under Ho and Ha; obtained from ivregress B = inconsistent under Ha, efficient under Ho; obtained from regress Test: Ho: difference in coefficients not systematic chi2(2) = (b-b)'[(v_b-v_b)^(-1)](b-b) = Prob>chi2 =
25 Next time Mon 5 Oct Topic: Autocorrelation
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 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 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 informationЭконометрика, , 4 модуль Семинар Для Группы Э_Б2015_Э_3 Семинарист О.А.Демидова
Эконометрика, 2017-2018, 4 модуль Семинар 3 160418 Для Группы Э_Б2015_Э_3 Семинарист ОАДемидова * Stata program * copyright C 2010 by A Colin Cameron and Pravin K Trivedi * used for "Microeconometrics
More informationHandout 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 informationFixed and Random Effects Models: Vartanian, SW 683
: Vartanian, SW 683 Fixed and random effects models See: http://teaching.sociology.ul.ie/dcw/confront/node45.html When you have repeated observations per individual this is a problem and an advantage:
More informationEconometrics. 7) Endogeneity
30C00200 Econometrics 7) Endogeneity Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Common types of endogeneity Simultaneity Omitted variables Measurement errors
More informationMeasurement 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 informationProblem 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 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 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 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 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 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 informationMaria Elena Bontempi Roberto Golinelli this version: 5 September 2007
INSTRUMENTAL VARIABLES (IV) ESTIMATION A Maria Elena Bontempi e.bontempi@economia.unife.it Roberto Golinelli roberto.golinelli@unibo.it this version: 5 September 2007 1. The instrumental variables approach
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 informationPlease discuss each of the 3 problems on a separate sheet of paper, not just on a separate page!
Econometrics - Exam May 11, 2011 1 Exam Please discuss each of the 3 problems on a separate sheet of paper, not just on a separate page! Problem 1: (15 points) A researcher has data for the year 2000 from
More informationAn explanation of Two Stage Least Squares
Introduction Introduction to Econometrics An explanation of Two Stage Least Squares When we get an endogenous variable we know that OLS estimator will be inconsistent. In addition OLS regressors will also
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 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 informationLecture#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 informationMicroeconometrics (PhD) Problem set 2: Dynamic Panel Data Solutions
Microeconometrics (PhD) Problem set 2: Dynamic Panel Data Solutions QUESTION 1 Data for this exercise can be prepared by running the do-file called preparedo posted on my webpage This do-file collects
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 informationLecture 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 informationGMM Estimation in Stata
GMM Estimation in Stata Econometrics I Department of Economics Universidad Carlos III de Madrid Master in Industrial Economics and Markets 1 Outline Motivation 1 Motivation 2 3 4 2 Motivation 3 Stata and
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 informationECON 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 informationINTRODUCTION TO BASIC LINEAR REGRESSION MODEL
INTRODUCTION TO BASIC LINEAR REGRESSION MODEL 13 September 2011 Yogyakarta, Indonesia Cosimo Beverelli (World Trade Organization) 1 LINEAR REGRESSION MODEL In general, regression models estimate the effect
More information1. You have data on years of work experience, EXPER, its square, EXPER2, years of education, EDUC, and the log of hourly wages, LWAGE
1. You have data on years of work experience, EXPER, its square, EXPER, years of education, EDUC, and the log of hourly wages, LWAGE You estimate the following regressions: (1) LWAGE =.00 + 0.05*EDUC +
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 informationNonrecursive 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 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 information10) Time series econometrics
30C00200 Econometrics 10) Time series econometrics Timo Kuosmanen Professor, Ph.D. 1 Topics today Static vs. dynamic time series model Suprious regression Stationary and nonstationary time series Unit
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 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 informationIV and IV-GMM. Christopher F Baum. EC 823: Applied Econometrics. Boston College, Spring 2014
IV and IV-GMM Christopher F Baum EC 823: Applied Econometrics Boston College, Spring 2014 Christopher F Baum (BC / DIW) IV and IV-GMM Boston College, Spring 2014 1 / 1 Instrumental variables estimators
More informationFortin Econ Econometric Review 1. 1 Panel Data Methods Fixed Effects Dummy Variables Regression... 7
Fortin Econ 495 - Econometric Review 1 Contents 1 Panel Data Methods 2 1.1 Fixed Effects......................... 2 1.1.1 Dummy Variables Regression............ 7 1.1.2 First Differencing Methods.............
More informationSpecification 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 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 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 informationSimultaneous Equations with Error Components. Mike Bronner Marko Ledic Anja Breitwieser
Simultaneous Equations with Error Components Mike Bronner Marko Ledic Anja Breitwieser PRESENTATION OUTLINE Part I: - Simultaneous equation models: overview - Empirical example Part II: - Hausman and Taylor
More informationEconometrics. Week 8. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague
Econometrics Week 8 Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Fall 2012 1 / 25 Recommended Reading For the today Instrumental Variables Estimation and Two Stage
More informationDynamic Panels. Chapter Introduction Autoregressive Model
Chapter 11 Dynamic Panels This chapter covers the econometrics methods to estimate dynamic panel data models, and presents examples in Stata to illustrate the use of these procedures. The topics in this
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 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 informationEcmt 675: Econometrics I
Ecmt 675: Econometrics I Assignment 7 Problem 1 a. reg hours lwage educ age kidslt6 kidsge6 nwifeinc, r Linear regression Number of obs = 428 F( 6, 421) = 3.93 Prob > F = 0.0008 R-squared = 0.0670 Root
More informationEconometrics. 4) Statistical inference
30C00200 Econometrics 4) Statistical inference Timo Kuosmanen Professor, Ph.D. http://nomepre.net/index.php/timokuosmanen Today s topics Confidence intervals of parameter estimates Student s t-distribution
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 informationPractice 2SLS with Artificial Data Part 1
Practice 2SLS with Artificial Data Part 1 Yona Rubinstein July 2016 Yona Rubinstein (LSE) Practice 2SLS with Artificial Data Part 1 07/16 1 / 16 Practice with Artificial Data In this note we use artificial
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 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 informationGreene, 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 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 836 Final Exam. 2 w N 2 u N 2. 2 v N
1) [4 points] Let Econ 836 Final Exam Y Xβ+ ε, X w+ u, w N w~ N(, σi ), u N u~ N(, σi ), ε N ε~ Nu ( γσ, I ), where X is a just one column. Let denote the OLS estimator, and define residuals e as e Y X.
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 informationApplied Econometrics. Lecture 3: Introduction to Linear Panel Data Models
Applied Econometrics Lecture 3: Introduction to Linear Panel Data Models Måns Söderbom 4 September 2009 Department of Economics, Universy of Gothenburg. Email: mans.soderbom@economics.gu.se. Web: www.economics.gu.se/soderbom,
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 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 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 informationAutocorrelation. Think of autocorrelation as signifying a systematic relationship between the residuals measured at different points in time
Autocorrelation Given the model Y t = b 0 + b 1 X t + u t Think of autocorrelation as signifying a systematic relationship between the residuals measured at different points in time This could be caused
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 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 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 informationDealing With and Understanding Endogeneity
Dealing With and Understanding Endogeneity Enrique Pinzón StataCorp LP October 20, 2016 Barcelona (StataCorp LP) October 20, 2016 Barcelona 1 / 59 Importance of Endogeneity Endogeneity occurs when a variable,
More informationWooldridge, Introductory Econometrics, 4th ed. Chapter 15: Instrumental variables and two stage least squares
Wooldridge, Introductory Econometrics, 4th ed. Chapter 15: Instrumental variables and two stage least squares Many economic models involve endogeneity: that is, a theoretical relationship does not fit
More informationMediation Analysis: OLS vs. SUR vs. 3SLS Note by Hubert Gatignon July 7, 2013, updated November 15, 2013
Mediation Analysis: OLS vs. SUR vs. 3SLS Note by Hubert Gatignon July 7, 2013, updated November 15, 2013 In Chap. 11 of Statistical Analysis of Management Data (Gatignon, 2014), tests of mediation are
More informationDynamic Panel Data Models
Models Amjad Naveed, Nora Prean, Alexander Rabas 15th June 2011 Motivation Many economic issues are dynamic by nature. These dynamic relationships are characterized by the presence of a lagged dependent
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 informationECON2228 Notes 7. Christopher F Baum. Boston College Economics. cfb (BC Econ) ECON2228 Notes / 41
ECON2228 Notes 7 Christopher F Baum Boston College Economics 2014 2015 cfb (BC Econ) ECON2228 Notes 6 2014 2015 1 / 41 Chapter 8: Heteroskedasticity In laying out the standard regression model, we made
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 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 informationProblem set - Selection and Diff-in-Diff
Problem set - Selection and Diff-in-Diff 1. You want to model the wage equation for women You consider estimating the model: ln wage = α + β 1 educ + β 2 exper + β 3 exper 2 + ɛ (1) Read the data into
More informationSpatial Regression Models: Identification strategy using STATA TATIANE MENEZES PIMES/UFPE
Spatial Regression Models: Identification strategy using STATA TATIANE MENEZES PIMES/UFPE Intruduction Spatial regression models are usually intended to estimate parameters related to the interaction of
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 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 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 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 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 information1 Motivation for Instrumental Variable (IV) Regression
ECON 370: IV & 2SLS 1 Instrumental Variables Estimation and Two Stage Least Squares Econometric Methods, ECON 370 Let s get back to the thiking in terms of cross sectional (or pooled cross sectional) data
More informationInstrumental Variable Regression
Topic 6 Instrumental Variable Regression ARE/ECN 240 A Graduate Econometrics Professor: Òscar Jordà Outline of this topic Randomized Experiments, natural experiments and causation Instrumental variables:
More informationLecture#17. Time series III
Lecture#17 Time series III 1 Dynamic causal effects Think of macroeconomic data. Difficult to think of an RCT. Substitute: different treatments to the same (observation unit) at different points in time.
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 informationEconometrics II. Lecture 4: Instrumental Variables Part I
Econometrics II Lecture 4: Instrumental Variables Part I Måns Söderbom 12 April 2011 mans.soderbom@economics.gu.se. www.economics.gu.se/soderbom. www.soderbom.net 1. Introduction Recall from lecture 3
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 information5.2. a. Unobserved factors that tend to make an individual healthier also tend
SOLUTIONS TO CHAPTER 5 PROBLEMS ^ ^ ^ ^ 5.1. Define x _ (z,y ) and x _ v, and let B _ (B,r ) be OLS estimator 1 1 1 1 ^ ^ ^ ^ from (5.5), where B = (D,a ). Using the hint, B can also be obtained by 1 1
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 informationDay 2A Instrumental Variables, Two-stage Least Squares and Generalized Method of Moments
Day 2A nstrumental Variables, Two-stage Least Squares and Generalized Method of Moments c A. Colin Cameron Univ. of Calif.- Davis Frontiers in Econometrics Bavarian Graduate Program in Economics. Based
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 informationInstrumental Variables and the Problem of Endogeneity
Instrumental Variables and the Problem of Endogeneity September 15, 2015 1 / 38 Exogeneity: Important Assumption of OLS In a standard OLS framework, y = xβ + ɛ (1) and for unbiasedness we need E[x ɛ] =
More informationNonrecursive models (Extended Version) Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015
Nonrecursive models (Extended Version) Richard Williams, University of Notre Dame, https://www3.nd.edu/~rwilliam/ Last revised April 6, 2015 NOTE: This lecture borrows heavily from Duncan s Introduction
More informationCase of single exogenous (iv) variable (with single or multiple mediators) iv à med à dv. = β 0. iv i. med i + α 1
Mediation Analysis: OLS vs. SUR vs. ISUR vs. 3SLS vs. SEM Note by Hubert Gatignon July 7, 2013, updated November 15, 2013, April 11, 2014, May 21, 2016 and August 10, 2016 In Chap. 11 of Statistical Analysis
More informationExercices for Applied Econometrics A
QEM F. Gardes-C. Starzec-M.A. Diaye Exercices for Applied Econometrics A I. Exercice: The panel of households expenditures in Poland, for years 1997 to 2000, gives the following statistics for the whole
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 #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. *DEFINITIONS OF ARTIFICIAL DATA SET. mat m=(12,20,0) /*matrix of means of RHS vars: edu, exp, error*/
. DEFINITIONS OF ARTIFICIAL DATA SET. mat m=(,,) /matrix of means of RHS vars: edu, exp, error/. mat c=(5,-.6, \ -.6,9, \,,.) /covariance matrix of RHS vars /. mat l m /displays matrix of means / c c c3
More informationInstrumental variables estimation using heteroskedasticity-based instruments
Instrumental variables estimation using heteroskedasticity-based instruments Christopher F Baum, Arthur Lewbel, Mark E Schaffer, Oleksandr Talavera Boston College/DIW Berlin, Boston College, Heriot Watt
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 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 informationpoint estimates, standard errors, testing, and inference for nonlinear combinations
Title xtreg postestimation Postestimation tools for xtreg Description The following postestimation commands are of special interest after xtreg: command description xttest0 Breusch and Pagan LM test for
More informationxtdpdqml: Quasi-maximum likelihood estimation of linear dynamic short-t panel data models
xtdpdqml: Quasi-maximum likelihood estimation of linear dynamic short-t panel data models Sebastian Kripfganz University of Exeter Business School, Department of Economics, Exeter, UK UK Stata Users Group
More information