Agricultural and Applied Economics 637 Applied Econometrics II. Assignment III Maximum Likelihood Estimation (Due: March 25, 2014)

Size: px
Start display at page:

Download "Agricultural and Applied Economics 637 Applied Econometrics II. Assignment III Maximum Likelihood Estimation (Due: March 25, 2014)"

Transcription

1 Agricultural and Applied Economics 637 Applied Econometrics II Assignment III Maximum Likelihood Estimation (Due: March 5, 014) In this assignment I would like you to extend some of the theoretical Maximum Likelihood material to a number of empirical applications. Make sure you hand in your MATLAB code, edited output files, etc. 1. (55 pts) Let y1, y,,yt be a random sample from a population with the following PDF: ( ) f y t yt t λ λ e = where yt can take any non-negative integer value (e.g., 0, 1,, 3, ). y! A variable with this PDF is referred to as having a Poisson distribution. One can show that under this distribution, the mean and variance of this random variable is equal to the λ parameter. The file count_intro.ppt contains a brief overview of what is referred to as a Count Data model which is based on the Poisson distribution. For more detail refer to Greene p or Cameron and Trvedi, This modeling framework is often used when the dependent variable is the count of the number of times a particular event or activity occurs. Given the above distribution function, the sample log-likelihood function can be represented as: ( ) ( ) = ( ) T t = 1 t t t t L λ y -λ + y ln(λ ) ln y! (1.1) Let s extend the above model to where we allow the mean and variance of the Poisson random variable (λ) to be a function of a set of exogenous variables. That is, like the CRM we would like the mean value of the dependent variable to be conditional on a set of exogenous variables and a set of unknown parameters. The standard Poisson regression model assumption is to use the exponential mean parameterization: λt = exp(ztγ), where t=1,,t and Z is a matrix of exogenous variables and γ the vector of unknown coefficients to be estimated. Using the above likelihood function, one can represent the sample log-likelihood function for the count model to be: T t= 1 ( ( )) L = λ + y Z γ ln y! (1.) t t t t 1

2 where λt=exp(ztγ). The Poisson Maximum Likelihood estimator, γ* is the solution to the K nonlinear equations corresponding to the 1 st order condition for maximum ( ) T t = 1 t t t Kx1 likelihood: y ( ) exp Z γ Z = 0. If Zt includes a constant term then the ( ) residuals yt exp(ztγ) sum to 0. Also, the likelihood function is globally concave, hence solving these equations via iterative algorithms yields unique parameter estimates. Using this modeling framework, I would like you to examine what determines the number of doctor visits undertaken by a sample of adults. The data file, randdata.xls contains data collected by the RAND Corporation from 197 to 198. The main goal of their study was to assess how a patient s use of health services is affected by types of randomly assigned health insurance, including both fee-for-service and health maintenance organizations (HMO s). In the experiment, data were collected from about 8,000 enrollees from,83 families and 6 sites across the U.S. Each family was enrolled in 1 of 14 different health insurance plans for either 3 or 5 years. The plans ranged from free care to 95% coinsurance below a maximum dollar expenditure (MDE) and also included assignment in a prepaid group practice. 1 Data were collected from the enrollee s use of medical care services and health status throughout the randomly assigned term of enrollment for either 3 or 5 years. There are a total of 0,163 observations in the final dataset. Table 1 is used to show the frequency distribution of the number of doctor visits for those who had doctor visits. Approximately 31% of the sample had zero doctor visits during the study period. Table 1: Distribution of the Number of Doctor Visits for Those With Visits Contacts % Contacts >15 Max % NOTE: The fact that because the insurance plans are randomly assigned, not freely chosen by the participants, one does not face the problem of endogenous treatment effect.

3 In Table we provide a listing of the variables that should be used in the ML estimation of the econometric model. Table. Subset of Variables in the RAND Corporation Physician Visit Dataset Variable Definition MDVIS Number of face-to-face doctor visits LOGC Ln(coinsurance + 1), 0 coinsurance 100 IDP 1 if Individual Deductible Plan, 0 Otherwise FMDE 0 if IDP=1, ln(max(1,mde/(.01*coinsurance))) otherwise LINC Ln(Annual Income) LNUM Ln(Family Size) XAGE Age That Year FEMALE 1 if Person is Female, 0 if Male CHILD 1 if XAGE < 18 FCHILD FEMALE*CHILD BLACK 1 if Race of Household Head is Black EDUCDEC Education of Household Head in Years PHYSLM 1 if the Person has a Physical Limitation DISEA Number of Chronic Diseases HLTHG 1 if Self-Rated Health is Good HLTHF 1 if Self-Rated Health is Fair HLTHP 1 if Self-Rated Health is Poor NOTE: These variables are not stored in the dataset in this order and may or may not be capitalized. (a) (15 pts) Estimate the Poisson regression model using the likelihood function that allows for the count variable mean and variance to depend on a set of exogenous variables. Use mdvis as the dependent variable in this Poisson regression model and the remaining variables shown in Table 1 as exogenous variables and a vector of 1 s to allow for an intercept in the mean generating function. (Hint: Make sure 3

4 you include the intercept. Otherwise the model has a difficult time obtaining a solution.) To estimate these parameters, use the BHHH algorithm to estimate the ML model using numerical gradients of the log-likelihood function. Present the estimated coefficients, associated standard errors and total sample log-likelihood function value. Evaluate one of the measures of the degree of explanatory power of the regression model outlined in Greene p (Hint: When implementing the above log-likelihood function you will need to evaluate the natural logarithm of the factorial number of doctor visits. How can you do this in MATLAB?) (b) (5 pts) Undertake a single likelihood ratio test to examine the null hypothesis that self-rated health status has no effect on the expected number of doctor visits. (c) (10 pts) Using the results from the Poisson regression model, compare the estimated marginal effect of a change in LOGC for an individual in excellent health vs. an individual in poor health. Statistically test whether these two marginal impacts are equal. (Note: Except for the health status variables, the remaining exogenous variables should be set at overall sample mean values) (d) (5 pts) Evaluate at the mean values of the exogenous variables the elasticity of a change in family income, where INCOME=exp(linc), on the expected number of doctor visits. Is this elasticity different from 1.0? (e) (10 pts) For dummy variables, the use of marginal analysis is inappropriate as one evaluates the partial derivative of a variable that can only undertake discrete changes (i.e., 0 or 1). Develop a relative measure of the impact on the expected number of doctor visits of the respondent being female. What is the variance of this relative measure? (Hint: The term relative is important!! All other exogenous data should be set at the overall sample mean.) (f) (10 pts) Consider the Poisson regression model with conditional mean, λ=exp(zγ). Treat the estimation problem as an unweighted least squares problem in which y=e[y Z]+ε where E[y Z]=exp(Zγ) and ε~iid(0, σ ). That is, I am not assuming the error terms are normally distributed. Estimate the above model via nonlinear least squares and via the use of the numerical GN algorithm. Compare the ML versus least squares results. Using a single statistical test, test the null hypothesis that the 4

