Question about correlated shocks
Posted: Mon Mar 05, 2012 11:20 am
Hello, I have a question about setting up correlation between shocks.
Based on the posts that I found so far, I know that there are two ways of setting up correlation between shocks. The first way is to include the commands in .mod as below,
shocks;
var eps_1; stderr STD_1;
var eps_2; stderr STD_2;
var eps_1, eps_2 = CORR_12*STD_1*STD_2;
end;
The second way is to imposing a common factor representation of the shocks in the model block. Based on
viewtopic.php?f=1&t=1135&p=1821&hilit=correlated+shocks, I can set,
u1 = eps_corr + eps_1;
u2 = CORR_12*eps_corr + eps_2
where u1 and u2 are endo. variables and eps_corr, eps_1 and eps_2 are exogenous variable.
However, I just want to know how to set up the correlation using the second way such that I have "equivalent" setup as using the first way to set up. In this case, how should I set standard deviation of eps_1, eps_2 and eps_corr?
Thanks for your kind attention...
Based on the posts that I found so far, I know that there are two ways of setting up correlation between shocks. The first way is to include the commands in .mod as below,
shocks;
var eps_1; stderr STD_1;
var eps_2; stderr STD_2;
var eps_1, eps_2 = CORR_12*STD_1*STD_2;
end;
The second way is to imposing a common factor representation of the shocks in the model block. Based on
viewtopic.php?f=1&t=1135&p=1821&hilit=correlated+shocks, I can set,
u1 = eps_corr + eps_1;
u2 = CORR_12*eps_corr + eps_2
where u1 and u2 are endo. variables and eps_corr, eps_1 and eps_2 are exogenous variable.
However, I just want to know how to set up the correlation using the second way such that I have "equivalent" setup as using the first way to set up. In this case, how should I set standard deviation of eps_1, eps_2 and eps_corr?
Thanks for your kind attention...