Economics Computation Winter Prof. Garey Ramey. Exercises : 5 ; B = AX = B: 5 ; h 3 1 6

Size: px
Start display at page:

Download "Economics Computation Winter Prof. Garey Ramey. Exercises : 5 ; B = AX = B: 5 ; h 3 1 6"

Transcription

1 Economics 80 - Computation Winter Prof. Garey Ramey Exercises Exercise 1. Consider the following maices: 9 A = 1 8 ; B = : a. Enter A and B as Matlab variables. b. Calculate the following maices: AB; A ; A 0 B 1 ; b ij ; [aij =b ij ] : c. Calculate the solution of the following linear system: AX = B: d. If a ij + b ij, set c ij = a ij, and otherwise set c ij = 0. e. Calculate the following maices: ; ; h 1 i : Exercise. Consider the AR(1) process y t = :1 + :y t 1 + " t ; 1

2 where the " t s are i.i.d.normal random variables with mean 0 and variance :0. a. Compute the mean of this process. Also compute the autocovariances for j = 0; :::; ;. b. Create a Matlab script with the name "Ex_Solution". In the script, draw T = 100 values " 1 ; :::; " T from a normal disibution using the function randn, and then consuct y 1 ; :::; y T using the above equation, with y 0 equal to the mean of the process. Calculate the sample mean and autocovariance function of the simulated data: Sample mean = ^ = 1 T Sample autocovariance = ^ j = 1 T c. Repeat part b with T = 10; 000. j X T X T t=1 y t; t=j+1 (y t ^)(y t j ^): Exercise. Consider the AR() process y t = : + :y t 1 + :y t + " t ; where the " t s are i.i.d.normal random variables with mean 0 and variance :0. a. Show that the process is stationary. b. Calculate the coe cients 1 ; :::; of the MA(1) representation. c. Suppose " t = 1 and " s = 0 for all s = t. Use the MA(1) representation to calculate the implied path y t ; y t+1 ; :::; y t+. Exercise.a. Copy the le US_Data.xlsx into your current Matlab folder. Use the command xlsread to create the variables Real GDP and Hours as Matlab vectors. b. Plot the log levels of the two series. c. Consider the following linear end model of log of real GDP: y t = + t + yt c ;

3 where t is the time index of quarters (i.e., t = 1 for 198-I, t = for 198-II, etc.). Estimate and by regressing y t on a constant term and vector of time indices. d. Use the estimated coe cients to calculate the end component: t = ^ + ^t: Plot y t and t together. e. Calculate and plot the cyclical component y c t = y t t. Calculate the standard deviation and rst-order autocorrelation of y c t. Exercise. f t g T t=1 For a given series fy t g T t=1, the HP lter determines the end component as the solution to min f t gt t=1 XT (y t t=1 t ) + X T 1 t= ((y t+1 yt ) Necessary and su cient conditions for a solution are given by (1 + ) 1 + = y 1 ; ( t 1 + (1 + ) + = y ; yt 1)) : yt yt 1 + (1 + )yt t+1 + t+ = y t ; t = ; :::; T ; yt yt yt yt + (1 + ) T 1 T = y T 1 ; 1 + (1 + ) T = y T : For T =, these conditions may be expressed as = y 1 y y y y y y : (1)

4 Let H denote the maix in (1). a. Write a Malab script that calculates the maix H for arbiary and T using the for, if, elseif and else commands. b. Use your script to create a Matlab function that calculates the end component for a given series y = fy t g T t=1 and smoothing parameter. c. Using the data from the le US_Data.xlsx, calculate the end component of the log of Real GDP for = 100 and = 10. Generate a plot of the log of Real GDP along with these two end components. d. Calculate and plot the cyclical components y c t = y t t for = 100 and = 10. Calculate the standard deviation and rst-order autocorrelation for each case. Exercise. Consider the following vector autoregression model of real GDP and hours: y t h t = cy c h + y y y h h y h h y t 1 h t 1 where " y t and "h t are uncorrelated white noise processes. + y h t + "y t " h t ; () a. Import the variables Real GDP and Hours from the le US_Data.xlsx. Take logs of these series and use them series to estimate () using ordinary least squares. b. Calculated the tted residuals ^" y t and ^" h t. Plot the two series, and calculate their standard deviations (denoted by ^ y and ^ h ) and rst-order autocorrelations. c. Consider the following model of the cyclical components of real GDP and hours: yc t h c t = ^ y y ^ h y ^ y h ^ h h yc t 1 h c t 1 + y t h t ; () where ^ y y, ^ y h, ^ h y and ^ h h are the estimates from part b, and y t and h t are normally disibuted random variables with zero means and standard deviations ^ y and ^ h, respectively.

