Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re:Re: st: Filtering methods with short time series

From   Christopher Baum <[email protected]>
To   <[email protected]>
Subject   re:Re: st: Filtering methods with short time series
Date   Mon, 31 Jan 2011 19:49:37 -0500

Jorge said

Try to avoid -cfitzrw-, I have compared the output from
implementations of the Christiano Fritzgerald filter in other software
to the Stata output and they are different. I already contacted the
authors about this, but I haven't received any response.

Jorge raised this issue with me a couple of weeks ago. The Stata -cfitzrw- routine is, I believe, a faithful translation of a MATLAB
routine on the web. He also contacted the author of the MATLAB routine, but I guess he has not responded to the enquiry.

Jorge pointed to differences between the Stata results and results obtained from a R implementation and a Excel implementation.
The R implementation, as far as I can see, does not contain readable source code. I can run the routine, but I cannot analyze its
workings to determine what it may be doing differently than -cfitzrw-. The Excel routine has code that I can read, but cannot execute.
I will try to figure out what the differences may be based on that latter routine, but without the ability to run it (or the ability to view
the source code of the R routine) it is rather difficult to debug what flaws might exist in the logic of -cfitzrw-.


Kit Baum   |   Boston College Economics & DIW Berlin   |
                              An Introduction to Stata Programming  |
   An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index