Page 1 of 1

Interpretation of Policy Function and Simulation

PostPosted: Tue Aug 23, 2016 2:55 am
by camara_cmb
Hi!

I have a function .mod file for my model. As I run my model with a second order solution in the output I get the policy function coefficients. I was wondering how to correctly simulate the model's data through this policy functions.


Also, as I understand, these policy functions relate past values of state variables and the realizations of shocks. However, there is not a way to relate the model in a foward looking fashion relating state variables with also the expected value of some variables?

Thanks!

Re: Interpretation of Policy Function and Simulation

PostPosted: Thu Aug 25, 2016 5:39 pm
by jpfeifer
1. For the first part, simulating the model, you shoud use the simult_-function. An example is at https://github.com/JohannesPfeifer/DSGE_mod/tree/master/RBC_news_shock_model where the model is simulated forward with user-provided shocks

2. The whole point of finding a solution in state-space form is to rely only on information available at time t. The expectations of future variables are solved for by replacing them by a function of the state variables.