Forecasting - 1st and 2nd order approximation

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Forecasting - 1st and 2nd order approximation

Postby fravenna » Tue Oct 24, 2006 11:50 pm

[This follows an earlier question but identifies a possible bug in DYNARE]

The RBC model enclosed includes a variable (v) that is the expected discounted sum of another endogenous variable (ut). When using the instruction 'forecast' with the second order approximation over 250 periods, the forecasted path of variable (ut) is uniformally above its steady state value, while the forecast of variable (v) at time 1 decreases below its steady state value. This seems odd since variable (v) is just the expected discounted sum of (ut), written as a difference equation.

Another way of identifying the same problem is to run FORECAST with the deterministic shock set =0 for any period. Then (ut) is uniformally below its value in the previous exercise while the forecast of (v) at time 1 is above its value in the previous exercise.

note:
1) this problem only arises for long enough forecast
2) setting the stochastic shocks ' variance to zero does not affect result

I am inclined to think there is a problem with the way the FORECAST instruction works with second order approximation.


ENCLOSED:
- rbc model file
- exogenous deterministic shock path file
Attachments
shocks_example2.m
(2.29 KiB) Downloaded 137 times
example2_modified.mod
(1.32 KiB) Downloaded 175 times
fravenna
 
Posts: 9
Joined: Tue Jul 04, 2006 1:28 am
Location: santa cruz

Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 11 guests