5 results obtained under the two estimations are the statistically the same. (Hint: Using the MLE as a base, what would be the restricted model?). (0 pts) ) There are a variety of ways to control for the effect of heteroscedasticity in the estimation of a linear regression model. We reviewed in class the multiplicative heteroscedasticity approach. Under this approach we have yt = Xtβ + εt where E(εt )= σt = exp(dtα), Dt is a (1 x S) vector containing the t th observation on S nonstochastic explanatory variables and α is a (S x 1) parameter vector. Thus, the error variance changes across observation and the error covariances across observations are 0. The observation specific error variance depends on a set of exogenous variables. Assume you work for the Energy Information Agency of the U.S. Department of Energy. You are interested in examining trends in annual U.S. gasoline consumption. You collect data for 5 years (i.e., ) for your econometric analysis. For this assignment I would like you to use the BHHH maximum likelihood estimation algorithm to estimate the parameters of the multiplicative heteroscedastic model as discussed in Greene, p and by JHGLL, p You specify the dynamic model of U.S. per capita demand for gasoline via the following: ln(q_gast)=β0 + β1ln(gaspt) + βln(pc_inct) + β3ln(pnct) + β4ln(puct) (.1) + β5shock73t+ β6shock79t + β7recesst + β8popt + γln(q_gast-1) + εt where εt~n(0,σt ), σt = exp(dtα) and Dt is composed of the variables: (i) an intercept, (ii) PC_Inct, (iii) Popt and (iv) Recesst. (Warning: Be concerned about scaling especially with respect to the exponential function!) Table 3 is used to provide definitions of the variables used in (.1). This data can be obtained by accessing the US_gas_use.xlsx file located on the class website. The order of the variables may not be in the order listed above. (Hint: To simplify, you may want to use the pull_data.m matlab script file to grab the appropriate data to create specific matrices). 5

6 Table 3. Description of Variables Used in Equation (.1) Variable Description Q_Gas Total Quantity of Gasoline Consumed GasP Gasoline Price Index PC_Inc Per Capita Disposable Income PNC Price Index of New Cars PUC Price Index of Used Cars Shock73 Dummy variable identifying the effects of the 1973 Oil Embargo = 1 from , 0 otherwise Shock79 Dummy variable identifying the effects of the 1979 Price Increase = 1 from 1979-Present, 0 otherwise Dummy variable identifying years in which the U.S. Recess economy was in a recession = 1 for recession years, 0 otherwise Pop Population of the U.S. (in millions) (a) (15 pts) Estimate the parameters of (.1) using the numerical GN algorithm to estimate model parameters. Present the usual parameter and regression-based statistics. Using the information in Greene, p.556 undertake Wald, Likelihood Ratio and Lagrangian Multiplier tests of the null hypothesis that gasoline demand is characterized as having a homoscedastic error structure. (b) (5 pts) Given the functional form shown in (.1), we know that the short run price and income elasticities are β1 and β, respectively. Due to the presence of lagged gasoline consumption as an exogenous variable, the long run price (ξp) and income (ξi ) elasticities are given by the following: β1 β ξ P = ξi = (.) 1 γ 1 γ Test the null hypothesis that ξp -1. Then test the null hypothesis that ξi = 1. Finally, test the joint hypothesis that ξp -1 and ξi = (35 pts) Although we did not review in detail in class the MLE of the AR1 model, we provided the foundations of how to apply MLE to this time-series specification. Let s assume we have the following linear regression with AR(1) errors: 6

7 Yt = Xtβ + εt (t=1,,t) εt = ρεt-1 + μt ; ρ <1 E[μt X] = 0 E[μtμs] = σ μ if t = s and 0 otherwise μt ~N(0, σ μ) Prais and Winsten (1954) shows how one can include the 1 st observation in a 1 ρ y 1 1 ρ x 1 y ρy1 x ρx1 * * transformed model: Y = y X 3 ρy = x3 ρx. Given the above yt ρyt 1 xt ρxt 1 structure the total sample log-likelihood function can be shown to be: ( ) ( ) * * 1 ρ ε T 1 1 y t xβ t L = ln ( π) ln σμ + ln ( 1 ρ ) + ln ( π) ln σ μ σ μ t= σ μ Beach and MacKinnon (1978) go one step further and concentrate out σ from the above log-likelihood and present a simpler version. ( ) ( ) T ( ) ( yt Xtβ ρyt ρxt β ) 1 T 1 1 L = ln 1 ρ ln 1 ρ ε 1 ln t= For this question I would like you to use the same dataset as you used in question # above and to use the Beach and Mackinnon(1978) log-likelihood function to estimate the ρ and β parameters. In this application you are not concerned with the presence of heteroscedasticity but with the presence of autocorrelated errors. You decide that you would like to estimate the following econometric model assuming AR(1) errors: ln(q_gast/popt)=β0 + β1ln(gaspt) + βln(pc_inct) + β3ln(pnct) + β4ln(puct) + β5shock73+ β6shock79 + β7recess + εt (3.1) (Note the difference in model specification from question #). Beach, C. and J. MacKinnon, A Maximum Likelihood Procedure for Regression with Autocorrelated Errors, Econometrica, 46:

