How to incorporate calculated S-S value into model ?

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.

How to incorporate calculated S-S value into model ?

Postby biantim » Tue Feb 28, 2012 10:45 pm

Hi,

I am trying to estimate a DSGE model. In my log-linearized model, I will use calculated Steady State values. I wonder how I can "quote" the S-S value I calculated in another .mod file, and use these S-S values as local "parameters" in my model.

Should I use @#include "filename"?

Thank you!

Tim
biantim
 
Posts: 2
Joined: Tue Feb 28, 2012 9:53 pm

Re: How to incorporate calculated S-S value into model ?

Postby kyri82 » Sun Mar 04, 2012 11:13 am

You calculated your S-S in another .mod file?

The thing is, even if you run the .mod file that calculates your S-S first, once you run your model's .mod file it does "clear all" before it starts, so even if they are in the base workspace they are lost once the .mod file is executed. The only way I see you can do that is to save your calculated S-S values in a .mat file. Then, include a "load" command in the .mod file that executes your model, which will load these S-S values and use them.

Hope this helps, I am not sure I am clear enough...

Kyriacos
kyri82
 
Posts: 141
Joined: Thu Feb 10, 2011 6:14 pm
Location: Toulouse - France


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests

cron