5 Draw N = 1000 samples of the random vectors y 1 y. ; h 1 h. ; y T h T where T = 0. For each sample, calculate the paths of yt c and h c t implied by () for t = 1; :::; T, where y0 c = hc 0 = 0. d. For each of the N replications, calculate the standard deviations of the yt c and h c t paths. Also calculate the standard deviation of the standard deviations across the N replications for each of the variables. Exercise. The social planner solution for a common speci cation of the Real Business Cycle (RBC) model is determined by: X 1 max E 0 fc t;h t;k t+1 g 1 t=1 t (ln C t + ln(1 H t )) ; t=1 subject to A t Kt 1 Ht + (1 )K t = C t + (1 + g)k t+1 ; t = 1; ; :::; () A t+1 = A t e" t+1 ; t = 1; ; :::; () where f" t g is an exogenous white noise process having standard deviation, and K 0 and A 0 are given. The parameters satisfy ; ; ; (0; 1) and ; g; > 0. Necessary conditions for a solution are along with () and (). C t 1 H t = A t K 1 t H 1 t ; t = 1; ; :::; () E t (1 + g) 1 C t C t+1 (1 )At+1 K t+1 H t = 1; t = 1; ; :::; ()

6 The deterministic steady state equilibrium (DSSE) is the iple f C; H; Kg such that fc t ; H t ; K t+1 g = f C; H; Kg for all t satis es (), () and (). This may be expressed as C 1 H = K 1 H 1 ; (8) (1 + g) 1 (1 ) K H a + 1 = 1; (9) K 1 H a + (1 ) K = C + (1 + g) K: (10) a. Use fsolve to calculate the DSSE under the following parameter values: g : :98 :0 :8 :00 : b. Output in the DSSE is given by Y = K 1 H a : Create a Matlab function that calculates Y as a function of the ve parameters. Use the function to analyze how Y is a ected by increases in the parameters. Exercise 8. For each period t = 1; ; :::, a rm receives s t orders, and hires a t workers to service the orders at a rate of one order per worker. The rm pays a wage of w per worker per period, and in addition incurs an adjustment costs of (a t a t 1 ). Pro ts in period t are given by The rm s objective function is and the initial condition is a 0 = 0. a. Formulate the rm s pro t maximization problem as a dynamic programming problem. t = minfs t ; a t g wa t (a t a t 1 ) : E P 1 t=1 t t j s 1 ;

7 b. Suppose the s t s are i.i.d. uniform over the integers 0 through 19. Let the other parameter values be given by w : :1 :9 : Use Matlab to calculate the optimal policy function a(a t 1 ; s t ) using the grids S = 0 : 19 and A = 0 : 19. c. Calculate and plot the optimal numbers of workers a 1; :::; a 10 under the assumption s 1 = s 10 = 10. d. Suppose instead that adjustment costs are given by (minfa t a t 1 ; 0g). Repeat your calculations for parts b and c under this assumption.

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

Notes on Time Series Modeling

Notes on Time Series Modeling Notes on Time Series Modeling Garey Ramey University of California, San Diego January 17 1 Stationary processes De nition A stochastic process is any set of random variables y t indexed by t T : fy t g

More information

Macroeconomics II Dynamic macroeconomics Class 1: Introduction and rst models

Macroeconomics II Dynamic macroeconomics Class 1: Introduction and rst models Macroeconomics II Dynamic macroeconomics Class 1: Introduction and rst models Prof. George McCandless UCEMA Spring 2008 1 Class 1: introduction and rst models What we will do today 1. Organization of course

More information

Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011

Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011 Department of Economics University of Maryland Economics 701 Advanced Macroeconomics I Project 1 Professor Sanjay Chugh Fall 2011 Objective As a stepping stone to learning how to work with and computationally

More information

Econ 424 Time Series Concepts

Econ 424 Time Series Concepts Econ 424 Time Series Concepts Eric Zivot January 20 2015 Time Series Processes Stochastic (Random) Process { 1 2 +1 } = { } = sequence of random variables indexed by time Observed time series of length

More information

Estimating the Number of Common Factors in Serially Dependent Approximate Factor Models

Estimating the Number of Common Factors in Serially Dependent Approximate Factor Models Estimating the Number of Common Factors in Serially Dependent Approximate Factor Models Ryan Greenaway-McGrevy y Bureau of Economic Analysis Chirok Han Korea University February 7, 202 Donggyu Sul University

More information

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley

Time Series Models and Inference. James L. Powell Department of Economics University of California, Berkeley Time Series Models and Inference James L. Powell Department of Economics University of California, Berkeley Overview In contrast to the classical linear regression model, in which the components of the

More information

Advanced Macroeconomics II. Real Business Cycle Models. Jordi Galí. Universitat Pompeu Fabra Spring 2018