8 (a) Estimate the above model using the CRM with the traditional CRM parameter standard errors using the correct but inefficient standard errors. 3 In addition to the typical regression summary statistics, coefficient estimates, the above sets of coefficient standard errors, equation F-statistic, etc., modify your CRM estimation code so that it automatically calculates and displays (i) the Durbin-Watson (DW) statistic, (ii) the ρ value assuming AR(1) and (iii) the asymptotic standard normal test statistic for testing for AR(1) based on your estimate of ρ. 4 What is the DW statistic for this model? Does this statistic indicate the presence of an AR(1) error structure? [Hint: Remember the relationship between consecutive errors under the AR(1) error structure.] (b) I would like you to use maximum likelihood procedures to estimate the above paramaters. Use the BHHH system for estimating the parameters and associated statistics. Remember that you need to insure that -1 < ρ < 1. Use the tanh function to guarantee this. Display your estimation results. Make sure you evaluate the variance of ρ where ρ = tanh(γ) where γ is a coefficient that appears in the list of estimated parameters. That is ρ is not a parameter directly estimated. 3 In general when we have error terms that are characterized as being autocorrelated (or heteroscedastic) the correct formulas to use to estimate the CRM parameter covariance matrix is not σ (X X) -1 but rather the following: Σ β = (X X) -1 X ΦX(X X) -1 = σ (X X) -1 X ΨX(X X) -1 where Φ is the error variance matrix, Φ=σ Ψ, σ is a scalar, Ψ is a (T x T) symmetric matrix and T the number of observations. The Ψ can be 1 ρ ρ 1+ ρ ρ ρ 1 ρ 0 0 obtained from the following: + Ψ = ρ ρ ρ 1 4 Under suitable conditions, it can be shown that ˆρ will be approximately normally distributed with mean ρ and variance (1-ρ )/T. If the null hypothesis that ρ=0 is true the variance becomes 1/T. You can therefore use a Z-statistic to test the above hypothesis. 8

9 (c) Using the above sets of results (i.e., CRM and ML) test the null hypotheses that the income elasticity equals the new car price elasticity and equals the used car elasticity. Are there any differences in the results? 9

Agricultural and Applied Economics 637 Applied Econometrics II. Assignment III Maximum Likelihood Estimation (Due: March 31, 2016)

Agricultural and Applied Economics 637 Applied Econometrics II. Assignment III Maximum Likelihood Estimation (Due: March 31, 2016) Agricultural and Applied Economics 637 Applied Econometrics II Assignment III Maximum Likelihood Estimation (Due: March 31, 2016) In this assignment I would like you to apply the theoretical Maximum Likelihood

More information

DEEP, University of Lausanne Lectures on Econometric Analysis of Count Data Pravin K. Trivedi May 2005

DEEP, University of Lausanne Lectures on Econometric Analysis of Count Data Pravin K. Trivedi May 2005 DEEP, University of Lausanne Lectures on Econometric Analysis of Count Data Pravin K. Trivedi May 2005 The lectures will survey the topic of count regression with emphasis on the role on unobserved heterogeneity.

More information

Agricultural and Applied Economics 637 Applied Econometrics II

Agricultural and Applied Economics 637 Applied Econometrics II Agricultural and Applied Economics 637 Applied Econometrics II Assignment 1 Review of GLS Heteroskedasity and Autocorrelation (Due: Feb. 4, 2011) In this assignment you are asked to develop relatively

More information

Economics 671: Applied Econometrics Department of Economics, Finance and Legal Studies University of Alabama

Economics 671: Applied Econometrics Department of Economics, Finance and Legal Studies University of Alabama Problem Set #1 (Random Data Generation) 1. Generate =500random numbers from both the uniform 1 ( [0 1], uniformbetween zero and one) and exponential exp ( ) (set =2and let [0 1]) distributions. Plot the

More information

Bayesian Econometrics - Computer section

Bayesian Econometrics - Computer section Bayesian Econometrics - Computer section Leandro Magnusson Department of Economics Brown University Leandro Magnusson@brown.edu http://www.econ.brown.edu/students/leandro Magnusson/ April 26, 2006 Preliminary

More information

ECON 4230 Intermediate Econometric Theory Exam

ECON 4230 Intermediate Econometric Theory Exam ECON 4230 Intermediate Econometric Theory Exam Multiple Choice (20 pts). Circle the best answer. 1. The Classical assumption of mean zero errors is satisfied if the regression model a) is linear in the

More information

Formulary Applied Econometrics

Formulary Applied Econometrics Department of Economics Formulary Applied Econometrics c c Seminar of Statistics University of Fribourg Formulary Applied Econometrics 1 Rescaling With y = cy we have: ˆβ = cˆβ With x = Cx we have: ˆβ

More information

Outline. Nature of the Problem. Nature of the Problem. Basic Econometrics in Transportation. Autocorrelation

Outline. Nature of the Problem. Nature of the Problem. Basic Econometrics in Transportation. Autocorrelation 1/30 Outline Basic Econometrics in Transportation Autocorrelation Amir Samimi What is the nature of autocorrelation? What are the theoretical and practical consequences of autocorrelation? Since the assumption

More information

Practice exam questions

Practice exam questions Practice exam questions Nathaniel Higgins nhiggins@jhu.edu, nhiggins@ers.usda.gov 1. The following question is based on the model y = β 0 + β 1 x 1 + β 2 x 2 + β 3 x 3 + u. Discuss the following two hypotheses.

More information

Course information EC2020 Elements of econometrics

Course information EC2020 Elements of econometrics Course information 2015 16 EC2020 Elements of econometrics Econometrics is the application of statistical methods to the quantification and critical assessment of hypothetical economic relationships using

More information

Ch.10 Autocorrelated Disturbances (June 15, 2016)

Ch.10 Autocorrelated Disturbances (June 15, 2016) Ch10 Autocorrelated Disturbances (June 15, 2016) In a time-series linear regression model setting, Y t = x tβ + u t, t = 1, 2,, T, (10-1) a common problem is autocorrelation, or serial correlation of the

More information

