ECON Introductory Econometrics Seminar 2, 2015

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

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

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

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

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

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

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

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

Time series data: Part 2

[BINARY DEPENDENT VARIABLE ESTIMATION WITH STATA]

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

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

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

Problem Set 6 ANSWERS

Assignment #5 Solutions: Chapter 14 Q1.

Quantitative Techniques Term 2

Advanced Econometrics

Solutions for Session 5: Linear Models

Heteroskedasticity. . reg wage black exper educ married tenure

Stat 328, Summer 2005

The Multivariate Regression Model

Chapter 11 Part 6. Correlation Continued. LOWESS Regression

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

Relation between Income Inequality and Economic Growth

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

(ii) Give the name of the California website used to find the various insurance plans offered under the Affordable care Act (Obamacare).

u panel_lecture . sum

Determinants of FII Inflows:India

Example 1 of econometric analysis: the Market Model

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

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

Module 4 Bivariate Regressions

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

Econometric Methods for Valuation Analysis

Logistic Regression Analysis

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

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

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

1) The Effect of Recent Tax Changes on Taxable Income

Does Globalization Improve Quality of Life?

Impact of Household Income on Poverty Levels

of U.S. High Technology stocks

The impact of cigarette excise taxes on beer consumption

Econometrics is. The estimation of relationships suggested by economic theory

Module 9: Single-level and Multilevel Models for Ordinal Responses. Stata Practical 1

Example 7.1: Hourly Wage Equation Average wage for women

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

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

Chapter 6 Part 3 October 21, Bootstrapping

EXST7015: Multiple Regression from Snedecor & Cochran (1967) RAW DATA LISTING

SAS Simple Linear Regression Example

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

Effect of Education on Wage Earning

Introduction to Population Modeling

Getting Started in Logit and Ordered Logit Regression (ver. 3.1 beta)

Chapter 6 Part 6. Confidence Intervals chi square distribution binomial distribution

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

Homework Assignment Section 3

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2016, Mr. Ruey S. Tsay. Solutions to Midterm

Model fit assessment via marginal model plots

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, Last revised January 13, 2018

Testing the Solow Growth Theory

Econometric Methods for Valuation Analysis

Getting Started in Logit and Ordered Logit Regression (ver. 3.1 beta)

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

Rationale. Learning about return and risk from the historical record and beta estimation. T Bills and Inflation

Catherine De Vries, Spyros Kosmidis & Andreas Murr

Algebra 1 Unit 3: Writing Equations

Title: Evaluating the effect of Economic Freedom and other Factors on the Economic Prosperity of Nations

Homework 0 Key (not to be handed in) due? Jan. 10

Booth School of Business, University of Chicago Business 41202, Spring Quarter 2014, Mr. Ruey S. Tsay. Solutions to Midterm

Cameron ECON 132 (Health Economics): FINAL EXAM (A) Fall 17 Multiple Choice (1 points each question) CIRCLE ONE

Advanced Industrial Organization I Identi cation of Demand Functions

Maximum Likelihood Estimation Richard Williams, University of Notre Dame, Last revised January 10, 2017

Lecture 13: Identifying unusual observations In lecture 12, we learned how to investigate variables. Now we learn how to investigate cases.

Homework Assignment Section 3

Modeling wages of females in the UK

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

Regression Discontinuity Design

Introduction to fractional outcome regression models using the fracreg and betareg commands

Risk Analysis. å To change Benchmark tickers:

Sociology Exam 3 Answer Key - DRAFT May 8, 2007

Do M&As Create Value for US Financial Firms. Post the 2008 Crisis?

STATISTICS 110/201, FALL 2017 Homework #5 Solutions Assigned Mon, November 6, Due Wed, November 15

Diploma Part 2. Quantitative Methods. Examiner s Suggested Answers

The SAS System 11:03 Monday, November 11,

Public Economics. Contact Information

