hello, every body. i have a question.
suppose the dynare code is as follows:
var xxxxx;
varexo xxxxxxx ;
parameters xxxxxx;
model(linear);
y = xxxxx
……
end;
steady;
check;
shocks;
var …..
end;
estimated_params;
xxxx, normal_pdf, 0.03, 0.01;
…..
stderr epsilon_r, inv_gamma_pdf, 0.01, inf;
….
end;
varobs y pi;
stoch_simul(irf=40, periods=600) y pi r;
estimation(datafile=data, prefilter=1, first_obs=1, mh_drop=0.45, mode_compute=4, mode_check, mh_replic=20000);
my question is , how to add a command to let the dynare do variance decomposition? i mean both the command and where to put it.