A simple bivariate count data regression model. Abstract

A simple bivariate count data regression model. Abstract A simple bivariate count data regression model Shiferaw Gurmu Georgia State University John Elder North Dakota State University Abstract This paper develops a simple bivariate count data regression model

More information

Ecn Analysis of Economic Data University of California - Davis February 23, 2010 Instructor: John Parman. Midterm 2. Name: ID Number: Section:

Ecn Analysis of Economic Data University of California - Davis February 23, 2010 Instructor: John Parman. Midterm 2. Name: ID Number: Section: Ecn 102 - Analysis of Economic Data University of California - Davis February 23, 2010 Instructor: John Parman Midterm 2 You have until 10:20am to complete this exam. Please remember to put your name,

More information

Chapter 10 Nonlinear Models

Chapter 10 Nonlinear Models Chapter 10 Nonlinear Models Nonlinear models can be classified into two categories. In the first category are models that are nonlinear in the variables, but still linear in terms of the unknown parameters.

More information

Functional Form. Econometrics. ADEi.

Functional Form. Econometrics. ADEi. Functional Form Econometrics. ADEi. 1. Introduction We have employed the linear function in our model specification. Why? It is simple and has good mathematical properties. It could be reasonable approximation,

More information

GARCH Models Estimation and Inference

GARCH Models Estimation and Inference GARCH Models Estimation and Inference Eduardo Rossi University of Pavia December 013 Rossi GARCH Financial Econometrics - 013 1 / 1 Likelihood function The procedure most often used in estimating θ 0 in

More information

Stat 500 Midterm 2 12 November 2009 page 0 of 11

Stat 500 Midterm 2 12 November 2009 page 0 of 11 Stat 500 Midterm 2 12 November 2009 page 0 of 11 Please put your name on the back of your answer book. Do NOT put it on the front. Thanks. Do not start until I tell you to. The exam is closed book, closed

More information

CHAPTER 5 FUNCTIONAL FORMS OF REGRESSION MODELS

CHAPTER 5 FUNCTIONAL FORMS OF REGRESSION MODELS CHAPTER 5 FUNCTIONAL FORMS OF REGRESSION MODELS QUESTIONS 5.1. (a) In a log-log model the dependent and all explanatory variables are in the logarithmic form. (b) In the log-lin model the dependent variable

More information

Econometrics - ECON4160 Exercises (GiveWin & PcGive) 1. Exercises to PcGive lectures 15. January 2009

Econometrics - ECON4160 Exercises (GiveWin & PcGive) 1. Exercises to PcGive lectures 15. January 2009 Econometrics - ECON4160 Exercises (GiveWin & PcGive) 1 Exercises to PcGive lectures 15. January 2009 We outline 10 exercises for this course in econometrics. The exercises have been designed such that

More information

DEMAND ESTIMATION (PART III)

DEMAND ESTIMATION (PART III) BEC 30325: MANAGERIAL ECONOMICS Session 04 DEMAND ESTIMATION (PART III) Dr. Sumudu Perera Session Outline 2 Multiple Regression Model Test the Goodness of Fit Coefficient of Determination F Statistic t

More information

Econ 510 B. Brown Spring 2014 Final Exam Answers

Econ 510 B. Brown Spring 2014 Final Exam Answers Econ 510 B. Brown Spring 2014 Final Exam Answers Answer five of the following questions. You must answer question 7. The question are weighted equally. You have 2.5 hours. You may use a calculator. Brevity

More information

Please discuss each of the 3 problems on a separate sheet of paper, not just on a separate page!

Please 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 information

5. Let W follow a normal distribution with mean of μ and the variance of 1. Then, the pdf of W is

5. 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 information

F9 F10: Autocorrelation

F9 F10: Autocorrelation F9 F10: Autocorrelation Feng Li Department of Statistics, Stockholm University Introduction In the classic regression model we assume cov(u i, u j x i, x k ) = E(u i, u j ) = 0 What if we break the assumption?

More information

Use of Dummy (Indicator) Variables in Applied Econometrics

Use of Dummy (Indicator) Variables in Applied Econometrics Chapter 5 Use of Dummy (Indicator) Variables in Applied Econometrics Section 5.1 Introduction Use of Dummy (Indicator) Variables Model specifications in applied econometrics often necessitate the use of

More information

Answers: Problem Set 9. Dynamic Models

Answers: Problem Set 9. Dynamic Models Answers: Problem Set 9. Dynamic Models 1. Given annual data for the period 1970-1999, you undertake an OLS regression of log Y on a time trend, defined as taking the value 1 in 1970, 2 in 1972 etc. The

More information

Econometrics. Week 4. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague

Econometrics. Week 4. Fall Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Econometrics Week 4 Institute of Economic Studies Faculty of Social Sciences Charles University in Prague Fall 2012 1 / 23 Recommended Reading For the today Serial correlation and heteroskedasticity in

More information

PhD/MA Econometrics Examination. January, 2015 PART A. (Answer any TWO from Part A)

