Some questions regarding OSR
Posted: Mon May 09, 2016 12:21 pm
Dear professor, I have some questions regarding OSR. Actually, I write a linear model and input it to the dynare file. After basic analysis, I want to find the best policy which aims at minimizing the welfare loss function:welfare= r*var(pi)+(1-r)*var(y). I see the Dynare reference manual and use the osr command like:
And I got some figures which is listed in the attachment. But I am confused about the figures and get some questions:
1:the first two figures are the stoch_simul figures and the last two are the osr figures, what's the difference between them?
2:I set the osr_parameter gammaq, but how can I get the best value of gammq.
3:I even don't know if I should use the OSR command. Actually I just want to get the value of welfare loss and compare the welfare loss caused when gammaq=0 and that caused when gammaq>0, but I know little about welfare loss function, is that caused by some single shock and how can I set the size of the shock? (In my model , there are six exogenous shocks including interest rates shocks). So could you please help me with these problems?
- Code: Select all
stoch_simul(linear,irf=20,periods=250) Y pi;
optim_weights;
pi 0.5;
Y 0.5;
end;
osr_params gammaq;
osr Y pi;
And I got some figures which is listed in the attachment. But I am confused about the figures and get some questions:
1:the first two figures are the stoch_simul figures and the last two are the osr figures, what's the difference between them?
2:I set the osr_parameter gammaq, but how can I get the best value of gammq.
3:I even don't know if I should use the OSR command. Actually I just want to get the value of welfare loss and compare the welfare loss caused when gammaq=0 and that caused when gammaq>0, but I know little about welfare loss function, is that caused by some single shock and how can I set the size of the shock? (In my model , there are six exogenous shocks including interest rates shocks). So could you please help me with these problems?