simult_ with order=2 causes a problem.
Posted: Thu Mar 23, 2017 12:38 am
Dear all,
I'd like to ask how to use simult_ command.
The following code is how I usually conduct a simulation using simult_ command (with order=2)
My question is, even though I let all the innovations be zero (as you can see from the code), the simulated values are not constant at their steady state level. They were when the order =1, but not when order =2.
It seems to me that "oo_.dr.ghs2" term deviates an endogenous variable from its steady state level (without any shock) and begins some dynamics.
Do I understand correctly? Even if it is right, It just seems weird to me that variables move away from their steady state even when there are no shocks.
Best,
Leo
I'd like to ask how to use simult_ command.
The following code is how I usually conduct a simulation using simult_ command (with order=2)
- Code: Select all
ee = randn(1000,5); stdev = M_.params(29:33);
ex = ee * diag(stdev) *0; dr=oo_.dr; iorder=2; y0=oo_.dr.ys;
y_=simult_(y0, dr, ex_, iorder);
My question is, even though I let all the innovations be zero (as you can see from the code), the simulated values are not constant at their steady state level. They were when the order =1, but not when order =2.
It seems to me that "oo_.dr.ghs2" term deviates an endogenous variable from its steady state level (without any shock) and begins some dynamics.
Do I understand correctly? Even if it is right, It just seems weird to me that variables move away from their steady state even when there are no shocks.
Best,
Leo