Page 1 of 1
Applying BP filter in DSGE Model
Posted:
Fri Apr 08, 2016 1:07 pm
by Eriador
Hi,
I am trying to apply a Band pass filter in my RBC DSGE model. I have had a look at the codes and cannot find them anywhere.
If anyone can find or help me with finding or creating the code would be very helpful.
Thank you in advance.
E
Re: Applying BP filter in DSGE Model
Posted:
Sun Apr 17, 2016 4:43 pm
by jpfeifer
Re: Applying BP filter in DSGE Model
Posted:
Tue Aug 16, 2016 5:05 pm
by Eriador
Thank you for your response.
I have found a way to convert the data beforehand and then use that in estimating parameters for the NK model.
Re: Applying BP filter in DSGE Model
Posted:
Tue Aug 16, 2016 5:15 pm
by jpfeifer
Please be aware of the pitfalls of filtering when doing Bayesian estimation. See Pfeifer(2013): "A Guide to Specifying Observation Equations for the Estimation of DSGE Models"
https://sites.google.com/site/pfeiferecon/Pfeifer_2013_Observation_Equations.pdf.
Re: Applying BP filter in DSGE Model
Posted:
Tue Aug 16, 2016 7:24 pm
by Eriador
Thank you for the prompting me. I have had a look through your guide. I am using Smet wouters 2007 data and the codes are all there for me to use on the NK model estimation. I will be using Bayesian estimation, if you can elaborate more on some of the problems so I can research it.
Re: Applying BP filter in DSGE Model
Posted:
Wed Aug 17, 2016 6:37 am
by jpfeifer
When doing Bayesian estimation, you should use a first difference filter or linear trend, not a two-sided filter like a bandpass or two-sided HP filter
Re: Applying BP filter in DSGE Model
Posted:
Wed Aug 17, 2016 10:34 am
by Eriador
Thank you for your help. I will include this in my analysis.