One-sided HP filter beginning of the sample

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

One-sided HP filter beginning of the sample

Postby michall23full » Thu Jun 08, 2017 10:59 am

Hello,

1.I have applied one-sided HP filter to log GDP per capita series and it produced first two observations of cycle component at technically zero (1E-07). It seems rather strange at that period economy was characterized by high unemployment and low GDP growth and so next few observations are negative. So is it a good idea to drop first observations when using one-sided HP filter ?

2. I have only 56 observations, so mean of cyclical component after one-sided HP filtering is around -0.003. Is it proper to demean this series prior to using as observable in DSGE ?

Thanks for your reply.
michall23full
 
Posts: 12
Joined: Thu Jun 08, 2017 10:45 am

Re: One-sided HP filter beginning of the sample

Postby jpfeifer » Fri Jun 09, 2017 6:02 am

1. Any filter will introduce artifacts at the beginning/end of the sample. For a one-sided backward-looking filter, this will only happen at the beginning of the sample. For a two-sided filter, it will happen at the end as well. You could drop the first observations, but I am not sure that would solve the problem, because generally the Kalman filter is applied with the initial state being the steady state, i.e. 0.
2. A small mean like that is nothing to worry about. It simply tells you that over the sample the shocks tended to have an on average negative effect.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: One-sided HP filter beginning of the sample

Postby michall23full » Fri Jun 09, 2017 8:31 am

Thank you for your advice. Best wishes !
michall23full
 
Posts: 12
Joined: Thu Jun 08, 2017 10:45 am


Return to Dynare help

Who is online

Users browsing this forum: Google [Bot] and 12 guests