PhD/MA Econometrics Examination. January, 2015 PART A. (Answer any TWO from Part A) PhD/MA Econometrics Examination January, 2015 Total Time: 8 hours MA students are required to answer from A and B. PhD students are required to answer from A, B, and C. PART A (Answer any TWO from Part

More information

Economics 536 Lecture 7. Introduction to Specification Testing in Dynamic Econometric Models

Economics 536 Lecture 7. Introduction to Specification Testing in Dynamic Econometric Models University of Illinois Fall 2016 Department of Economics Roger Koenker Economics 536 Lecture 7 Introduction to Specification Testing in Dynamic Econometric Models In this lecture I want to briefly describe

More information

Econometrics Part Three

Econometrics Part Three !1 I. Heteroskedasticity A. Definition 1. The variance of the error term is correlated with one of the explanatory variables 2. Example -- the variance of actual spending around the consumption line increases

More information

Latent class models for utilisation of health care

Latent class models for utilisation of health care HEDG Working Paper 05/01 Latent class models for utilisation of health care Teresa Bago d Uva June 2005 ISSN 1751-1976 york.ac.uk/res/herc/hedgwp Latent Class Models for utilisation of health care Teresa

More information

Midterm 2 - Solutions

Midterm 2 - Solutions Ecn 102 - Analysis of Economic Data University of California - Davis February 23, 2010 Instructor: John Parman Midterm 2 - Solutions You have until 10:20am to complete this exam. Please remember to put

More information

Testing and Model Selection

Testing and Model Selection Testing and Model Selection This is another digression on general statistics: see PE App C.8.4. The EViews output for least squares, probit and logit includes some statistics relevant to testing hypotheses

More information

PhD/MA Econometrics Examination January 2012 PART A

PhD/MA Econometrics Examination January 2012 PART A PhD/MA Econometrics Examination January 2012 PART A ANSWER ANY TWO QUESTIONS IN THIS SECTION NOTE: (1) The indicator function has the properties: (2) Question 1 Let, [defined as if using the indicator

More information

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication

G. S. Maddala Kajal Lahiri. WILEY A John Wiley and Sons, Ltd., Publication G. S. Maddala Kajal Lahiri WILEY A John Wiley and Sons, Ltd., Publication TEMT Foreword Preface to the Fourth Edition xvii xix Part I Introduction and the Linear Regression Model 1 CHAPTER 1 What is Econometrics?

More information

Outline. Overview of Issues. Spatial Regression. Luc Anselin

Outline. Overview of Issues. Spatial Regression. Luc Anselin Spatial Regression Luc Anselin University of Illinois, Urbana-Champaign http://www.spacestat.com Outline Overview of Issues Spatial Regression Specifications Space-Time Models Spatial Latent Variable Models

More information

Econometrics - ECON4160 Exercises (GiveWin & PcGive) 1. Exercises to PcGive lectures 5th February 2004

Econometrics - ECON4160 Exercises (GiveWin & PcGive) 1. Exercises to PcGive lectures 5th February 2004 Econometrics - ECON4160 Exercises (GiveWin & PcGive) 1 Exercises to PcGive lectures 5th February 2004 We outline 10 exercises for this course in econometrics. The exercises have been designed such that

More information

Endogenous Treatment Effects for Count Data Models with Endogenous Participation or Sample Selection

Endogenous Treatment Effects for Count Data Models with Endogenous Participation or Sample Selection Endogenous Treatment Effects for Count Data Models with Endogenous Participation or Sample Selection Massimilano Bratti & Alfonso Miranda Institute of Education University of London c Bratti&Miranda (p.

More information

Exercises Chapter 4 Statistical Hypothesis Testing

Exercises Chapter 4 Statistical Hypothesis Testing Exercises Chapter 4 Statistical Hypothesis Testing Advanced Econometrics - HEC Lausanne Christophe Hurlin University of Orléans December 5, 013 Christophe Hurlin (University of Orléans) Advanced Econometrics

More information

1 Bewley Economies with Aggregate Uncertainty

1 Bewley Economies with Aggregate Uncertainty 1 Bewley Economies with Aggregate Uncertainty Sofarwehaveassumedawayaggregatefluctuations (i.e., business cycles) in our description of the incomplete-markets economies with uninsurable idiosyncratic risk

More information

Regression of Time Series

Regression of Time Series Mahlerʼs Guide to Regression of Time Series CAS Exam S prepared by Howard C. Mahler, FCAS Copyright 2016 by Howard C. Mahler. Study Aid 2016F-S-9Supplement Howard Mahler hmahler@mac.com www.howardmahler.com/teaching

More information

Short Questions (Do two out of three) 15 points each

Short Questions (Do two out of three) 15 points each Econometrics Short Questions Do two out of three) 5 points each ) Let y = Xβ + u and Z be a set of instruments for X When we estimate β with OLS we project y onto the space spanned by X along a path orthogonal

More information

Switching Regime Estimation

Switching Regime Estimation Switching Regime Estimation Series de Tiempo BIrkbeck March 2013 Martin Sola (FE) Markov Switching models 01/13 1 / 52 The economy (the time series) often behaves very different in periods such as booms

More information

Panel Data Models. Chapter 5. Financial Econometrics. Michael Hauser WS17/18 1 / 63

Panel Data Models. Chapter 5. Financial Econometrics. Michael Hauser WS17/18 1 / 63 1 / 63 Panel Data Models Chapter 5 Financial Econometrics Michael Hauser WS17/18 2 / 63 Content Data structures: Times series, cross sectional, panel data, pooled data Static linear panel data models:

More information

Econometrics. 9) Heteroscedasticity and autocorrelation

Econometrics. 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 information

Økonomisk Kandidateksamen 2004 (II) Econometrics 2 June 14, 2004

Økonomisk Kandidateksamen 2004 (II) Econometrics 2 June 14, 2004 Økonomisk Kandidateksamen 2004 (II) Econometrics 2 June 14, 2004 This is a four hours closed-book exam (uden hjælpemidler). Answer all questions! The questions 1 to 4 have equal weight. Within each question,

More information

Poisson Regression. Ryan Godwin. ECON University of Manitoba

Poisson Regression. Ryan Godwin. ECON University of Manitoba Poisson Regression Ryan Godwin ECON 7010 - University of Manitoba Abstract. These lecture notes introduce Maximum Likelihood Estimation (MLE) of a Poisson regression model. 1 Motivating the Poisson Regression

More information

Freeing up the Classical Assumptions. () Introductory Econometrics: Topic 5 1 / 94

Freeing up the Classical Assumptions. () Introductory Econometrics: Topic 5 1 / 94 Freeing up the Classical Assumptions () Introductory Econometrics: Topic 5 1 / 94 The Multiple Regression Model: Freeing Up the Classical Assumptions Some or all of classical assumptions needed for derivations

More information

1 Quantitative Techniques in Practice

1 Quantitative Techniques in Practice 1 Quantitative Techniques in Practice 1.1 Lecture 2: Stationarity, spurious regression, etc. 1.1.1 Overview In the rst part we shall look at some issues in time series economics. In the second part we

More information

Answers to Problem Set #4