Table 4. Probit model of union membership. Probit coefficients are presented below. Data from March 2008 Current Population Survey.

An analysis of the relationship between economic development and demographic characteristics in the United States

The distribution of the major economies effort in the Durban platform scenarios

Assesing the Impact of Public Research Funding on Scientific Production the Case Study from Slovakia

Technical Documentation for Household Demographics Projection

Jet Fuel-Heating Oil Futures Cross Hedging -Classroom Applications Using Bloomberg Terminal

Point-Biserial and Biserial Correlations

Multinomial Logit Models - Overview Richard Williams, University of Notre Dame, Last revised February 13, 2017

> attach(grocery) > boxplot(sales~discount, ylab="sales",xlab="discount")

Testing Capital Asset Pricing Model on KSE Stocks Salman Ahmed Shaikh

Regression Review and Robust Regression. Slides prepared by Elizabeth Newton (MIT)

Transcription:

ECON4150 - Introductory Econometrics Seminar 2, 2015 Stock and Watson EE4.1, EE5.2 Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 1 / 14

Seminar 2 Author: Andrea University of Oslo, spring semester 2015 ------------------------- clear all cd "\pc\desktop\courses\introductory_econometrics\seminar_2" use "Growth.dta" cap log close log using EE4_1EE5_2.log,replace Variables we are going to use: Country_name: String value, Name of country growth: Average annual percentage growth of real Gross Domestic Product (GDP)* from 1960 to 1995. tradeshare: The average share of trade in the economy from 1960 to 1995, measured as the sum of exports plus imports, divided by GDP; Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 2 / 14

Exercise E4.1, a) two (scatter growth tradeshare) //yes, it looks like there is a positive association between the two variables growth -2 0 2 4 6 8 0.5 1 1.5 2 tradeshare Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 3 / 14

Exercise E4.1, b) //b) show malta in the graph, contry_name is a string variable. two (scatter growth tradeshare, mcolor(blue)) /// (scatter growth tradeshare if country_name=="malta", mcolor(red)) ///, scheme(s1color) legend(pos(7) ring(0) label(1 "All countries") label(2 "Malta")) Malta does look as an outlier in the sense that its value of trade share is abnormaly distant from other values. growth -2 0 2 4 6 8 All countries Malta 0.5 1 1.5 2 tradeshare Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 4 / 14

Exercise E4.1, c) reg growth tradeshare, r Linear regression Number of obs = 65 F( 1, 63) = 12.09 Prob > F = 0.0009 R-squared = 0.1237 Root MSE = 1.79 Robust growth Coef. Std. Err. t P> t [95% Conf. Interval] -------------+---------------------------------------------------------------- tradeshare 2.306434.6632868 3.48 0.001.9809608 3.631907 _cons.6402653.4591457 1.39 0.168 -.2772641 1.557795 the estimated slope is the estimated beta1= 2.31. The estimated intercept is instead beta0=0.64 Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 5 / 14

Exercise E4.1, c) // predicted growth rate for country with tradeshare=.5 // growthhat = beta0hat + beta1hat * Tradeshare display _b[_cons]+_b[tradeshare]*0.5 1.7934821 The predicted annual percentage growth between 1960 and 1995 for a country with a trade share of 0.5 in the same period is 1.80 display _b[_cons]+_b[tradeshare]*11 2.946699 The predicted annual percentage growth between 1960 and 1995 f or a country with a trade share of 1.0 in the same period is 2.95 Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 6 / 14

Exercise E4.1, d) reg growth tradeshare if (country_name!="malta"), r Linear regression Number of obs = 64 F( 1, 62) = 3.77 Prob > F = 0.0567 R-squared = 0.0447 Root MSE = 1.7894 Robust growth Coef. Std. Err. t P> t [95% Conf. Interval] -------------+---------------------------------------------------------------- tradeshare 1.680905.8656171 1.94 0.057 -.0494392 3.411249 _cons.9574107.5360579 1.79 0.079 -.1141537 2.028975 The estimated slope is the estimated beta1 = 1.70, less steep than before The estimated intercept is instead beta0 = 0.96 Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 7 / 14

