-
Hi, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi, You mean you don't feel so good with the potential GDP (say, ybar) from Kalman filter and want to lower it a bit for 2020Q2 which is in the past? Make an additional measurement to the model as follow: Before filtering, put the value you want to tune (the exact level of ybar, not the shock) in ybar_ above, for example: And for the sake of smoothness, you may need to tune some more points around 2020Q2 too. Best, |
Beta Was this translation helpful? Give feedback.
-
I second Tos's suggestion. One detail though - if the process for potential GDP is highly persistent, then imposing one tune on the level at a particular time will quite likely generate a smooth path before and after - which I guess is not what the OP wanted. My guess is that the tune is supposed to create an abrupt break. In that case, you also need, for instance, impose another tune for the period immediately before 2020Q2. Best |
Beta Was this translation helpful? Give feedback.
-
Oh, I see. A sudden loss in potential output due to Covid19 - that's what I did to my model too. |
Beta Was this translation helpful? Give feedback.
Hi,
You mean you don't feel so good with the potential GDP (say, ybar) from Kalman filter and want to lower it a bit for 2020Q2 which is in the past?
Make an additional measurement to the model as follow:
ybar_ = ybar;
and in your database, make another empty time series ybar_.
Before filtering, put the value you want to tune (the exact level of ybar, not the shock) in ybar_ above, for example:
ybar_(qq(2020,2)) = 1456;
and then apply Kalman filter, your ybar in 2020Q2 will be fixed at 1456.
And for the sake of smoothness, you may need to tune some more points around 2020Q2 too.
Best,
Tos