Advanced Econometrics

Similar documents
The relationship between GDP, labor force and health expenditure in European countries

Quantitative Techniques Term 2

Labor Force Participation and the Wage Gap Detailed Notes and Code Econometrics 113 Spring 2014

u panel_lecture . sum

Cross-country comparison using the ECHP Descriptive statistics and Simple Models. Cheti Nicoletti Institute for Social and Economic Research

Your Name (Please print) Did you agree to take the optional portion of the final exam Yes No. Directions

Final Exam - section 1. Thursday, December hours, 30 minutes

AN EMPIRICAL ANALYSIS OF THE RELATIONSHIP BETWEEN FOREIGN TRADE AND ECONOMIC GROWTH IN CENTRAL AFRICA

Effect of Health Expenditure on GDP, a Panel Study Based on Pakistan, China, India and Bangladesh

Example 2.3: CEO Salary and Return on Equity. Salary for ROE = 0. Salary for ROE = 30. Example 2.4: Wage and Education

Trade Imbalance and Entrepreneurial Activity: A Quantitative Panel Data Analysis

İnsan TUNALI 8 November 2018 Econ 511: Econometrics I. ASSIGNMENT 7 STATA Supplement

[BINARY DEPENDENT VARIABLE ESTIMATION WITH STATA]

Problem Set 6 ANSWERS

tm / / / / / / / / / / / / Statistics/Data Analysis User: Klick Project: Limited Dependent Variables{space -6}

Examination of State Lotteries

A COMPARATIVE ANALYSIS OF REAL AND PREDICTED INFLATION CONVERGENCE IN CEE COUNTRIES DURING THE ECONOMIC CRISIS

Violent Conflict and Foreign Direct Investment in Developing Economies: A Panel Data Analysis

Professor Brad Jones University of Arizona POL 681, SPRING 2004 INTERACTIONS and STATA: Companion To Lecture Notes on Statistical Interactions

Problem Set 9 Heteroskedasticty Answers

Econ 371 Problem Set #4 Answer Sheet. 6.2 This question asks you to use the results from column (1) in the table on page 213.

Handout seminar 6, ECON4150

Labor Market Returns to Two- and Four- Year Colleges. Paper by Kane and Rouse Replicated by Andreas Kraft

Time series data: Part 2

You created this PDF from an application that is not licensed to print to novapdf printer (

Impact of Stock Market, Trade and Bank on Economic Growth for Latin American Countries: An Econometrics Approach

Keywords: Capital structure, Profitability, Performance analysis.

Heteroskedasticity. . reg wage black exper educ married tenure

Assignment #5 Solutions: Chapter 14 Q1.

Econometrics is. The estimation of relationships suggested by economic theory

Dummy variables 9/22/2015. Are wages different across union/nonunion jobs. Treatment Control Y X X i identifies treatment

The data definition file provided by the authors is reproduced below: Obs: 1500 home sales in Stockton, CA from Oct 1, 1996 to Nov 30, 1998

Cameron ECON 132 (Health Economics): FIRST MIDTERM EXAM (A) Fall 17

EQUITY FORMATION AND FINANCIAL PERFORMANCE OF LISTED DEPOSIT MONEY BANKS IN NIGERIA

ECON Introductory Econometrics. Seminar 4. Stock and Watson Chapter 8

1) The Effect of Recent Tax Changes on Taxable Income

Impact of Financial Distress on the Leverage of Selected Manufacturing Firms of Ethiopia

*1A. Basic Descriptive Statistics sum housereg drive elecbill affidavit witness adddoc income male age literacy educ occup cityyears if control==1

F^3: F tests, Functional Forms and Favorite Coefficient Models

Categorical Outcomes. Statistical Modelling in Stata: Categorical Outcomes. R by C Table: Example. Nominal Outcomes. Mark Lunt.

FOREIGN CURRENCY DERIVATIES AND CORPORATE VALUE: EVIDENCE FROM CHINA

Solutions for Session 5: Linear Models

sociology SO5032 Quantitative Research Methods Brendan Halpin, Sociology, University of Limerick Spring 2018 SO5032 Quantitative Research Methods

International Journal of Multidisciplinary Consortium

An Examination of the Impact of the Texas Methodist Foundation Clergy Development Program. on the United Methodist Church in Texas

Modeling wages of females in the UK

Housing Prices, Macroeconomic Variables and Corruption Index in ASEAN

EC327: Limited Dependent Variables and Sample Selection Binomial probit: probit

Example 7.1: Hourly Wage Equation Average wage for women

Statistical Models of Stocks and Bonds. Zachary D Easterling: Department of Economics. The University of Akron

Macroeconomics, Firm-Specific Factors and Stock Liquidity: An Empirical Evidence from Jordan

Effect of Education on Wage Earning

Two-stage least squares examples. Angrist: Vietnam Draft Lottery Men, Cohorts. Vietnam era service

Testing the Solow Growth Theory

Analysis on Factors that Affect Stock Prices: A Study on Listed Cement Companies at Dhaka Stock Exchange

Example 8.1: Log Wage Equation with Heteroscedasticity-Robust Standard Errors

CHAPTER 4 ESTIMATES OF RETIREMENT, SOCIAL SECURITY BENEFIT TAKE-UP, AND EARNINGS AFTER AGE 50

. ********** OUTPUT FILE: CARD & KRUEGER (1994)***********.. * STATA 10.0 CODE. * copyright C 2008 by Tito Boeri & Jan van Ours. * "THE ECONOMICS OF

The Multivariate Regression Model

Allison notes there are two conditions for using fixed effects methods.

Hasil Common Effect Model

Testing Capital Asset Pricing Model on KSE Stocks Salman Ahmed Shaikh

STATA log file for Time-Varying Covariates (TVC) Duration Model Estimations.

DETERMINANTS OF PROFITABILITY OF ISLAMIC BANKS OF PAKISTAN A CASE STUDY ON PAKISTAN S ISLAMIC BANKING SECTOR

Sean Howard Econometrics Final Project Paper. An Analysis of the Determinants and Factors of Physical Education Attendance in the Fourth Quarter

The SAS System 11:03 Monday, November 11,

ECON Introductory Econometrics Seminar 2, 2015

Determinants of insurance companies profitability Analysis of insurance sector in Ethiopia

Efficiency for Whom?: The Effect of Efficiency on Indonesian Islamic Commercial Bank s Deposit Return

Impact of Household Income on Poverty Levels

Limited Dependent Variables

LAMPIRAN PERHITUNGAN EVIEWS

Determinants of FII Inflows:India

Exploring the Determinants of Financial Development (Using Panel Data on Developed and Developing Countries)

Relation between Income Inequality and Economic Growth

The impact of cigarette excise taxes on beer consumption

The Impact of Aid on the Economic Growth of Developing Countries (LDCs) in Sub-Saharan Africa

Cumulative Abnormal Returns

M. Candasamy. KPMG Mauritius - Advisory, Mauritius. Bhavish Jugurnath. University of Mauritius, Moka, Mauritius

Chapter 11 Part 6. Correlation Continued. LOWESS Regression

Module 4 Bivariate Regressions

STUDY REPORT ON. Estimating True Fiscal Capacity of States and Devising a Suitable Rule for Granting Debt Relief based on Optimal Growth Requirement

DETERMINANTS OF BANK PROFITABILITY: A STUDY ON THE BANKING SECTOR OF BANGLADESH. Md Saimum Hossain * Faruque Ahamed **

Impact of Financial Distress on the Efficiency of Selected Manufacturing Firms of Ethiopia

BEcon Program, Faculty of Economics, Chulalongkorn University Page 1/7

WHY DO PEOPLE INVEST INTO RUSSIAN MUTUAL FUNDS? Alena Piskurouskaya. Master of Arts in Economics

Model fit assessment via marginal model plots

Erginbay Uğurlu* Hitit University, Turkey

Advanced Industrial Organization I Identi cation of Demand Functions

THE DETERMINANTS OF FINANCIAL INDUSTRY PROFITABILITY IN MALAYSIA

Visualisierung von Nicht-Linearität bzw. Heteroskedastizität

Technical Documentation for Household Demographics Projection

Don t worry one bit about multicollinearity, because at the end of the day, you're going to be working with a favorite coefficient model.

STATA Program for OLS cps87_or.do

NON-PERFORMING LOANS & THEIR IMPACT ON MARKUP EARNINGS: ASSET EQUITY RATIO ANALYSIS FROM BANKING SECTOR OF PAKISTAN

Discrete-time Event History Analysis PRACTICAL EXERCISES

Fall 2004 Social Sciences 7418 University of Wisconsin-Madison Problem Set 5 Answers

Postestimation commands predict Remarks and examples References Also see

Empirical Methods for Corporate Finance. Panel Data, Fixed Effects, and Standard Errors

Does Globalization Improve Quality of Life?

Transcription:

Advanced Econometrics Instructor: Takashi Yamano 11/14/2003 Due: 11/21/2003 Homework 5 (30 points) Sample Answers 1. (16 points) Read Example 13.4 and an AER paper by Meyer, Viscusi, and Durbin (1995). We will reproduce their results by using data called INJURY.dta. (a) Meyer, Viscusi, and Durbin (1995) want to measure impacts of a policy change on compensation laws in Kentucky. Who are in control groups and treatment groups? Why? Control groups: low-income workers Treatment groups: high-income workers In 1980, Kentucky raised the maximum benefit from $131 to $217. In 1982, Michigan raised it from $181 to $307. Before the changes in the benefits in Kentucky and Michigan, high-income workers, whose weekly earnings were higher than the maximum benefits, had an incentive to go back to work because their benefits were significantly lower than their weekly earnings. The increases in the maximum benefits, however, made it less costly for high-income workers to stay away from work. In contrast, the increases in the maximum benefits did not affect low-income workers incentive to stay away from work. Thus, we can think high-income workers as treatment groups and low-income workers as control groups for the changes in compensation laws in Kentucky and Michigan. Kentucky Mean duration (weeks) Mean ln(duration) (b) By using the data, fill in the shaded areas in the following table for Kentucky and Michigan. (use Kentucky dummy: ky=1 for Kentucky) Treatment Group Control Group Differences DID Before (1) After (2) Before (3) After (4) (2)-(1) (5) (4)-(3) (6) (5)-(6) (7) 11.18 (29.0) 1.382 (1.30) 12.89 (28.3) 1.580 (1.30) 6.271 (12.4) 1.126 (1.22) 7.037 (16.1) 1.133 (1.27) 1.717 [1.47] 0.198** [3.73] 0.766 [1.52] 0.008 [0.17] 0.951 0.190 Sample size 1,233 1,161 1,705 1,527 Michigan Mean duration 14.78 19.43 10.96 13.65 4.655 2.692 1.963 (weeks) (34.7) (39.5) (26.4) (34.1) [1.34] [1.45] Mean 1.582 1.871 1.413 1.510 0.289* 0.097 0.192 1

ln(duration) (1.42) (1.45) (1.35) (1.35) [2.16] [1.17] Sample size 239 219 589 477 (c) Estimate the following equation for Kentucky and Michigan separately and report the results: log(duration) = $ 0 + $ 1 afchnge + $ 2 highearn + $ 3 (afchnge x highearn) + $ 4 male + $ 5 married + $ 6 age + u Kentucky log(duration) = 0.866 + 0.014 afchnge + 0.202 highearn + 0.218 (afchnge x highearn) (12.8)** (0.31) (3.91)** (3.13)** - 0.039 male + 0.087 married + 0.007 age + u (0.87) (2.14)* (4.86)** Michigan log(duration) = 1.118 + 0.082 afchnge + 0.111 highearn + 0.186 (afchnge x highearn) (7.81)** (0.96) (0.99) (1.20) - 0.207 male - 0.030 married + 0.014 age + u (2.14)* (0.37) (4.64)** (d) Estimate the same model in (c) for samples before (afchnge=0) and after (afchnge=1) the policy change separately. Do the Chow test. Has there been a structural change? Kentucky All log(duration) = 0.867 + 0.309 highearn - 0.037 male + 0.088 married + 0.007 age + u (13.5)** (7.81)** (0.82) (2.17)* (4.92)** SSR=8488.8, R 2 =0.0254, n=5360, k+1=5 Kentucky Before log(duration) = 0.896 + 0.215 highearn - 0.101 male + 0.109 married + 0.007 age + u (10.4)** (4.04)** (1.66) (1.96)* (3.48)** SSR=4229.9, R 2 =0.0188, n=2787, k+1=5 Kentucky After log(duration) = 0.850 + 0.404 highearn + 0.030 male + 0.061 married + 0.007 age + u (8.91)** (6.88)** (0.45) (1.03) (3.35)** SSR=4224.5, R 2 =0.0357, n=2573, k+1=5 F = [8488.8 (4229.9 + 4224.5)]/ 5 = 4.35 (4229.9 + 4224.5) /[5360 10)] This is larger than the critical F-value for degrees of freedom of five and a large number, 2.21. Thus, the result indicates a structural change before and after the change in the compensation law in Kentucky. 2

Michigan All log(duration) = 1.150 + 0.200 highearn - 0.210 male - 0.023 married + 0.014 age + u (8.24)** (2.36)* (2.16)* (0.29) (4.65)** SSR=2740.3, R 2 =0.0273, n=1484, k+1=5 Michigan Before log(duration) = 1.132 + 0.117 highearn - 0.169 male - 0.105 married + 0.014 age + u (6.05)** (1.01) (1.29) (0.97) (3.44)** SSR=1466.8, R 2 =0.0217, n=804, k+1=5 Michigan After log(duration) = 1.173 + 0.280 highearn - 0.254 male + 0.065 married + 0.014 age + u (5.58)** (2.26)* (1.76) (0.54) (3.14)** SSR=1261.2, R 2 =0.0365, n=680, k+1=5 F = [2740.3 (1466.8+ 1261.2)]/ 5 = 1.33 (1466.8+ 1261.2) /[1484 10)] This is smaller than the critical F-value for degrees of freedom of five and a large number, 2.21. Thus, the result indicates no structural changes before and after the change in the compensation law in Michigan. 2. (14 points) For this exercise use the data called TRAFFIC1_vertical.dta (I will send you this data set via email). Read Example 13.7 in Wooldridge. (a) Theory says that the FE estimators and FD estimators should be identical. Estimate a Fixed Effect model by using TRAFIC1_vertical.dta and report the results. (Use stateid for identification; use xtreg command.) Your answers should be identical to the ones in Equation 13.27 in page 447 in Wooldridge. The key to this question is that you need specify a year dummy for observations in 1990 in FE. In FD models, a constant term is eliminated. The constant term in Equation 13.27 in Wooldridge is not a constant term but a year dummy for 1990.. xtreg dthrte open admn year90, fe Fixed-effects (within) regression Number of obs = 102 Group variable (i): stateid Number of groups = 51 R-sq: within = 0.7375 Obs per group: min = 2 between = 0.0005 avg = 2.0 overall = 0.1186 max = 2 F(3,48) = 44.96 corr(u_i, Xb) = -0.2455 Prob > F = 0.0000 dthrte Coef. Std. Err. t P> t [95% Conf. Interval] 3

