Skip to content
Discussion options

You must be logged in to vote

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

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@trcrztw
Comment options

@tosapola
Comment options

@trcrztw
Comment options

Answer selected by trcrztw
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@trcrztw
Comment options

@tosapola
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants