Bayesian Econometrics - Computer section

Size: px
Start display at page:

Download "Bayesian Econometrics - Computer section"

Transcription

1 Bayesian Econometrics - Computer section Leandro Magnusson Department of Economics Brown University Leandro Magnusson@brown.edu Magnusson/ April 26, 2006 Preliminary Version Abstract This material is used as a reference for the computer exercises of the Bayesian econometrics course taught by Professor Tony Lancaster. It covers a variety of models (linear regression models, limited depended variable models (logit, probit and Tobit), etc). The Bayesian computation is done in BUGS using R as its interface. Both softwares can be download freely from their respective web pages: and w q 1

2 1 First Order Auto Regressive Model Model: The AR(1) and ARMA(1,1) model are: y t = ρy t 1 + ε t, ε t N (0, τ) (1.1) y t = ρy t 1 + ε t, ε t = u t θu t 1, {u t } T t=0 is i.i.d., u t N (0, σ) (1.2) where 1 < ρ < 1. The Durbin-Watson statistic of the AR(1) errors is: dw = T t=2 (ε t ε t 1 ) T t=2 (ε2 t 1 ) ε t = y t ρy t 1 (1.3) Exercise 1. (Based on Example 2.15, page 95, Lancaster (2004)) In R, generate a sequence of AR(1) and a sequence of ARMA(1,1) observations with the same initial value. Let s assume the both sample are AR(1), the prior distribution of ρ is improper and τ is known. (a) What is the likelihood for the AR(1) model (p(y ρ))? (b) Generate ρ from its posterior distribution (ρ N (ˆρ, T t=1 y2 t 1)). (c) Generate a sequence of y rep from its predictive distribution and compute diff(ρ, y rep, y obs ) = dw(ρ, y rep ) dw(ρ, y obs ) (d) Repeat items (b), (c) n times separately for AR(1) and ARMA(1,1). (e) Plot the distributions of df(ρ, y rep, y obs ) and draw your conclusions. 2 Linear Regression Models 2.1 Independent, normal, homoscedastic errors Database: See Mankiw et al. (1992). Model: Solow Model without human capital: with human capital: Y t = K α t (A t L t ) 1 α Y t = K α t H β t (A t L t ) 1 α β where L t = L 0 exp(nt) and A t = A 0 exp(gt). Consider that A 0 = a + ɛ, where a is constant and ɛ is a country-specific shock. The basic empirical specifications for the Solow model are: ( ) Y ln = a + α L 1 α ln(s k) α ln(n + g + δ) + ɛ (2.1) 1 α ( ) Y α ln = a + L 1 α β ln(s β k) + 1 α β ln(s h) α + β ln(n + g + δ) + ɛ (2.2) 1 α β where s k is the capital savings rate, s h is the human capital savings rate, n is the population growth rate, g is technical growth rate, δ depreciation. Mankiw et al. (1992) assume that g + δ =

3 Exercise 2. (a) Consider the following unrestricted specification ( ) Y ln = a + b 1 ln(s k ) + b 2 ln(n + g + δ) + ɛ L What is the likelihood for the above model? How would you choose the priors? (b) Write and run a BUGS program for the linear regression model. Do separately for nonoil, intermediate and oecd countries. Compare your answers with the maximum likelihood estimates. (c) Propose and run a test for the coefficients b 1 and b 2 for each group of countries. How could you test the hypothesis about the returns to scale? (d) Include human capital and repeat parts (a), (b) and (c). 2.2 Heteroscedasticy Database: See Yatchew & No (2001) Model: Consider the log linear form of the demand of gasoline: log(gas) = β 0 + β 1 log(price) + β 2 log(income) + u (2.3) In matrix notation, the OLS terms are: v = N k (the degrees of freedom), ˆβ = (X X) 1 X y and s 2 = (y X ˆβ) (y X ˆβ) v. Assuming normality and homoscedasticity of the residuals, the likelihood function is: 1 p(y β, τ) = 1 (2π) N 2 [ {τ 1 2 exp τ 2 (β ˆβ)X X(β ˆβ) ]} ( {τ v 2 exp τv ]} 2s 2 If the residuals have the same variance we have: E [ u 2 σ 2] 2 = 2σ 4 where σ 2 is the variance (σ 2 = 1 τ ). Therefore a simple statistic to verify if the residuals have equal variance is: N T (β, σ 2 i=1 ) = ((y i x i β) 2 σ 2 ) 2σ 4 N Student linear model Take a look at Lancaster (2004), chapter 3, pages Assume that: u i X, β, τ, λ i N (0, τλ i ) where {λ i } N i=1 is independently gamma distributed with mean 1 and scalar hyperparameter d. Multiplying the density of u i X, β, τ, λ i by the density of {λ i } N i=1 and integrating out λ s one may show that u i X, β, τ follows a t- distribution with mean 0 and degrees of freedom equals to d. 1 For a formal derivation see Koop (2003) 3

