Found Solution to grouping large number of shocks

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.

Found Solution to grouping large number of shocks

Postby sujee2sujee » Thu Feb 05, 2015 4:46 pm

Hi All,

I have seen that many members were looking for a way to group large number of shocks into a small categories to make their historical decomposition and forecast error variance decomposition graphs sensible ( including me)

I think I found a way. The attached file has the codes that helps to deal with this problem. I am very new to Matlab and Dynare. The code is very simple but does the job. But, the graphs should be produced in excel after copying relevant data. All details are given in the file.This is tailor made. So, if someone wants to use this code they have to adjust it to suit to their work. The excel template plots the graphs. This is only for historical decomposition. But, this can be easily extended for forecast error variance decomposition.

Any comment or correction is welcome. I still haven't used in my paper.

Thanks.

Sujeetha
Attachments
template_shock_decomposition.m
(3.22 KiB) Downloaded 192 times
sujee2sujee
 
Posts: 15
Joined: Sun Nov 24, 2013 2:07 am

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 6 guests