Printing and saving results for a subset of variables

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.

Printing and saving results for a subset of variables

Postby frenchmacro » Wed Aug 19, 2015 4:05 am

Hi,

I am simulating an economy with many countries and sectors which contains about 1000 endogenous variables.
I would like to print and save the correlation matrix for a subset of 15 variables out of the 1000 - otherwise the table is unusable.
Is there an option that allows me to keep the results only for some endogenous variables ? (I do not want to do it manually because I will have to simulate the results for a lot of different parameter values and then once I collected all the correlations I need to do some regressions...)

Thanks !
frenchmacro
 
Posts: 3
Joined: Wed Aug 19, 2015 3:59 am

Re: Printing and saving results for a subset of variables

Postby jpfeifer » Wed Aug 19, 2015 8:44 am

You can specify the variables that interest you after the stoch_simul command, e.g.
Code: Select all
stoch_simul(order=1) y invest cons;
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Printing and saving results for a subset of variables

Postby frenchmacro » Wed Aug 19, 2015 4:49 pm

Great, thank you very much !
frenchmacro
 
Posts: 3
Joined: Wed Aug 19, 2015 3:59 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 3 guests