Answers to Problem Set #4 Answers to Problem Set #4 Problems. Suppose that, from a sample of 63 observations, the least squares estimates and the corresponding estimated variance covariance matrix are given by: bβ bβ 2 bβ 3 = 2

More information

Empirical Economic Research, Part II

Empirical Economic Research, Part II Based on the text book by Ramanathan: Introductory Econometrics Robert M. Kunst robert.kunst@univie.ac.at University of Vienna and Institute for Advanced Studies Vienna December 7, 2011 Outline Introduction

More information

Estimation of Dynamic Regression Models

Estimation of Dynamic Regression Models University of Pavia 2007 Estimation of Dynamic Regression Models Eduardo Rossi University of Pavia Factorization of the density DGP: D t (x t χ t 1, d t ; Ψ) x t represent all the variables in the economy.

More information

Heteroscedasticity 1

Heteroscedasticity 1 Heteroscedasticity 1 Pierre Nguimkeu BUEC 333 Summer 2011 1 Based on P. Lavergne, Lectures notes Outline Pure Versus Impure Heteroscedasticity Consequences and Detection Remedies Pure Heteroscedasticity

More information

The Multiple Regression Model Estimation

The Multiple Regression Model Estimation Lesson 5 The Multiple Regression Model Estimation Pilar González and Susan Orbe Dpt Applied Econometrics III (Econometrics and Statistics) Pilar González and Susan Orbe OCW 2014 Lesson 5 Regression model:

More information

1. 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, 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 information

Lecture 8. Using the CLR Model. Relation between patent applications and R&D spending. Variables

Lecture 8. Using the CLR Model. Relation between patent applications and R&D spending. Variables Lecture 8. Using the CLR Model Relation between patent applications and R&D spending Variables PATENTS = No. of patents (in 000) filed RDEP = Expenditure on research&development (in billions of 99 $) The

More information

Regression with time series

Regression with time series Regression with time series Class Notes Manuel Arellano February 22, 2018 1 Classical regression model with time series Model and assumptions The basic assumption is E y t x 1,, x T = E y t x t = x tβ

More information

Dynamics of Firms and Trade in General Equilibrium. Robert Dekle, Hyeok Jeong and Nobuhiro Kiyotaki USC, Seoul National University and Princeton

Dynamics of Firms and Trade in General Equilibrium. Robert Dekle, Hyeok Jeong and Nobuhiro Kiyotaki USC, Seoul National University and Princeton Dynamics of Firms and Trade in General Equilibrium Robert Dekle, Hyeok Jeong and Nobuhiro Kiyotaki USC, Seoul National University and Princeton Figure a. Aggregate exchange rate disconnect (levels) 28.5

More information

ACE 564 Spring Lecture 8. Violations of Basic Assumptions I: Multicollinearity and Non-Sample Information. by Professor Scott H.

ACE 564 Spring Lecture 8. Violations of Basic Assumptions I: Multicollinearity and Non-Sample Information. by Professor Scott H. ACE 564 Spring 2006 Lecture 8 Violations of Basic Assumptions I: Multicollinearity and Non-Sample Information by Professor Scott H. Irwin Readings: Griffiths, Hill and Judge. "Collinear Economic Variables,

More information

388 Index Differencing test ,232 Distributed lags , 147 arithmetic lag.

388 Index Differencing test ,232 Distributed lags , 147 arithmetic lag. INDEX Aggregation... 104 Almon lag... 135-140,149 AR(1) process... 114-130,240,246,324-325,366,370,374 ARCH... 376-379 ARlMA... 365 Asymptotically unbiased... 13,50 Autocorrelation... 113-130, 142-150,324-325,365-369

More information

Solutions: Monday, October 15

Solutions: Monday, October 15 Amherst College Department of Economics Economics 360 Fall 2012 1. Consider Nebraska petroleum consumption. Solutions: Monday, October 15 Petroleum Consumption Data for Nebraska: Annual time series data

More information

This is a repository copy of The Error Correction Model as a Test for Cointegration.

This is a repository copy of The Error Correction Model as a Test for Cointegration. This is a repository copy of The Error Correction Model as a Test for Cointegration. White Rose Research Online URL for this paper: http://eprints.whiterose.ac.uk/9886/ Monograph: Kanioura, A. and Turner,

More information

UNIVERSITY OF TORONTO Faculty of Arts and Science

UNIVERSITY OF TORONTO Faculty of Arts and Science UNIVERSITY OF TORONTO Faculty of Arts and Science December 2013 Final Examination STA442H1F/2101HF Methods of Applied Statistics Jerry Brunner Duration - 3 hours Aids: Calculator Model(s): Any calculator

More information

Linear Regression With Special Variables

Linear Regression With Special Variables Linear Regression With Special Variables Junhui Qian December 21, 2014 Outline Standardized Scores Quadratic Terms Interaction Terms Binary Explanatory Variables Binary Choice Models Standardized Scores:

More information

Simple Regression Model (Assumptions)

Simple Regression Model (Assumptions) Simple Regression Model (Assumptions) Lecture 18 Reading: Sections 18.1, 18., Logarithms in Regression Analysis with Asiaphoria, 19.6 19.8 (Optional: Normal probability plot pp. 607-8) 1 Height son, inches

More information

13.2 Example: W, LM and LR Tests

13.2 Example: W, LM and LR Tests 13.2 Example: W, LM and LR Tests Date file = cons99.txt (same data as before) Each column denotes year, nominal household expenditures ( 10 billion yen), household disposable income ( 10 billion yen) and

More information

Applied Econometrics. Applied Econometrics. Applied Econometrics. Applied Econometrics. What is Autocorrelation. Applied Econometrics

Applied Econometrics. Applied Econometrics. Applied Econometrics. Applied Econometrics. What is Autocorrelation. Applied Econometrics Autocorrelation 1. What is 2. What causes 3. First and higher orders 4. Consequences of 5. Detecting 6. Resolving Learning Objectives 1. Understand meaning of in the CLRM 2. What causes 3. Distinguish

More information

GARCH Models Estimation and Inference. Eduardo Rossi University of Pavia

