model with trend AND one sided HP filtered data

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.

model with trend AND one sided HP filtered data

Postby ZBCPA » Mon Mar 14, 2016 5:02 am

Dear Johannes,

As your said in your book, generally, models with explicitly specified trend use data in first differences.

But if I use one sided hp filtered data , how should I specify the measurement equation for the model with trend?

Here, y_obs is the filtered log (GDP per capita), y is the log-linearized model output after detrend

Would the measurement equation be like this? (h not detrended)
Code: Select all
y_obs=y;
c_obs=c;
I_obs=i;
h_obs=h;


Many thanks,
Huan
ZBCPA
 
Posts: 101
Joined: Sat May 16, 2015 4:15 am

Re: model with trend AND one sided HP filtered data

Postby jpfeifer » Tue Mar 15, 2016 8:10 am

As both the data and the model variables are percentage deviations from trend, this looks correct. But I find it unusual to not use the model-implied trend for the data as well.
------------
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: model with trend AND one sided HP filtered data

Postby zhongsum » Tue Jun 07, 2016 8:21 am

jpfeifer wrote:As both the data and the model variables are percentage deviations from trend, this looks correct. But I find it unusual to not use the model-implied trend for the data as well.


Dear Johannes,
i also wonder that if it is correct to use hp filtered data to estimate a model with deterministic trend.
because if i estimate the model with first difference filtered data, the second moment from the model are huge different from the data moment. and when i use hp filtered data it works well.

or is it means that my model with deterministic trend can not fit the data, and i should build a model without deterministic trend ?

thanks!
zhongsum
 
Posts: 6
Joined: Thu Dec 25, 2014 3:46 am

Re: model with trend AND one sided HP filtered data

Postby jpfeifer » Wed Jun 08, 2016 5:10 pm

I am not sure I am following. If your model estimated on first differences provides different moments for the first differences than in the data, there must be mistake in the observation equations, potentially an issue with the mean growth rate (as the HP-filter demeans the data)
------------
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


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 10 guests