open -.4196787.2055948-2.04 0.047 -.8330547 -.0063028 admn -.1506024.1168223-1.29 0.204 -.3854894.0842846 year90 -.4967872.0524256-9.48 0.000 -.6021959 -.3913784 _cons 2.918364.0924787 31.56 0.000 2.732423 3.104304 sigma_u.57970511 sigma_e.24289261 rho.85066169 (fraction of variance due to u_i) F test that all u_i=0: F(50, 48) = 9.46 Prob > F = 0.0000 (b) Estimate a Random Effect model and conduct the Hausman test between the FE and RE models. Report the Hausman test statistic. (Hint: use the help command to learn how to conduct the Hausman test in STATA.). xtreg dthrte open admn year90, fe Fixed-effects (within) regression Number of obs = 102 Group variable (i): stateid Number of groups = 51 R-sq: within = 0.7375 Obs per group: min = 2 between = 0.0005 avg = 2.0 overall = 0.1186 max = 2 F(3,48) = 44.96 corr(u_i, Xb) = -0.2455 Prob > F = 0.0000 dthrte Coef. Std. Err. t P> t [95% Conf. Interval] open -.4196787.2055948-2.04 0.047 -.8330547 -.0063028 admn -.1506024.1168223-1.29 0.204 -.3854894.0842846 year90 -.4967872.0524256-9.48 0.000 -.6021959 -.3913784 _cons 2.918364.0924787 31.56 0.000 2.732423 3.104304 sigma_u.57970511 sigma_e.24289261 rho.85066169 (fraction of variance due to u_i) F test that all u_i=0: F(50, 48) = 9.46 Prob > F = 0.0000. est store all. xtreg dthrte open admn year90, re Random-effects GLS regression Number of obs = 102 Group variable (i): stateid Number of groups = 51 R-sq: within = 0.7236 Obs per group: min = 2 between = 0.0001 avg = 2.0 overall = 0.1816 max = 2 Random effects u_i ~ Gaussian Wald chi2(3) = 125.97 corr(u_i, X) = 0 (assumed) Prob > chi2 = 0.0000 dthrte Coef. Std. Err. z P> z [95% Conf. Interval] open -.1883466.1275398-1.48 0.140 -.43832.0616269 admn -.0316602.097594-0.32 0.746 -.222941.1596206 year90 -.5290525.0516877-10.24 0.000 -.6303585 -.4277465 _cons 2.783205.0992372 28.05 0.000 2.588704 2.977706 sigma_u.50356947 sigma_e.24289261 rho.81125791 (fraction of variance due to u_i) 4

. hausman all ---- Coefficients ---- (b) (B) (b-b) sqrt(diag(v_b-v_b)) all. Difference S.E. open -.4196787 -.1883466 -.2313322.1612539 admn -.1506024 -.0316602 -.1189422.0642095 year90 -.4967872 -.5290525.0322654.0087652 b = consistent under Ho and Ha; obtained from xtreg B = inconsistent under Ha, efficient under Ho; obtained from xtreg Test: Ho: difference in coefficients not systematic chi2(3) = (b-b)'[(v_b-v_b)^(-1)](b-b) = 6.24 Prob>chi2 = 0.1007 Thus, the Hausman test is not significant even at the 10 percent level. Thus, it can not reject the null hypothesis that the Random Effect model are biased because of time-invariant unobserved variables. (c) By using Example 9-1 in the lecture notes as an example, transfer TRAFIC1_vertical.dta to a linearized data (where each state has one row). And estimate the First Difference model. Report the results.. reg ddthrte dadmn dopen Source SS df MS Number of obs = 51 -------------+------------------------------ F( 2, 48) = 3.23 Model.762579785 2.381289893 Prob > F = 0.0482 Residual 5.66369475 48.117993641 R-squared = 0.1187 -------------+------------------------------ Adj R-squared = 0.0819 Total 6.42627453 50.128525491 Root MSE =.3435 ddthrte Coef. Std. Err. t P> t [95% Conf. Interval] dopen -.4196787.2055948-2.04 0.047 -.8330547 -.0063028 dadmn -.1506024.1168223-1.29 0.204 -.3854894.0842846 _cons -.4967872.0524256-9.48 0.000 -.6021959 -.3913784 The results are exactly same as in the FE model in (b). Here is a STATA do file that was used to manage the data. set more off set matsize 800 clear use c:\docs\fasid\classes\econometrics\wooldridge_data\traffic1_vertical.dt a keep if year90==0 keep state admn open dthrte stateid rename admn admn85 rename open open85 rename dthrte dthrte85 sort stateid 5

save c:\docs\tmp\traffic85.dta, replace clear use c:\docs\fasid\classes\econometrics\wooldridge_data\traffic1_vertical.dt a keep if year90==1 keep state admn open dthrte stateid rename admn admn90 rename open open90 rename dthrte dthrte90 sort stateid save c:\docs\tmp\traffic90.dta, replace clear use c:\docs\tmp\traffic85.dta sort stateid merge stateid using c:\docs\tmp\traffic90.dta gen dadmn=admn90-admn85 gen dopen=open90-open85 gen ddthrte=dthrte90-dthrte85 reg ddthrte dopen dadmn 6