GARCH Models Estimation and Inference. Eduardo Rossi University of Pavia GARCH Models Estimation and Inference Eduardo Rossi University of Pavia Likelihood function The procedure most often used in estimating θ 0 in ARCH models involves the maximization of a likelihood function

More information

Lab 3: Two levels Poisson models (taken from Multilevel and Longitudinal Modeling Using Stata, p )

Lab 3: Two levels Poisson models (taken from Multilevel and Longitudinal Modeling Using Stata, p ) Lab 3: Two levels Poisson models (taken from Multilevel and Longitudinal Modeling Using Stata, p. 376-390) BIO656 2009 Goal: To see if a major health-care reform which took place in 1997 in Germany was

More information

Lecture 6: Dynamic Models

Lecture 6: Dynamic Models Lecture 6: Dynamic Models R.G. Pierse 1 Introduction Up until now we have maintained the assumption that X values are fixed in repeated sampling (A4) In this lecture we look at dynamic models, where the

More information

Estimation and Hypothesis Testing in LAV Regression with Autocorrelated Errors: Is Correction for Autocorrelation Helpful?

Estimation and Hypothesis Testing in LAV Regression with Autocorrelated Errors: Is Correction for Autocorrelation Helpful? Journal of Modern Applied Statistical Methods Volume 10 Issue Article 13 11-1-011 Estimation and Hypothesis Testing in LAV Regression with Autocorrelated Errors: Is Correction for Autocorrelation Helpful?

More information

4. Nonlinear regression functions

4. Nonlinear regression functions 4. Nonlinear regression functions Up to now: Population regression function was assumed to be linear The slope(s) of the population regression function is (are) constant The effect on Y of a unit-change

More information

Introduction to Regression Analysis. Dr. Devlina Chatterjee 11 th August, 2017

Introduction to Regression Analysis. Dr. Devlina Chatterjee 11 th August, 2017 Introduction to Regression Analysis Dr. Devlina Chatterjee 11 th August, 2017 What is regression analysis? Regression analysis is a statistical technique for studying linear relationships. One dependent

More information

PRELIMINARY ANALYSIS OF SPATIAL REGIONAL GROWTH ELASTICITY OF POVERTY IN SUMATRA

PRELIMINARY ANALYSIS OF SPATIAL REGIONAL GROWTH ELASTICITY OF POVERTY IN SUMATRA PRELIMINARY ANALYSIS OF SPATIAL REGIONAL GROWTH ELASTICITY. PRELIMINARY ANALYSIS OF SPATIAL REGIONAL GROWTH ELASTICITY OF POVERTY IN SUMATRA Waleerat Suphannachart and Budy P. Resosudarmo The Arndt-Corden

More information

GARCH Models Estimation and Inference

GARCH Models Estimation and Inference Università di Pavia GARCH Models Estimation and Inference Eduardo Rossi Likelihood function The procedure most often used in estimating θ 0 in ARCH models involves the maximization of a likelihood function

More information

Applied Microeconometrics (L5): Panel Data-Basics

Applied Microeconometrics (L5): Panel Data-Basics Applied Microeconometrics (L5): Panel Data-Basics Nicholas Giannakopoulos University of Patras Department of Economics ngias@upatras.gr November 10, 2015 Nicholas Giannakopoulos (UPatras) MSc Applied Economics

More information

Modeling Longitudinal Count Data with Excess Zeros and Time-Dependent Covariates: Application to Drug Use

Modeling Longitudinal Count Data with Excess Zeros and Time-Dependent Covariates: Application to Drug Use Modeling Longitudinal Count Data with Excess Zeros and : Application to Drug Use University of Northern Colorado November 17, 2014 Presentation Outline I and Data Issues II Correlated Count Regression

More information

9. AUTOCORRELATION. [1] Definition of Autocorrelation (AUTO) 1) Model: y t = x t β + ε t. We say that AUTO exists if cov(ε t,ε s ) 0, t s.

9. AUTOCORRELATION. [1] Definition of Autocorrelation (AUTO) 1) Model: y t = x t β + ε t. We say that AUTO exists if cov(ε t,ε s ) 0, t s. 9. AUTOCORRELATION [1] Definition of Autocorrelation (AUTO) 1) Model: y t = x t β + ε t. We say that AUTO exists if cov(ε t,ε s ) 0, t s. ) Assumptions: All of SIC except SIC.3 (the random sample assumption).

More information

Økonomisk Kandidateksamen 2004 (I) Econometrics 2. Rettevejledning

Økonomisk Kandidateksamen 2004 (I) Econometrics 2. Rettevejledning Økonomisk Kandidateksamen 2004 (I) Econometrics 2 Rettevejledning This is a closed-book exam (uden hjælpemidler). Answer all questions! The group of questions 1 to 4 have equal weight. Within each group,

More information

Using EViews Vox Principles of Econometrics, Third Edition

Using EViews Vox Principles of Econometrics, Third Edition Using EViews Vox Principles of Econometrics, Third Edition WILLIAM E. GRIFFITHS University of Melbourne R. CARTER HILL Louisiana State University GUAY С LIM University of Melbourne JOHN WILEY & SONS, INC

More information

BOOTSTRAPPING WITH MODELS FOR COUNT DATA

BOOTSTRAPPING WITH MODELS FOR COUNT DATA Journal of Biopharmaceutical Statistics, 21: 1164 1176, 2011 Copyright Taylor & Francis Group, LLC ISSN: 1054-3406 print/1520-5711 online DOI: 10.1080/10543406.2011.607748 BOOTSTRAPPING WITH MODELS FOR

More information

Finite Sample Performance of A Minimum Distance Estimator Under Weak Instruments

Finite Sample Performance of A Minimum Distance Estimator Under Weak Instruments Finite Sample Performance of A Minimum Distance Estimator Under Weak Instruments Tak Wai Chau February 20, 2014 Abstract This paper investigates the nite sample performance of a minimum distance estimator

More information

1 Outline. 1. Motivation. 2. SUR model. 3. Simultaneous equations. 4. Estimation