4 Exercise 3. (a) Assuming that the errors have the same variance, suggest a natural conjugate prior for this model and derive the posterior distribution of β and τ. Write a program in R for sampling of the posterior distribution of β and τ. (b) Simulate β and σ 2 from the joint distribution and evaluate T (β, σ 2 ). Repeat nrep times and the draw the histogram of the test statistic. What are you conclusions? (c) Write down a BUGS program for the student linear model. Explore how the posterior inferences about β change by using different values of d. Remember that low values of d approximates the t-distribution to a Cauchy (have tails) and large values of d approximates to a normal distribution. 3 Limited Dependent Variable Models 3.1 Logit Database: See Slonim & Roth (1998). Definition: (Ultimatum Game) The ultimatum game consists of two players bargaining over the amount of money which it will be called pie. One player, the proposer, proposes a division of the pie, and the second player, the responder, accepts or rejects it. If the responder accepts, each player earns the amount specified in the proposal and if the responder rejects, each player earns zero. At perfect equilibrium the proposer receives all or almost all of the pie. Model: Rejection behavior Prob (R = 1) = Λ (a + b 0 Of + b M pm + b H ph) (3.1) where Λ is the logistic distribution function, R equals 1 if the offer is reject and 0 otherwise, Of is the proportion of the pie offered (from 0 to 49,5%), pm = 1 if stakes are medium and ph = 1 is stakes are high. Exercise 4. (a) What is the likelihood for the above model? How would you choose the prior? (b) Write and run a BUGS program for the logit model. Study the convergence of the sampler (try 3000 interactions burning 1000 and interactions burning 8000). Compare your answers with the maximum likelihood estimates. (c) Evaluate the rejection probability at various offer values: of = [ ] ; do this separately for the low, medium, and high stakes conditions. (d) Does the level of the stakes affect the rejection probability. Propose a test and compute it. What is your conclusion? 4

5 3.2 Tobit Database: See Mroz (1987) Model: (Labor supply of Married Women) The reduced form of a woman s labor supply is given by: 2 h i = a 0 + a 1 Y i + a 2Z i + u i where h i is the ith woman s hour of work during a given year, Y i is a measure of other income received by the household, Z i is a set of control variables which includes her age, the number of children less than six years old, the number of children between ages of five and nineteen her years of schooling, her experience in years and the square of experience; and u i is a stochastic term which is assumed to be normally distributed. Define the labor force participation as d i = 1 if h 1 > 0 and d i = 0 otherwise. The Tobit likelihood is given by: p(h a s, τ) = N i=1 [ Φ ( τ.5 (a 0 + a 1 Y i + a 2Z i ) ) 1 d i τ.5 φ ( τ.5 (h i (a 0 + a 1 Y i + a 2Z i )) ) d i ] (3.2) where Φ and φ are the normal distribution and density functions, respectively. Sampling with data augmentation: Suppose we could observe h the potential hours of work for every married woman which may also be negative. Thence p(a s, τ h ) = p(a s, τ h, h) is the posterior for a s and τ derived from the linear normal likelihood model. We do not observe h but its conditional density p(h h = 0, a s, τ) is normally left truncated. Therefore we have the following Gibbs Sampler Algorithm with the parameter set augmented by h for censored observations: 1) Choose a initial value for h, a s and τ; 2) Sample a s and τ from p(a s, τ h ); 3) Sample h from the truncated normal p(h h = 0, a s, τ); 4) Repeat 2 and 3 nrep times. Exercise 5. (a) Write a BUGS program for the Tobit model. (b) Write a R program using data augmentation. (In the library msm provides the function tnorm(µ,σ 2 )) truncated normal 2 The woman s wage rate, the endogenous explanatory variable, is assumed to be a linear function of Y i and Z i. 5

6 4 Instrumental Variable Model 4.1 Recursive Equation Model Database: See Romer (1993) Model: In a closed economy, the Lucas model for the relationship between output and inflation is: y = y + β(π π e ) (4.1) where y is actual output, y the natural rate, π inflation, and π e expected inflation, and where β > 0. Unanticipated monetary shocks affect both prices and real output. The policy-maker s objective (welfare) function is: W = 1 2 π2 + γy (4.2) where γ > 0. The policy-maker chooses inflation π. Assuming rational expectations, i.e. private agents known optimization problem of the policy maker, the equilibrium is π = π e = γβ and y = y : inflation is positive and output is at natural rate (suboptimal equilibrium). Openness affects the output-inflation trade-off (increased openness raises de amount of inflation associated with a given expansion of domestic output; that is, it reduces β) and the benefit of higher output relative to the cost of higher inflation (γ is decreasing in the degree of openness). Romer (1993) considers the following linear relation between inflation and output: log π = b 0 + b 1 I Y + b 2 log y + b3 dd + b4 rd (4.3) where log π is the log of the average inflation 73-93, I Y is the average share of imports in GDP or GNP, log y is the log of real income per capita, dd are dummies for alternative measures of openness and inflation and rd are regional dummies. A priori we expect that b 1 < 0. According to the author, I Y is endogenous since the adoption of protectionism policies that benefit some interest groups leads to larger budget deficits and therefore inflation. As instrument he uses land area (in logarithms). Exercise 6. (a) How would you translate the instrumental variable model into a recursive system model? likelihood and the priors for the recursive system. Define the (b) Write a Bugs program for the recursive model. Could you propose an exogeneity test for openness? 4.2 Multinomial Approach (Bayesian Bootstrap) Database: See Romer (1993) Model: Another approach for the previous model is to consider only moment conditions. Under mean independence we have: E [Z (y Xβ)] = 0 6