Exercise E4.1, d) display _b[_cons]+_b[tradeshare]*1 2.6383153 display _b[_cons]+_b[tradeshare]*0.5 1.797863 Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 8 / 14

Exercise E4.1, e) // first we predict the values for each regression and then we plot the graphs reg growth tradeshare, r predict growthhat reg growth tradeshare if (country_name!="malta"), r predict growthhat_nomalta two (scatter growth tradeshare, mcolor(black)) /// (line growthhat tradeshare, lwidth(medthick) lpattern(solid) lcolor(blue)) /// (line growthhat_nomalta tradeshare, lwidth(medthick) lpattern(solid) lcolor(red)) ///, scheme(s1color) legend(pos(7) ring(0)label(1 "Observations") label(2 "fitted values all") label(3 "fitted values w/o malta")) -2 0 2 4 6 8 Observations fitted values w/o malta fitted values all 0.5 1 1.5 2 tradeshare Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 9 / 14

Exercise E4.1, e) //f) Malta is a freight transport site, which explains its large trade share. many imported goods are immidiatly exported to other countries. Then imports and exoprts Malta are different from those of other countries. This reasonins could justify dropping Malta from the analysis of Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 10 / 14

Exercise E5.2, a) //exclude data from Malta drop if country_name=="malta" (1 observation deleted) reg growth tradeshare, r Linear regression Number of obs = 64 F( 1, 62) = 3.77 Prob > F = 0.0567 R-squared = 0.0447 Root MSE = 1.7894 Robust growth Coef. Std. Err. t P> t [95% Conf. Interval] -------------+---------------------------------------------------------------- tradeshare 1.680905.8656171 1.94 0.057 -.0494392 3.411249 _cons.9574107.5360579 1.79 0.079 -.1141537 2.028975 Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 11 / 14

Exercise E5.2, a) t statistics for h0: beta1=0 is t_act = (betahat1-0)/se(betahat1)= 1.680905 /.8656171=1.94. Stata uses the student t distribution that with n sufficiently large can be approximated to the standard normal the sampling distribution of the t-statistic is the Student s distribution with (n-k) degrees of freedom,( k is number of regressors+intercept) only if two additional assumptions hold: - the error terms are homoskedastic - the error terms are normally distributed the critival value for(table 2 appendix, page 805, 2-sided values, n-2 degrees of freedom,62): -10% significance leve,l is t_c = 1.669, null hipotesis can be rejected as t_act > t_c -5% significance level, is t_c = 1.999, null hipotesis can not be rejected as t_act < t_c -1% significance level, is t_c = 2.38, null hipotesis can not be rejected as t_act < t_c Therefore the estimated slope is not statistically significant different from 0 at a 5% level. Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 12 / 14

Exercise E5.2, b) The two-tailed P-value for t_act=1.94 and 62 degree of freedom (not in the book) is 0.0567 that is larger than 0.05 as expected. Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 13 / 14

Exercise E5.2, c) // The 90% confidence interval is 1.680905+ - 1.6698*0.8656171= [0.2355,3.1263]. // As expected the 0 is outside the intervall // level(90) as an option in regression command will return 90% confidence intervall reg growth tradeshare, r level(90) Linear regression Number of obs = 64 F( 1, 62) = 3.77 Prob > F = 0.0567 R-squared = 0.0447 Root MSE = 1.7894 Robust growth Coef. Std. Err. t P> t [90% Conf. Interval] -------------+---------------------------------------------------------------- tradeshare 1.680905.8656171 1.94 0.057.2354937 3.126316 _cons.9574107.5360579 1.79 0.079.062299 1.852522 log close Stock and Watson EE4.1, EE5.2 ECON4150 - Introductory Econometrics Seminar 2, 2015 14 / 14