1 Outline. 1. Motivation. 2. SUR model. 3. Simultaneous equations. 4. Estimation 1 Outline. 1. Motivation 2. SUR model 3. Simultaneous equations 4. Estimation 2 Motivation. In this chapter, we will study simultaneous systems of econometric equations. Systems of simultaneous equations

More information

Ninth ARTNeT Capacity Building Workshop for Trade Research "Trade Flows and Trade Policy Analysis"

Ninth ARTNeT Capacity Building Workshop for Trade Research Trade Flows and Trade Policy Analysis Ninth ARTNeT Capacity Building Workshop for Trade Research "Trade Flows and Trade Policy Analysis" June 2013 Bangkok, Thailand Cosimo Beverelli and Rainer Lanz (World Trade Organization) 1 Selected econometric

More information

Graduate Econometrics Lecture 4: Heteroskedasticity

Graduate 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 information

Diagnostics of Linear Regression

Diagnostics of Linear Regression Diagnostics of Linear Regression Junhui Qian October 7, 14 The Objectives After estimating a model, we should always perform diagnostics on the model. In particular, we should check whether the assumptions

More information

Lecture 3: Multiple Regression

Lecture 3: Multiple Regression Lecture 3: Multiple Regression R.G. Pierse 1 The General Linear Model Suppose that we have k explanatory variables Y i = β 1 + β X i + β 3 X 3i + + β k X ki + u i, i = 1,, n (1.1) or Y i = β j X ji + u

More information

Reading Assignment. Serial Correlation and Heteroskedasticity. Chapters 12 and 11. Kennedy: Chapter 8. AREC-ECON 535 Lec F1 1

Reading Assignment. Serial Correlation and Heteroskedasticity. Chapters 12 and 11. Kennedy: Chapter 8. AREC-ECON 535 Lec F1 1 Reading Assignment Serial Correlation and Heteroskedasticity Chapters 1 and 11. Kennedy: Chapter 8. AREC-ECON 535 Lec F1 1 Serial Correlation or Autocorrelation y t = β 0 + β 1 x 1t + β x t +... + β k

More information

Poverty, Inequality and Growth: Empirical Issues

Poverty, Inequality and Growth: Empirical Issues Poverty, Inequality and Growth: Empirical Issues Start with a SWF V (x 1,x 2,...,x N ). Axiomatic approaches are commen, and axioms often include 1. V is non-decreasing 2. V is symmetric (anonymous) 3.

More information

Instrumental Variables, Simultaneous and Systems of Equations

Instrumental 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

Dummy Variable Model in pooling Data & a production model in Agriculture and Industry Sectors in Egypt

Dummy Variable Model in pooling Data & a production model in Agriculture and Industry Sectors in Egypt Dummy Variable Model in pooling Data & a production model in Agriculture and Industry Sectors in Egypt (Dr: Khaled Abd El-Moaty Mohamed El-Shawadfy) lecturer of statistic in Institute of productivity zagazig

More information

Panel Data. March 2, () Applied Economoetrics: Topic 6 March 2, / 43

Panel Data. March 2, () Applied Economoetrics: Topic 6 March 2, / 43 Panel Data March 2, 212 () Applied Economoetrics: Topic March 2, 212 1 / 43 Overview Many economic applications involve panel data. Panel data has both cross-sectional and time series aspects. Regression

More information

1. Constant-elasticity-of-substitution (CES) or Dixit-Stiglitz aggregators. Consider the following function J: J(x) = a(j)x(j) ρ dj

1. Constant-elasticity-of-substitution (CES) or Dixit-Stiglitz aggregators. Consider the following function J: J(x) = a(j)x(j) ρ dj Macro II (UC3M, MA/PhD Econ) Professor: Matthias Kredler Problem Set 1 Due: 29 April 216 You are encouraged to work in groups; however, every student has to hand in his/her own version of the solution.

More information

Practical Econometrics. for. Finance and Economics. (Econometrics 2)

Practical Econometrics. for. Finance and Economics. (Econometrics 2) Practical Econometrics for Finance and Economics (Econometrics 2) Seppo Pynnönen and Bernd Pape Department of Mathematics and Statistics, University of Vaasa 1. Introduction 1.1 Econometrics Econometrics

More information

FAQ: Linear and Multiple Regression Analysis: Coefficients

FAQ: Linear and Multiple Regression Analysis: Coefficients Question 1: How do I calculate a least squares regression line? Answer 1: Regression analysis is a statistical tool that utilizes the relation between two or more quantitative variables so that one variable

More information

Size and Power of the RESET Test as Applied to Systems of Equations: A Bootstrap Approach

Size and Power of the RESET Test as Applied to Systems of Equations: A Bootstrap Approach Size and Power of the RESET Test as Applied to Systems of Equations: A Bootstrap Approach Ghazi Shukur Panagiotis Mantalos International Business School Department of Statistics Jönköping University Lund

More information

Introduction to Econometrics

Introduction to Econometrics Introduction to Econometrics T H I R D E D I T I O N Global Edition James H. Stock Harvard University Mark W. Watson Princeton University Boston Columbus Indianapolis New York San Francisco Upper Saddle

More information

in the time series. The relation between y and x is contemporaneous.

in the time series. The relation between y and x is contemporaneous. 9 Regression with Time Series 9.1 Some Basic Concepts Static Models (1) y t = β 0 + β 1 x t + u t t = 1, 2,..., T, where T is the number of observation in the time series. The relation between y and x

More information

Christopher Dougherty London School of Economics and Political Science

Christopher Dougherty London School of Economics and Political Science Introduction to Econometrics FIFTH EDITION Christopher Dougherty London School of Economics and Political Science OXFORD UNIVERSITY PRESS Contents INTRODU CTION 1 Why study econometrics? 1 Aim of this

More information

ECONOMETRIC THEORY. MODULE VI Lecture 19 Regression Analysis Under Linear Restrictions

ECONOMETRIC THEORY. MODULE VI Lecture 19 Regression Analysis Under Linear Restrictions ECONOMETRIC THEORY MODULE VI Lecture 9 Regression Analysis Under Linear Restrictions Dr Shalabh Department of Mathematics and Statistics Indian Institute of Technology Kanpur One of the basic objectives

More information