7 The likelihood is derived from the multinomial distribution and its natural conjugate prior is the dirichlet distribution. For more details, take a look at Lancaster (2004) chapter 3, section 3.4, pages Exercise 7. (a) Sample β from its posterior and compare to the posterior distribution of the previous exercise. (Remember that you can sample β from β = [Z GX] 1 Z Gy where G is a diagonal matrix whose components are i.i.d exponentially distributed) (b) How would you propose and exogeneity test in this context? 7

8 References Koop, G. (2003), Bayesian Econometrics, first edn, Wiley. Lancaster, T. (2004), An Introduction to Modern Bayesian Econometrics, first edn, Blackwell Publishing. Mankiw, N. G., Romer, D. & Weil, D. N. (1992), A contribution to the empirics of economic growth, Quartely Journal of Economics 107(2), Mroz, T. A. (1987), The sensitivity of an empirical model of married women s hours of work to economic and statistical assumptions, Econometrica 55(4), Romer, D. (1993), Openness and inflation: 108(4), Theory and evidence, Quartely Journal of Economics Slonim, R. & Roth, A. E. (1998), Learning in high stakes ultimum games: an experiment in the slovak republic, Econometrica 66(3), Yatchew, A. & No, J. (2001), Household gasoline demand in canada, Econometrica 69(6),

DSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics

DSGE-Models. Calibration and Introduction to Dynare. Institute of Econometrics and Economic Statistics DSGE-Models Calibration and Introduction to Dynare Dr. Andrea Beccarini Willi Mutschler, M.Sc. Institute of Econometrics and Economic Statistics willi.mutschler@uni-muenster.de Summer 2012 Willi Mutschler

More information

(a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

(a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming 1. Government Purchases and Endogenous Growth Consider the following endogenous growth model with government purchases (G) in continuous time. Government purchases enhance production, and the production

More information

Graduate Econometrics I: What is econometrics?

Graduate Econometrics I: What is econometrics? Graduate Econometrics I: What is econometrics? Yves Dominicy Université libre de Bruxelles Solvay Brussels School of Economics and Management ECARES Yves Dominicy Graduate Econometrics I: What is econometrics?

More information

Identifying the Monetary Policy Shock Christiano et al. (1999)

Identifying the Monetary Policy Shock Christiano et al. (1999) Identifying the Monetary Policy Shock Christiano et al. (1999) The question we are asking is: What are the consequences of a monetary policy shock a shock which is purely related to monetary conditions

More information

Gibbs Sampling in Latent Variable Models #1

Gibbs Sampling in Latent Variable Models #1 Gibbs Sampling in Latent Variable Models #1 Econ 690 Purdue University Outline 1 Data augmentation 2 Probit Model Probit Application A Panel Probit Panel Probit 3 The Tobit Model Example: Female Labor

More information

Econometrics in a nutshell: Variation and Identification Linear Regression Model in STATA. Research Methods. Carlos Noton.

Econometrics in a nutshell: Variation and Identification Linear Regression Model in STATA. Research Methods. Carlos Noton. 1/17 Research Methods Carlos Noton Term 2-2012 Outline 2/17 1 Econometrics in a nutshell: Variation and Identification 2 Main Assumptions 3/17 Dependent variable or outcome Y is the result of two forces:

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

Wageningen Summer School in Econometrics. The Bayesian Approach in Theory and Practice

Wageningen Summer School in Econometrics. The Bayesian Approach in Theory and Practice Wageningen Summer School in Econometrics The Bayesian Approach in Theory and Practice September 2008 Slides for Lecture on Qualitative and Limited Dependent Variable Models Gary Koop, University of Strathclyde

More information

WISE International Masters

WISE International Masters WISE International Masters ECONOMETRICS Instructor: Brett Graham INSTRUCTIONS TO STUDENTS 1 The time allowed for this examination paper is 2 hours. 2 This examination paper contains 32 questions. You are

More information

Econometrics Lecture 5: Limited Dependent Variable Models: Logit and Probit

Econometrics Lecture 5: Limited Dependent Variable Models: Logit and Probit Econometrics Lecture 5: Limited Dependent Variable Models: Logit and Probit R. G. Pierse 1 Introduction In lecture 5 of last semester s course, we looked at the reasons for including dichotomous variables

More information

Modelling Czech and Slovak labour markets: A DSGE model with labour frictions

Modelling Czech and Slovak labour markets: A DSGE model with labour frictions Modelling Czech and Slovak labour markets: A DSGE model with labour frictions Daniel Němec Faculty of Economics and Administrations Masaryk University Brno, Czech Republic nemecd@econ.muni.cz ESF MU (Brno)

More information

A Guide to Modern Econometric:

A Guide to Modern Econometric: A Guide to Modern Econometric: 4th edition Marno Verbeek Rotterdam School of Management, Erasmus University, Rotterdam B 379887 )WILEY A John Wiley & Sons, Ltd., Publication Contents Preface xiii 1 Introduction

More information

Toulouse School of Economics, Macroeconomics II Franck Portier. Homework 1. Problem I An AD-AS Model

Toulouse School of Economics, Macroeconomics II Franck Portier. Homework 1. Problem I An AD-AS Model Toulouse School of Economics, 2009-2010 Macroeconomics II Franck Portier Homework 1 Problem I An AD-AS Model Let us consider an economy with three agents (a firm, a household and a government) and four

More information

Gibbs Sampling in Endogenous Variables Models

Gibbs Sampling in Endogenous Variables Models Gibbs Sampling in Endogenous Variables Models Econ 690 Purdue University Outline 1 Motivation 2 Identification Issues 3 Posterior Simulation #1 4 Posterior Simulation #2 Motivation In this lecture we take

More information

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

Sample Problems. Note: If you find the following statements true, you should briefly prove them. If you find them false, you should correct them.

Sample Problems. Note: If you find the following statements true, you should briefly prove them. If you find them false, you should correct them. Sample Problems 1. True or False Note: If you find the following statements true, you should briefly prove them. If you find them false, you should correct them. (a) The sample average of estimated residuals

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

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

Small Open Economy RBC Model Uribe, Chapter 4

Small Open Economy RBC Model Uribe, Chapter 4 Small Open Economy RBC Model Uribe, Chapter 4 1 Basic Model 1.1 Uzawa Utility E 0 t=0 θ t U (c t, h t ) θ 0 = 1 θ t+1 = β (c t, h t ) θ t ; β c < 0; β h > 0. Time-varying discount factor With a constant

More information

2) For a normal distribution, the skewness and kurtosis measures are as follows: A) 1.96 and 4 B) 1 and 2 C) 0 and 3 D) 0 and 0

