Running a SVAR on simulated endogenous 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.

Running a SVAR on simulated endogenous variables

Postby Luciano » Wed Jun 10, 2015 9:05 am

Dear all,

I was wondering what would be the most efficient way of running a SVAR on the simulated endogenous variables from a calibrated linear DSGE model in dynare. I want to run 1000 simulations and estimate 1000 SVAR on the simulated data. Obviously I am looking for 1000 different series for a period of T observations.

I apologise if it is something trivial to do but I am relatively new to dynare

Many Thanks

Best Wishes

Luciano
Luciano
 
Posts: 8
Joined: Mon Nov 11, 2013 11:40 am

Re: Running a SVAR on simulated endogenous variables

Postby jpfeifer » Thu Jun 11, 2015 9:42 am

With the
Code: Select all
simul_replic
option you can generate 1000 samples. The get_simul_replications.m at https://sites.google.com/site/pfeiferecon/dynare can be used to write them into a matrix. You then only need to loop over the sample dimension for the SVAR.
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 8 guests