Advanced Macroeconomics II. Real Business Cycle Models. Jordi Galí. Universitat Pompeu Fabra Spring 2018 Advanced Macroeconomics II Real Business Cycle Models Jordi Galí Universitat Pompeu Fabra Spring 2018 Assumptions Optimization by consumers and rms Perfect competition General equilibrium Absence of a

More information

Lecture 3, November 30: The Basic New Keynesian Model (Galí, Chapter 3)

Lecture 3, November 30: The Basic New Keynesian Model (Galí, Chapter 3) MakØk3, Fall 2 (blok 2) Business cycles and monetary stabilization policies Henrik Jensen Department of Economics University of Copenhagen Lecture 3, November 3: The Basic New Keynesian Model (Galí, Chapter

More information

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 2

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 2 ECON607 Fall 200 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 2 The due date for this assignment is Tuesday, October 2. ( Total points = 50). (Two-sector growth model) Consider the

More information

RBC Model with Indivisible Labor. Advanced Macroeconomic Theory

RBC Model with Indivisible Labor. Advanced Macroeconomic Theory RBC Model with Indivisible Labor Advanced Macroeconomic Theory 1 Last Class What are business cycles? Using HP- lter to decompose data into trend and cyclical components Business cycle facts Standard RBC

More information

1 Regression with Time Series Variables

1 Regression with Time Series Variables 1 Regression with Time Series Variables With time series regression, Y might not only depend on X, but also lags of Y and lags of X Autoregressive Distributed lag (or ADL(p; q)) model has these features:

More information

Modelling Production

Modelling Production Modelling Production David N. DeJong University of Pittsburgh Econ. 1540, Spring 2010 DND () Production Econ. 1540, Spring 2010 1 / 23 Introduction The production function is the foundation upon which

More information

Economics 241B Estimation with Instruments

Economics 241B Estimation with Instruments Economics 241B Estimation with Instruments Measurement Error Measurement error is de ned as the error resulting from the measurement of a variable. At some level, every variable is measured with error.

More information

Real Business Cycle Model (RBC)

Real Business Cycle Model (RBC) Real Business Cycle Model (RBC) Seyed Ali Madanizadeh November 2013 RBC Model Lucas 1980: One of the functions of theoretical economics is to provide fully articulated, artificial economic systems that

More information

Environmental Econometrics

Environmental Econometrics Environmental Econometrics Syngjoo Choi Fall 2008 Environmental Econometrics (GR03) Fall 2008 1 / 37 Syllabus I This is an introductory econometrics course which assumes no prior knowledge on econometrics;

More information

1 The social planner problem

1 The social planner problem The social planner problem max C t;k t+ U t = E t X t C t () that can be written as: s.t.: Y t = A t K t (2) Y t = C t + I t (3) I t = K t+ (4) A t = A A t (5) et t i:i:d: 0; 2 max C t;k t+ U t = E t "

More information

Macroeconomics II Money in the Utility function

Macroeconomics II Money in the Utility function McCless]Prof. McCless UCEMA Prof. McCless UCEMA Macroeconomics II Money in the Utility function [ October, 00 Money in the Utility function Money in the Utility function Alternative way to add money to

More information

Macroeconomics IV Problem Set I

Macroeconomics IV Problem Set I 14.454 - Macroeconomics IV Problem Set I 04/02/2011 Due: Monday 4/11/2011 1 Question 1 - Kocherlakota (2000) Take an economy with a representative, in nitely-lived consumer. The consumer owns a technology

More information

Trending Models in the Data

Trending Models in the Data April 13, 2009 Spurious regression I Before we proceed to test for unit root and trend-stationary models, we will examine the phenomena of spurious regression. The material in this lecture can be found

More information

Housing and the Business Cycle

Housing and the Business Cycle Housing and the Business Cycle Morris Davis and Jonathan Heathcote Winter 2009 Huw Lloyd-Ellis () ECON917 Winter 2009 1 / 21 Motivation Need to distinguish between housing and non housing investment,!

More information

Solution for Problem Set 3

Solution for Problem Set 3 Solution for Problem Set 3 Q. Heterogeneous Expectations. Consider following dynamic IS-LM economy in Lecture Notes 8: IS curve: y t = ar t + u t (.) where y t is output, r t is the real interest rate,

More information

Reliability and Risk Analysis. Time Series, Types of Trend Functions and Estimates of Trends

Reliability and Risk Analysis. Time Series, Types of Trend Functions and Estimates of Trends Reliability and Risk Analysis Stochastic process The sequence of random variables {Y t, t = 0, ±1, ±2 } is called the stochastic process The mean function of a stochastic process {Y t} is the function

More information

Competitive Equilibrium and the Welfare Theorems

Competitive Equilibrium and the Welfare Theorems Competitive Equilibrium and the Welfare Theorems Craig Burnside Duke University September 2010 Craig Burnside (Duke University) Competitive Equilibrium September 2010 1 / 32 Competitive Equilibrium and

More information

Econ 5110 Solutions to the Practice Questions for the Midterm Exam

Econ 5110 Solutions to the Practice Questions for the Midterm Exam Econ 50 Solutions to the Practice Questions for the Midterm Exam Spring 202 Real Business Cycle Theory. Consider a simple neoclassical growth model (notation similar to class) where all agents are identical

More information

STATE UNIVERSITY OF NEW YORK AT ALBANY Department of Economics

STATE UNIVERSITY OF NEW YORK AT ALBANY Department of Economics STATE UNIVERSITY OF NEW YORK AT ALBANY Department of Economics Ph. D. Comprehensive Examination: Macroeconomics Fall, 202 Answer Key to Section 2 Questions Section. (Suggested Time: 45 Minutes) For 3 of

More information

Solutions to Problem Set 4 Macro II (14.452)

Solutions to Problem Set 4 Macro II (14.452) Solutions to Problem Set 4 Macro II (14.452) Francisco A. Gallego 05/11 1 Money as a Factor of Production (Dornbusch and Frenkel, 1973) The shortcut used by Dornbusch and Frenkel to introduce money in

More information

Foundation of (virtually) all DSGE models (e.g., RBC model) is Solow growth model

Foundation of (virtually) all DSGE models (e.g., RBC model) is Solow growth model THE BASELINE RBC MODEL: THEORY AND COMPUTATION FEBRUARY, 202 STYLIZED MACRO FACTS Foundation of (virtually all DSGE models (e.g., RBC model is Solow growth model So want/need/desire business-cycle models

More information

Lecture Notes 7: Real Business Cycle 1

Lecture Notes 7: Real Business Cycle 1 Lecture Notes 7: Real Business Cycle Zhiwei Xu (xuzhiwei@sjtu.edu.cn) In this note, we introduce the Dynamic Stochastic General Equilibrium (DSGE) model, which is most widely used modelling framework in

More information

Macroeconomics - Data & Theory

Macroeconomics - Data & Theory Macroeconomics - Data & Theory Wouter J. Den Haan University of Amsterdam October 24, 2009 How to isolate the business cycle component? Easy way is to use the Hodrick-Prescott (HP) lter min fx τ,t g T

More information

The Basic New Keynesian Model. Jordi Galí. June 2008

The Basic New Keynesian Model. Jordi Galí. June 2008 The Basic New Keynesian Model by Jordi Galí June 28 Motivation and Outline Evidence on Money, Output, and Prices: Short Run E ects of Monetary Policy Shocks (i) persistent e ects on real variables (ii)

More information

A time series plot: a variable Y t on the vertical axis is plotted against time on the horizontal axis

A time series plot: a variable Y t on the vertical axis is plotted against time on the horizontal axis TIME AS A REGRESSOR A time series plot: a variable Y t on the vertical axis is plotted against time on the horizontal axis Many economic variables increase or decrease with time A linear trend relationship

More information

Economics Computation Winter Prof. Garey Ramey. Value Function Iteration

Economics Computation Winter Prof. Garey Ramey. Value Function Iteration Economics 80 - Computation Winter 017-18 Prof. Garey Ramey Value Function Iteration 1 Problem formulation A standard dynamic programming problem may be formulated as follows. For periods t = 0; 1; :::,

More information

Chapter 2. GMM: Estimating Rational Expectations Models

Chapter 2. GMM: Estimating Rational Expectations Models Chapter 2. GMM: Estimating Rational Expectations Models Contents 1 Introduction 1 2 Step 1: Solve the model and obtain Euler equations 2 3 Step 2: Formulate moment restrictions 3 4 Step 3: Estimation and

More information

1. The Multivariate Classical Linear Regression Model

1. The Multivariate Classical Linear Regression Model Business School, Brunel University MSc. EC550/5509 Modelling Financial Decisions and Markets/Introduction to Quantitative Methods Prof. Menelaos Karanasos (Room SS69, Tel. 08956584) Lecture Notes 5. The

More information

Time Series Analysis for Macroeconomics and Finance

Time Series Analysis for Macroeconomics and Finance Time Series Analysis for Macroeconomics and Finance Bernd Süssmuth IEW Institute for Empirical Research in Economics University of Leipzig December 12, 2011 Bernd Süssmuth (University of Leipzig) Time

More information

1 Augmented Dickey Fuller, ADF, Test

1 Augmented Dickey Fuller, ADF, Test Applied Econometrics 1 Augmented Dickey Fuller, ADF, Test Consider a simple general AR(p) process given by Y t = ¹ + Á 1 Y t 1 + Á 2 Y t 2 + ::::Á p Y t p + ² t (1) If this is the process generating the

More information

Statistics of stochastic processes

Statistics of stochastic processes Introduction Statistics of stochastic processes Generally statistics is performed on observations y 1,..., y n assumed to be realizations of independent random variables Y 1,..., Y n. 14 settembre 2014

More information

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 1 Suggested Solutions

ECON607 Fall 2010 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment 1 Suggested Solutions ECON607 Fall 200 University of Hawaii Professor Hui He TA: Xiaodong Sun Assignment Suggested Solutions The due date for this assignment is Thursday, Sep. 23.. Consider an stochastic optimal growth model

More information

Solow Growth Model. Michael Bar. February 28, Introduction Some facts about modern growth Questions... 4

Solow Growth Model. Michael Bar. February 28, Introduction Some facts about modern growth Questions... 4 Solow Growth Model Michael Bar February 28, 208 Contents Introduction 2. Some facts about modern growth........................ 3.2 Questions..................................... 4 2 The Solow Model 5

More information

Testing for Regime Switching: A Comment

Testing for Regime Switching: A Comment Testing for Regime Switching: A Comment Andrew V. Carter Department of Statistics University of California, Santa Barbara Douglas G. Steigerwald Department of Economics University of California Santa Barbara

More information

Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models

Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models Lecture 7: Linear-Quadratic Dynamic Programming Real Business Cycle Models Shinichi Nishiyama Graduate School of Economics Kyoto University January 10, 2019 Abstract In this lecture, we solve and simulate

More information

2014 Preliminary Examination

2014 Preliminary Examination 014 reliminary Examination 1) Standard error consistency and test statistic asymptotic normality in linear models Consider the model for the observable data y t ; x T t n Y = X + U; (1) where is a k 1

More information

Problem set 1 - Solutions

Problem set 1 - Solutions EMPIRICAL FINANCE AND FINANCIAL ECONOMETRICS - MODULE (8448) Problem set 1 - Solutions Exercise 1 -Solutions 1. The correct answer is (a). In fact, the process generating daily prices is usually assumed

More information

Exercise sheet 3 The Multiple Regression Model

Exercise sheet 3 The Multiple Regression Model Exercise sheet 3 The Multiple Regression Model Note: In those problems that include estimations and have a reference to a data set the students should check the outputs obtained with Gretl. 1. Let the

More information

LECTURE 13: TIME SERIES I

LECTURE 13: TIME SERIES I 1 LECTURE 13: TIME SERIES I AUTOCORRELATION: Consider y = X + u where y is T 1, X is T K, is K 1 and u is T 1. We are using T and not N for sample size to emphasize that this is a time series. The natural

More information

The Basic New Keynesian Model. Jordi Galí. November 2010

The Basic New Keynesian Model. Jordi Galí. November 2010 The Basic New Keynesian Model by Jordi Galí November 2 Motivation and Outline Evidence on Money, Output, and Prices: Short Run E ects of Monetary Policy Shocks (i) persistent e ects on real variables (ii)

More information

Dynamic Regression Models (Lect 15)

Dynamic Regression Models (Lect 15) Dynamic Regression Models (Lect 15) Ragnar Nymoen University of Oslo 21 March 2013 1 / 17 HGL: Ch 9; BN: Kap 10 The HGL Ch 9 is a long chapter, and the testing for autocorrelation part we have already

More information

1 Differential Equations

1 Differential Equations Reading [Simon], Chapter 24, p. 633-657. 1 Differential Equations 1.1 Definition and Examples A differential equation is an equation involving an unknown function (say y = y(t)) and one or more of its

More information

data lam=36.9 lam=6.69 lam=4.18 lam=2.92 lam=2.21 time max wavelength modulus of max wavelength cycle

data lam=36.9 lam=6.69 lam=4.18 lam=2.92 lam=2.21 time max wavelength modulus of max wavelength cycle AUTOREGRESSIVE LINEAR MODELS AR(1) MODELS The zero-mean AR(1) model x t = x t,1 + t is a linear regression of the current value of the time series on the previous value. For > 0 it generates positively

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

Granger Causality and Equilibrium Business Cycle Theory

Granger Causality and Equilibrium Business Cycle Theory Granger Causality and Equilibrium Business Cycle Theory Yi Wen Department of Economics Cornell University Abstract Post war US data show that consumption growth causes output and investment growth. This

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

ECON0702: Mathematical Methods in Economics

ECON0702: Mathematical Methods in Economics ECON0702: Mathematical Methods in Economics Yulei Luo SEF of HKU January 12, 2009 Luo, Y. (SEF of HKU) MME January 12, 2009 1 / 35 Course Outline Economics: The study of the choices people (consumers,

More information

Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model. Burkhard Heer University of Augsburg, Germany

Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model. Burkhard Heer University of Augsburg, Germany Public Economics The Macroeconomic Perspective Chapter 2: The Ramsey Model Burkhard Heer University of Augsburg, Germany October 3, 2018 Contents I 1 Central Planner 2 3 B. Heer c Public Economics: Chapter

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. Multivariate ARMA

2. Multivariate ARMA 2. Multivariate ARMA JEM 140: Quantitative Multivariate Finance IES, Charles University, Prague Summer 2018 JEM 140 () 2. Multivariate ARMA Summer 2018 1 / 19 Multivariate AR I Let r t = (r 1t,..., r kt

More information

Ch3. TRENDS. Time Series Analysis

Ch3. TRENDS. Time Series Analysis 3.1 Deterministic Versus Stochastic Trends The simulated random walk in Exhibit 2.1 shows a upward trend. However, it is caused by a strong correlation between the series at nearby time points. The true

More information

Monetary Economics Notes

Monetary Economics Notes Monetary Economics Notes Nicola Viegi 2 University of Pretoria - School of Economics Contents New Keynesian Models. Readings...............................2 Basic New Keynesian Model...................

More information

A time series is called strictly stationary if the joint distribution of every collection (Y t

A time series is called strictly stationary if the joint distribution of every collection (Y t 5 Time series A time series is a set of observations recorded over time. You can think for example at the GDP of a country over the years (or quarters) or the hourly measurements of temperature over a

More information

A Simple Algorithm for Solving Ramsey Optimal Policy with Exogenous Forcing Variables

A Simple Algorithm for Solving Ramsey Optimal Policy with Exogenous Forcing Variables MPRA Munich Personal RePEc Archive A Simple Algorithm for Solving Ramsey Optimal Policy with Exogenous Forcing Variables Jean-Bernard Chatelain and Kirsten Ralf Paris School of Economics, Université Paris

More information

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models

Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Chapter 6. Maximum Likelihood Analysis of Dynamic Stochastic General Equilibrium (DSGE) Models Fall 22 Contents Introduction 2. An illustrative example........................... 2.2 Discussion...................................

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

The Basic RBC model with Dynare

The Basic RBC model with Dynare The Basic RBC model with Dynare Petros Varthalitis December 200 Abstract This paper brie y describes the basic RBC model without steady-state growth.it uses dynare software to simulate the model under

More information

Economics 620, Lecture 13: Time Series I

Economics 620, Lecture 13: Time Series I Economics 620, Lecture 13: Time Series I Nicholas M. Kiefer Cornell University Professor N. M. Kiefer (Cornell University) Lecture 13: Time Series I 1 / 19 AUTOCORRELATION Consider y = X + u where y is

More information

Stochastic process for macro

Stochastic process for macro Stochastic process for macro Tianxiao Zheng SAIF 1. Stochastic process The state of a system {X t } evolves probabilistically in time. The joint probability distribution is given by Pr(X t1, t 1 ; X t2,

More information

Problem 1 (30 points)

Problem 1 (30 points) Problem (30 points) Prof. Robert King Consider an economy in which there is one period and there are many, identical households. Each household derives utility from consumption (c), leisure (l) and a public

More information

FEDERAL RESERVE BANK of ATLANTA

FEDERAL RESERVE BANK of ATLANTA FEDERAL RESERVE BANK of ATLANTA On the Solution of the Growth Model with Investment-Specific Technological Change Jesús Fernández-Villaverde and Juan Francisco Rubio-Ramírez Working Paper 2004-39 December

More information

Finite State Markov-chain Approximations to Highly. Persistent Processes

Finite State Markov-chain Approximations to Highly. Persistent Processes Finite State Markov-chain Approximations to Highly Persistent Processes Karen A. Kopecky y Richard M. H. Suen z This Version: November 2009 Abstract The Rouwenhorst method of approximating stationary AR(1)

More information

Advanced Economic Growth: Lecture 8, Technology Di usion, Trade and Interdependencies: Di usion of Technology

Advanced Economic Growth: Lecture 8, Technology Di usion, Trade and Interdependencies: Di usion of Technology Advanced Economic Growth: Lecture 8, Technology Di usion, Trade and Interdependencies: Di usion of Technology Daron Acemoglu MIT October 3, 2007 Daron Acemoglu (MIT) Advanced Growth Lecture 8 October 3,

More information

TOBB-ETU - Econ 532 Practice Problems II (Solutions)

TOBB-ETU - Econ 532 Practice Problems II (Solutions) TOBB-ETU - Econ 532 Practice Problems II (Solutions) Q: Ramsey Model: Exponential Utility Assume that in nite-horizon households maximize a utility function of the exponential form 1R max U = e (n )t (1=)e

More information

ECONOMETRICS FIELD EXAM Michigan State University May 9, 2008

ECONOMETRICS FIELD EXAM Michigan State University May 9, 2008 ECONOMETRICS FIELD EXAM Michigan State University May 9, 2008 Instructions: Answer all four (4) questions. Point totals for each question are given in parenthesis; there are 00 points possible. Within

More information

Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models

Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models Graduate Macro Theory II: Notes on Quantitative Analysis in DSGE Models Eric Sims University of Notre Dame Spring 2011 This note describes very briefly how to conduct quantitative analysis on a linearized

More information

Lecture 6, January 7 and 15: Sticky Wages and Prices (Galí, Chapter 6)

Lecture 6, January 7 and 15: Sticky Wages and Prices (Galí, Chapter 6) MakØk3, Fall 2012/2013 (Blok 2) Business cycles and monetary stabilization policies Henrik Jensen Department of Economics University of Copenhagen Lecture 6, January 7 and 15: Sticky Wages and Prices (Galí,

More information

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework

Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Solving a Dynamic (Stochastic) General Equilibrium Model under the Discrete Time Framework Dongpeng Liu Nanjing University Sept 2016 D. Liu (NJU) Solving D(S)GE 09/16 1 / 63 Introduction Targets of the

More information

Chapter 3 - Temporal processes

Chapter 3 - Temporal processes STK4150 - Intro 1 Chapter 3 - Temporal processes Odd Kolbjørnsen and Geir Storvik January 23 2017 STK4150 - Intro 2 Temporal processes Data collected over time Past, present, future, change Temporal aspect

More information

Markov-Switching Models with Endogenous Explanatory Variables. Chang-Jin Kim 1

Markov-Switching Models with Endogenous Explanatory Variables. Chang-Jin Kim 1 Markov-Switching Models with Endogenous Explanatory Variables by Chang-Jin Kim 1 Dept. of Economics, Korea University and Dept. of Economics, University of Washington First draft: August, 2002 This version:

More information

Daily Welfare Gains from Trade

Daily Welfare Gains from Trade Daily Welfare Gains from Trade Hasan Toprak Hakan Yilmazkuday y INCOMPLETE Abstract Using daily price quantity data on imported locally produced agricultural products, this paper estimates the elasticity

More information

Chapter 6: Endogeneity and Instrumental Variables (IV) estimator

Chapter 6: Endogeneity and Instrumental Variables (IV) estimator Chapter 6: Endogeneity and Instrumental Variables (IV) estimator Advanced Econometrics - HEC Lausanne Christophe Hurlin University of Orléans December 15, 2013 Christophe Hurlin (University of Orléans)

More information

Advanced Macroeconomics II. Monetary Models with Nominal Rigidities. Jordi Galí Universitat Pompeu Fabra April 2018

Advanced Macroeconomics II. Monetary Models with Nominal Rigidities. Jordi Galí Universitat Pompeu Fabra April 2018 Advanced Macroeconomics II Monetary Models with Nominal Rigidities Jordi Galí Universitat Pompeu Fabra April 208 Motivation Empirical Evidence Macro evidence on the e ects of monetary policy shocks (i)

More information

Problem Set 1 Solution Sketches Time Series Analysis Spring 2010

Problem Set 1 Solution Sketches Time Series Analysis Spring 2010 Problem Set 1 Solution Sketches Time Series Analysis Spring 2010 1. Construct a martingale difference process that is not weakly stationary. Simplest e.g.: Let Y t be a sequence of independent, non-identically

More information

Internation1al Trade

Internation1al Trade 4.58 International Trade Class notes on 4/8/203 The Armington Model. Equilibrium Labor endowments L i for i = ; :::n CES utility ) CES price index P = i= (w i ij ) P j n Bilateral trade ows follow gravity

More information

Neoclassical Business Cycle Model

Neoclassical Business Cycle Model Neoclassical Business Cycle Model Prof. Eric Sims University of Notre Dame Fall 2015 1 / 36 Production Economy Last time: studied equilibrium in an endowment economy Now: study equilibrium in an economy

More information

Dynare Summer School - Accuracy Tests

Dynare Summer School - Accuracy Tests Dynare Summer School - Accuracy Tests Wouter J. Den Haan University of Amsterdam July 4, 2008 outer J. Den Haan (University of Amsterdam)Dynare Summer School - Accuracy Tests July 4, 2008 1 / 35 Accuracy

More information

Econometrics I. Professor William Greene Stern School of Business Department of Economics 25-1/25. Part 25: Time Series

Econometrics I. Professor William Greene Stern School of Business Department of Economics 25-1/25. Part 25: Time Series Econometrics I Professor William Greene Stern School of Business Department of Economics 25-1/25 Econometrics I Part 25 Time Series 25-2/25 Modeling an Economic Time Series Observed y 0, y 1,, y t, What

More information

ECONOMET RICS P RELIM EXAM August 24, 2010 Department of Economics, Michigan State University

ECONOMET RICS P RELIM EXAM August 24, 2010 Department of Economics, Michigan State University ECONOMET RICS P RELIM EXAM August 24, 2010 Department of Economics, Michigan State University Instructions: Answer all four (4) questions. Be sure to show your work or provide su cient justi cation for

More information

Comment on HAC Corrections for Strongly Autocorrelated Time Series by Ulrich K. Müller

Comment on HAC Corrections for Strongly Autocorrelated Time Series by Ulrich K. Müller Comment on HAC Corrections for Strongly Autocorrelated ime Series by Ulrich K. Müller Yixiao Sun Department of Economics, UC San Diego May 2, 24 On the Nearly-optimal est Müller applies the theory of optimal

More information

GMM-based inference in the AR(1) panel data model for parameter values where local identi cation fails

GMM-based inference in the AR(1) panel data model for parameter values where local identi cation fails GMM-based inference in the AR() panel data model for parameter values where local identi cation fails Edith Madsen entre for Applied Microeconometrics (AM) Department of Economics, University of openhagen,

More information

Lecture 15 Real Business Cycle Model. Noah Williams

Lecture 15 Real Business Cycle Model. Noah Williams Lecture 15 Real Business Cycle Model Noah Williams University of Wisconsin - Madison Economics 702/312 Real Business Cycle Model We will have a shock: change in technology. Then we will have a propagation

More information

A primer on Structural VARs

A primer on Structural VARs A primer on Structural VARs Claudia Foroni Norges Bank 10 November 2014 Structural VARs 1/ 26 Refresh: what is a VAR? VAR (p) : where y t K 1 y t = ν + B 1 y t 1 +... + B p y t p + u t, (1) = ( y 1t...

More information

EconS Advanced Microeconomics II Handout on Subgame Perfect Equilibrium (SPNE)

EconS Advanced Microeconomics II Handout on Subgame Perfect Equilibrium (SPNE) EconS 3 - Advanced Microeconomics II Handout on Subgame Perfect Equilibrium (SPNE). Based on MWG 9.B.3 Consider the three-player nite game of perfect information depicted in gure. L R Player 3 l r a b

More information

A New Approach to Robust Inference in Cointegration

A New Approach to Robust Inference in Cointegration A New Approach to Robust Inference in Cointegration Sainan Jin Guanghua School of Management, Peking University Peter C. B. Phillips Cowles Foundation, Yale University, University of Auckland & University

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

An adaptation of Pissarides (1990) by using random job destruction rate

An adaptation of Pissarides (1990) by using random job destruction rate MPRA Munich Personal RePEc Archive An adaptation of Pissarides (990) by using random job destruction rate Huiming Wang December 2009 Online at http://mpra.ub.uni-muenchen.de/203/ MPRA Paper No. 203, posted

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

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

Stochastic Processes: I. consider bowl of worms model for oscilloscope experiment:

Stochastic Processes: I. consider bowl of worms model for oscilloscope experiment: Stochastic Processes: I consider bowl of worms model for oscilloscope experiment: SAPAscope 2.0 / 0 1 RESET SAPA2e 22, 23 II 1 stochastic process is: Stochastic Processes: II informally: bowl + drawing

More information

GMM estimation of spatial panels

GMM estimation of spatial panels MRA Munich ersonal ReEc Archive GMM estimation of spatial panels Francesco Moscone and Elisa Tosetti Brunel University 7. April 009 Online at http://mpra.ub.uni-muenchen.de/637/ MRA aper No. 637, posted

More information

Toulouse School of Economics, M2 Macroeconomics 1 Professor Franck Portier. Exam Solution

Toulouse School of Economics, M2 Macroeconomics 1 Professor Franck Portier. Exam Solution Toulouse School of Economics, 2013-2014 M2 Macroeconomics 1 Professor Franck Portier Exam Solution This is a 3 hours exam. Class slides and any handwritten material are allowed. You must write legibly.

More information

Structural Macroeconometrics. Chapter 4. Summarizing Time Series Behavior

Structural Macroeconometrics. Chapter 4. Summarizing Time Series Behavior Structural Macroeconometrics Chapter 4. Summarizing Time Series Behavior David N. DeJong Chetan Dave The sign of a truly educated man is to be deeply moved by statistics. George Bernard Shaw This chapter

More information