2) For a normal distribution, the skewness and kurtosis measures are as follows: A) 1.96 and 4 B) 1 and 2 C) 0 and 3 D) 0 and 0 Introduction to Econometrics Midterm April 26, 2011 Name Student ID MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. (5,000 credit for each correct

More information

1. Basic Model of Labor Supply

1. Basic Model of Labor Supply Static Labor Supply. Basic Model of Labor Supply.. Basic Model In this model, the economic unit is a family. Each faimily maximizes U (L, L 2,.., L m, C, C 2,.., C n ) s.t. V + w i ( L i ) p j C j, C j

More information

Global Value Chain Participation and Current Account Imbalances

Global Value Chain Participation and Current Account Imbalances Global Value Chain Participation and Current Account Imbalances Johannes Brumm University of Zurich Georgios Georgiadis European Central Bank Johannes Gräb European Central Bank Fabian Trottner Princeton

More information

x i = 1 yi 2 = 55 with N = 30. Use the above sample information to answer all the following questions. Show explicitly all formulas and calculations.

x i = 1 yi 2 = 55 with N = 30. Use the above sample information to answer all the following questions. Show explicitly all formulas and calculations. Exercises for the course of Econometrics Introduction 1. () A researcher is using data for a sample of 30 observations to investigate the relationship between some dependent variable y i and independent

More information

Bayesian Inference: Probit and Linear Probability Models

Bayesian Inference: Probit and Linear Probability Models Utah State University DigitalCommons@USU All Graduate Plan B and other Reports Graduate Studies 5-1-2014 Bayesian Inference: Probit and Linear Probability Models Nate Rex Reasch Utah State University Follow

More information

Bayesian Inference in GLMs. Frequentists typically base inferences on MLEs, asymptotic confidence

Bayesian Inference in GLMs. Frequentists typically base inferences on MLEs, asymptotic confidence Bayesian Inference in GLMs Frequentists typically base inferences on MLEs, asymptotic confidence limits, and log-likelihood ratio tests Bayesians base inferences on the posterior distribution of the unknowns

More information

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

Agricultural and Applied Economics 637 Applied Econometrics II. Assignment III Maximum Likelihood Estimation (Due: March 25, 2014) 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

More information

Motivation Scale Mixutres of Normals Finite Gaussian Mixtures Skew-Normal Models. Mixture Models. Econ 690. Purdue University

Motivation Scale Mixutres of Normals Finite Gaussian Mixtures Skew-Normal Models. Mixture Models. Econ 690. Purdue University Econ 690 Purdue University In virtually all of the previous lectures, our models have made use of normality assumptions. From a computational point of view, the reason for this assumption is clear: combined

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

ADVANCED MACROECONOMICS I

ADVANCED MACROECONOMICS I Name: Students ID: ADVANCED MACROECONOMICS I I. Short Questions (21/2 points each) Mark the following statements as True (T) or False (F) and give a brief explanation of your answer in each case. 1. 2.

More information

LECTURE 11. Introduction to Econometrics. Autocorrelation

LECTURE 11. Introduction to Econometrics. Autocorrelation LECTURE 11 Introduction to Econometrics Autocorrelation November 29, 2016 1 / 24 ON PREVIOUS LECTURES We discussed the specification of a regression equation Specification consists of choosing: 1. correct

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

Department of Economics, UCSB UC Santa Barbara

Department of Economics, UCSB UC Santa Barbara Department of Economics, UCSB UC Santa Barbara Title: Past trend versus future expectation: test of exchange rate volatility Author: Sengupta, Jati K., University of California, Santa Barbara Sfeir, Raymond,

More information

Field Course Descriptions

Field Course Descriptions Field Course Descriptions Ph.D. Field Requirements 12 credit hours with 6 credit hours in each of two fields selected from the following fields. Each class can count towards only one field. Course descriptions

More information

Lecture Notes based on Koop (2003) Bayesian Econometrics

Lecture Notes based on Koop (2003) Bayesian Econometrics Lecture Notes based on Koop (2003) Bayesian Econometrics A.Colin Cameron University of California - Davis November 15, 2005 1. CH.1: Introduction The concepts below are the essential concepts used throughout

More information

Part A: Answer question A1 (required), plus either question A2 or A3.

Part A: Answer question A1 (required), plus either question A2 or A3. Ph.D. Core Exam -- Macroeconomics 5 January 2015 -- 8:00 am to 3:00 pm Part A: Answer question A1 (required), plus either question A2 or A3. A1 (required): Ending Quantitative Easing Now that the U.S.

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

A Contribution to the Empirics of Economic Growth

A Contribution to the Empirics of Economic Growth A Contribution to the Empirics of Economic Growth Albert Alex Zevelev May 6, 2011 1 Intoduction This paper replicates Mankiw, Romer, and Weil s 1992 QJE paper A Contribution to the Empirics of Economic

More information

Applied Econometrics (MSc.) Lecture 3 Instrumental Variables

Applied Econometrics (MSc.) Lecture 3 Instrumental Variables Applied Econometrics (MSc.) Lecture 3 Instrumental Variables Estimation - Theory Department of Economics University of Gothenburg December 4, 2014 1/28 Why IV estimation? So far, in OLS, we assumed independence.

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

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

The Lucas Imperfect Information Model

The Lucas Imperfect Information Model The Lucas Imperfect Information Model Based on the work of Lucas (972) and Phelps (970), the imperfect information model represents an important milestone in modern economics. The essential idea of the

More information

Wooldridge, Introductory Econometrics, 3d ed. Chapter 16: Simultaneous equations models. An obvious reason for the endogeneity of explanatory

Wooldridge, Introductory Econometrics, 3d ed. Chapter 16: Simultaneous equations models. An obvious reason for the endogeneity of explanatory Wooldridge, Introductory Econometrics, 3d ed. Chapter 16: Simultaneous equations models An obvious reason for the endogeneity of explanatory variables in a regression model is simultaneity: that is, one

More information

Introduction to Eco n o m et rics

Introduction to Eco n o m et rics 2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. Introduction to Eco n o m et rics Third Edition G.S. Maddala Formerly

More information

An Introduction to Econometrics. A Self-contained Approach. Frank Westhoff. The MIT Press Cambridge, Massachusetts London, England

An Introduction to Econometrics. A Self-contained Approach. Frank Westhoff. The MIT Press Cambridge, Massachusetts London, England An Introduction to Econometrics A Self-contained Approach Frank Westhoff The MIT Press Cambridge, Massachusetts London, England How to Use This Book xvii 1 Descriptive Statistics 1 Chapter 1 Prep Questions

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

High-dimensional Problems in Finance and Economics. Thomas M. Mertens

High-dimensional Problems in Finance and Economics. Thomas M. Mertens High-dimensional Problems in Finance and Economics Thomas M. Mertens NYU Stern Risk Economics Lab April 17, 2012 1 / 78 Motivation Many problems in finance and economics are high dimensional. Dynamic Optimization:

More information

Recurent Hyperinflations and Learning

Recurent Hyperinflations and Learning 1 / 17 Recurent Hyperinflations and Learning Albert Marcet and Juan P. Nicolini (AER,2003) Manuel M. Mosquera T. UC3M November 24, 2015 2 / 17 Motivation of Literature Expectations play a key role in macroeconomics

More information

Motivation Non-linear Rational Expectations The Permanent Income Hypothesis The Log of Gravity Non-linear IV Estimation Summary.

Motivation Non-linear Rational Expectations The Permanent Income Hypothesis The Log of Gravity Non-linear IV Estimation Summary. Econometrics I Department of Economics Universidad Carlos III de Madrid Master in Industrial Economics and Markets Outline Motivation 1 Motivation 2 3 4 5 Motivation Hansen's contributions GMM was developed

More information

Dealing With Endogeneity

Dealing With Endogeneity Dealing With Endogeneity Junhui Qian December 22, 2014 Outline Introduction Instrumental Variable Instrumental Variable Estimation Two-Stage Least Square Estimation Panel Data Endogeneity in Econometrics

More information

Hypothesis Testing. Econ 690. Purdue University. Justin L. Tobias (Purdue) Testing 1 / 33

Hypothesis Testing. Econ 690. Purdue University. Justin L. Tobias (Purdue) Testing 1 / 33 Hypothesis Testing Econ 690 Purdue University Justin L. Tobias (Purdue) Testing 1 / 33 Outline 1 Basic Testing Framework 2 Testing with HPD intervals 3 Example 4 Savage Dickey Density Ratio 5 Bartlett

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

Stat 5101 Lecture Notes

Stat 5101 Lecture Notes Stat 5101 Lecture Notes Charles J. Geyer Copyright 1998, 1999, 2000, 2001 by Charles J. Geyer May 7, 2001 ii Stat 5101 (Geyer) Course Notes Contents 1 Random Variables and Change of Variables 1 1.1 Random

More information

A note on the empirics of the neoclassical growth model

A note on the empirics of the neoclassical growth model Manuscript A note on the empirics of the neoclassical growth model Giovanni Caggiano University of Glasgow Leone Leonida Queen Mary, University of London Abstract This paper shows that the widely used

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

Assessing Structural VAR s

Assessing Structural VAR s ... Assessing Structural VAR s by Lawrence J. Christiano, Martin Eichenbaum and Robert Vigfusson Zurich, September 2005 1 Background Structural Vector Autoregressions Address the Following Type of Question:

More information

ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 9: Multiple equation models II

ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 9: Multiple equation models II ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 9: Multiple equation models II Ragnar Nymoen Department of Economics University of Oslo 9 October 2018 The reference to this lecture is:

More information

4- Current Method of Explaining Business Cycles: DSGE Models. Basic Economic Models

4- Current Method of Explaining Business Cycles: DSGE Models. Basic Economic Models 4- Current Method of Explaining Business Cycles: DSGE Models Basic Economic Models In Economics, we use theoretical models to explain the economic processes in the real world. These models de ne a relation

More information

E c o n o m e t r i c s

E c o n o m e t r i c s H:/Lehre/Econometrics Master/Lecture slides/chap 0.tex (October 7, 2015) E c o n o m e t r i c s This course 1 People Instructor: Professor Dr. Roman Liesenfeld SSC-Gebäude, Universitätsstr. 22, Room 4.309

More information

Chapter 11 The Stochastic Growth Model and Aggregate Fluctuations

Chapter 11 The Stochastic Growth Model and Aggregate Fluctuations George Alogoskoufis, Dynamic Macroeconomics, 2016 Chapter 11 The Stochastic Growth Model and Aggregate Fluctuations In previous chapters we studied the long run evolution of output and consumption, real

More information

7. Integrated Processes

7. Integrated Processes 7. Integrated Processes Up to now: Analysis of stationary processes (stationary ARMA(p, q) processes) Problem: Many economic time series exhibit non-stationary patterns over time 226 Example: We consider

More information

Econometric Analysis of Panel Data. Final Examination: Spring 2013

Econometric Analysis of Panel Data. Final Examination: Spring 2013 Econometric Analysis of Panel Data Professor William Greene Phone: 212.998.0876 Office: KMC 7-90 Home page:www.stern.nyu.edu/~wgreene Email: wgreene@stern.nyu.edu URL for course web page: people.stern.nyu.edu/wgreene/econometrics/paneldataeconometrics.htm

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

New Notes on the Solow Growth Model

New Notes on the Solow Growth Model New Notes on the Solow Growth Model Roberto Chang September 2009 1 The Model The firstingredientofadynamicmodelisthedescriptionofthetimehorizon. In the original Solow model, time is continuous and the

More information

Seminar Lecture. Introduction to Structural Estimation: A Stochastic Life Cycle Model. James Zou. School of Economics (HUST) September 29, 2017

Seminar Lecture. Introduction to Structural Estimation: A Stochastic Life Cycle Model. James Zou. School of Economics (HUST) September 29, 2017 Seminar Lecture Introduction to Structural Estimation: A Stochastic Life Cycle Model James Zou School of Economics (HUST) September 29, 2017 James Zou (School of Economics (HUST)) Seminar Lecture September

More information

ARDL Cointegration Tests for Beginner

ARDL Cointegration Tests for Beginner ARDL Cointegration Tests for Beginner Tuck Cheong TANG Department of Economics, Faculty of Economics & Administration University of Malaya Email: tangtuckcheong@um.edu.my DURATION: 3 HOURS On completing

More information

Two Models of Macroeconomic Equilibrium

Two Models of Macroeconomic Equilibrium Two Models of Macroeconomic Equilibrium 1 The Static IS-LM Model The model equations are given as C η +γ(y T) (1) T τy (2) I α r (3) G T (4) L φy θr (5) M µ (6) Y C +I +G (7) L M (8) where η,α,,φ,θ,µ >

More information

Inference when identifying assumptions are doubted. A. Theory B. Applications

Inference when identifying assumptions are doubted. A. Theory B. Applications Inference when identifying assumptions are doubted A. Theory B. Applications 1 A. Theory Structural model of interest: A y t B 1 y t1 B m y tm u t nn n1 u t i.i.d. N0, D D diagonal 2 Bayesian approach:

More information

Inference when identifying assumptions are doubted. A. Theory. Structural model of interest: B 1 y t1. u t. B m y tm. u t i.i.d.

Inference when identifying assumptions are doubted. A. Theory. Structural model of interest: B 1 y t1. u t. B m y tm. u t i.i.d. Inference when identifying assumptions are doubted A. Theory B. Applications Structural model of interest: A y t B y t B m y tm nn n i.i.d. N, D D diagonal A. Theory Bayesian approach: Summarize whatever

More information

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 2: PROBABILITY DISTRIBUTIONS

PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 2: PROBABILITY DISTRIBUTIONS PATTERN RECOGNITION AND MACHINE LEARNING CHAPTER 2: PROBABILITY DISTRIBUTIONS Parametric Distributions Basic building blocks: Need to determine given Representation: or? Recall Curve Fitting Binary Variables

More information

Heteroskedasticity. Part VII. Heteroskedasticity

Heteroskedasticity. Part VII. Heteroskedasticity Part VII Heteroskedasticity As of Oct 15, 2015 1 Heteroskedasticity Consequences Heteroskedasticity-robust inference Testing for Heteroskedasticity Weighted Least Squares (WLS) Feasible generalized Least

More information

Macroeconomics Theory II

Macroeconomics Theory II Macroeconomics Theory II Francesco Franco FEUNL February 2011 Francesco Franco Macroeconomics Theory II 1/34 The log-linear plain vanilla RBC and ν(σ n )= ĉ t = Y C ẑt +(1 α) Y C ˆn t + K βc ˆk t 1 + K

More information

ECON 4160, Lecture 11 and 12

ECON 4160, Lecture 11 and 12 ECON 4160, 2016. Lecture 11 and 12 Co-integration Ragnar Nymoen Department of Economics 9 November 2017 1 / 43 Introduction I So far we have considered: Stationary VAR ( no unit roots ) Standard inference

More information

7. Integrated Processes

7. Integrated Processes 7. Integrated Processes Up to now: Analysis of stationary processes (stationary ARMA(p, q) processes) Problem: Many economic time series exhibit non-stationary patterns over time 226 Example: We consider

More information

Inference. Jesús Fernández-Villaverde University of Pennsylvania

Inference. Jesús Fernández-Villaverde University of Pennsylvania Inference Jesús Fernández-Villaverde University of Pennsylvania 1 A Model with Sticky Price and Sticky Wage Household j [0, 1] maximizes utility function: X E 0 β t t=0 G t ³ C j t 1 1 σ 1 1 σ ³ N j t

More information

ECON 5118 Macroeconomic Theory

ECON 5118 Macroeconomic Theory ECON 5118 Macroeconomic Theory Winter 013 Test 1 February 1, 013 Answer ALL Questions Time Allowed: 1 hour 0 min Attention: Please write your answers on the answer book provided Use the right-side pages

More information

Assessing Structural VAR s

Assessing Structural VAR s ... Assessing Structural VAR s by Lawrence J. Christiano, Martin Eichenbaum and Robert Vigfusson Columbia, October 2005 1 Background Structural Vector Autoregressions Can be Used to Address the Following

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

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

9) Time series econometrics

