Common Shocks and something else
Posted: Thu Feb 19, 2015 7:39 pm
Hi there,
I have a question concerning the 'shocks' block. That is, I have the following dynamics:
in the model part. I also have the values for the sigmas, which I declared in the parameters block
And: e_a and e_x are correlated: rho_a,x = 0.3
My questions:
1) How do I proceed in the shock part if I have the sigmas?
a) Do I just write
b) And if I do so, do I have to omit the sigma-terms in the dynamics? e.g. omit 'sigma_a*e_a(+1)' in da(+1)?
Or how do I do it?
2)My suggestion is probably partly wrong since - as one can see - v and x(+1) share a common shock, i.e. e_x.
Is it possible to maybe do it like this?
Would be really great if someone could help me.
I would highly appreciate it.
Best,
Stefan
I have a question concerning the 'shocks' block. That is, I have the following dynamics:
- Code: Select all
da(+1) = mu + x + zeta*w + exp(v)*sigma_a*e_a(+1);
x(+1) = rho_x* x + exp(v)*sigma_x*e_x(+1);
v = rho_v*v(-1) - sigma_v*e_x;
dw(+1) = mu + (rho_w - 1) * (w - a) + kappa*x + sigma_w*e_w(+1);
in the model part. I also have the values for the sigmas, which I declared in the parameters block
- Code: Select all
sigma_a = 0.0052;
sigma_v = 0.01;
sigma_w = 0.024;
sigma_x = 0.00052
And: e_a and e_x are correlated: rho_a,x = 0.3
My questions:
1) How do I proceed in the shock part if I have the sigmas?
a) Do I just write
- Code: Select all
var e_a = sigma_a^2; // Volatility of Short Run Shocks
var e_x = sigma_x^2; // Volatility of Long Run Shocks
corr e_a, e_x = 0.3; // Correlation of Short and Long Run Shocks
var e_w = sigma_w^2; // Volatility of Oil Supply;
b) And if I do so, do I have to omit the sigma-terms in the dynamics? e.g. omit 'sigma_a*e_a(+1)' in da(+1)?
Or how do I do it?
2)My suggestion is probably partly wrong since - as one can see - v and x(+1) share a common shock, i.e. e_x.
Is it possible to maybe do it like this?
- Code: Select all
var e_a(+1) = sigma_a^2;
var e_x(+1) = sigma_x^2;
corr e_a(+1), e_x(+1) = 0.3;
var e_x = sigma_v^2;
var e_w(+1) = sigma_w^2;
Would be really great if someone could help me.
I would highly appreciate it.
Best,
Stefan