9) 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 information

Signaling Effects of Monetary Policy

Signaling Effects of Monetary Policy Signaling Effects of Monetary Policy Leonardo Melosi London Business School 24 May 2012 Motivation Disperse information about aggregate fundamentals Morris and Shin (2003), Sims (2003), and Woodford (2002)

More information

Introduction to Linear Regression Analysis

Introduction to Linear Regression Analysis Introduction to Linear Regression Analysis Samuel Nocito Lecture 1 March 2nd, 2018 Econometrics: What is it? Interaction of economic theory, observed data and statistical methods. The science of testing

More information

problem. max Both k (0) and h (0) are given at time 0. (a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming

problem. max Both k (0) and h (0) are given at time 0. (a) Write down the Hamilton-Jacobi-Bellman (HJB) Equation in the dynamic programming 1. Endogenous Growth with Human Capital Consider the following endogenous growth model with both physical capital (k (t)) and human capital (h (t)) in continuous time. The representative household solves

More information

Regression with Qualitative Information. Part VI. Regression with Qualitative Information

Regression with Qualitative Information. Part VI. Regression with Qualitative Information Part VI Regression with Qualitative Information As of Oct 17, 2017 1 Regression with Qualitative Information Single Dummy Independent Variable Multiple Categories Ordinal Information Interaction Involving

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

Growth: Facts and Theories

Growth: Facts and Theories Notes on Growth: Facts and Theories Intermediate Macroeconomics Spring 2006 Guido Menzio University of Pennsylvania Growth In the last part of the course we are going to study economic growth, i.e. the

More information

Applied Econometrics Lecture 1

Applied Econometrics Lecture 1 Lecture 1 1 1 Università di Urbino Università di Urbino PhD Programme in Global Studies Spring 2018 Outline of this module Beyond OLS (very brief sketch) Regression and causality: sources of endogeneity

More information

ECON 4160, Spring term Lecture 12

ECON 4160, Spring term Lecture 12 ECON 4160, Spring term 2013. Lecture 12 Non-stationarity and co-integration 2/2 Ragnar Nymoen Department of Economics 13 Nov 2013 1 / 53 Introduction I So far we have considered: Stationary VAR, with deterministic

More information

Next week Professor Saez will discuss. This week John and I will

Next week Professor Saez will discuss. This week John and I will Next Week's Topic Income Inequality and Tax Policy Next week Professor Saez will discuss Atkinson, Anthony, Thomas Piketty and Emmanuel Saez, Top Incomes in the Long Run of History, Alvaredo, Facundo,

More information

Assumption 5. The technology is represented by a production function, F : R 3 + R +, F (K t, N t, A t )

Assumption 5. The technology is represented by a production function, F : R 3 + R +, F (K t, N t, A t ) 6. Economic growth Let us recall the main facts on growth examined in the first chapter and add some additional ones. (1) Real output (per-worker) roughly grows at a constant rate (i.e. labor productivity

More information

Outline. 11. Time Series Analysis. Basic Regression. Differences between Time Series and Cross Section

Outline. 11. Time Series Analysis. Basic Regression. Differences between Time Series and Cross Section Outline I. The Nature of Time Series Data 11. Time Series Analysis II. Examples of Time Series Models IV. Functional Form, Dummy Variables, and Index Basic Regression Numbers Read Wooldridge (2013), Chapter

More information

The OLS Estimation of a basic gravity model. Dr. Selim Raihan Executive Director, SANEM Professor, Department of Economics, University of Dhaka

The OLS Estimation of a basic gravity model. Dr. Selim Raihan Executive Director, SANEM Professor, Department of Economics, University of Dhaka The OLS Estimation of a basic gravity model Dr. Selim Raihan Executive Director, SANEM Professor, Department of Economics, University of Dhaka Contents I. Regression Analysis II. Ordinary Least Square

More information

Human Capital, Technology Diffusion and Total Factor Productivity Growth in Regions

Human Capital, Technology Diffusion and Total Factor Productivity Growth in Regions Seminar in International Economics 17 September 2018 Human Capital, Technology Diffusion and Total Factor Productivity Growth in Regions Anja Kukuvec Vienna University of Economics and Business (WU) This

More information

Women. Sheng-Kai Chang. Abstract. In this paper a computationally practical simulation estimator is proposed for the twotiered

Women. Sheng-Kai Chang. Abstract. In this paper a computationally practical simulation estimator is proposed for the twotiered Simulation Estimation of Two-Tiered Dynamic Panel Tobit Models with an Application to the Labor Supply of Married Women Sheng-Kai Chang Abstract In this paper a computationally practical simulation estimator

More information

General Examination in Macroeconomic Theory SPRING 2013

General Examination in Macroeconomic Theory SPRING 2013 HARVARD UNIVERSITY DEPARTMENT OF ECONOMICS General Examination in Macroeconomic Theory SPRING 203 You have FOUR hours. Answer all questions Part A (Prof. Laibson): 48 minutes Part B (Prof. Aghion): 48

More information

1 Static (one period) model

1 Static (one period) model 1 Static (one period) model The problem: max U(C; L; X); s.t. C = Y + w(t L) and L T: The Lagrangian: L = U(C; L; X) (C + wl M) (L T ); where M = Y + wt The FOCs: U C (C; L; X) = and U L (C; L; X) w +

More information

Auto correlation 2. Note: In general we can have AR(p) errors which implies p lagged terms in the error structure, i.e.,

Auto correlation 2. Note: In general we can have AR(p) errors which implies p lagged terms in the error structure, i.e., 1 Motivation Auto correlation 2 Autocorrelation occurs when what happens today has an impact on what happens tomorrow, and perhaps further into the future This is a phenomena mainly found in time-series

More information

THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI

THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI 92 Multiple Criteria Decision Making XIII THE LONG-RUN DETERMINANTS OF MONEY DEMAND IN SLOVAKIA MARTIN LUKÁČIK - ADRIANA LUKÁČIKOVÁ - KAROL SZOMOLÁNYI Abstract: The paper verifies the long-run determinants

More information

Linear Regression. Junhui Qian. October 27, 2014

Linear Regression. Junhui Qian. October 27, 2014 Linear Regression Junhui Qian October 27, 2014 Outline The Model Estimation Ordinary Least Square Method of Moments Maximum Likelihood Estimation Properties of OLS Estimator Unbiasedness Consistency Efficiency

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

Bayesian Interpretations of Heteroskedastic Consistent Covariance Estimators Using the Informed Bayesian Bootstrap

Bayesian Interpretations of Heteroskedastic Consistent Covariance Estimators Using the Informed Bayesian Bootstrap Bayesian Interpretations of Heteroskedastic Consistent Covariance Estimators Using the Informed Bayesian Bootstrap Dale J. Poirier University of California, Irvine September 1, 2008 Abstract This paper

More information