[SciPy-user] Hodrick-Prescott filter

Alan G Isaac aisaac at american.edu
Tue Oct 2 09:37:41 EDT 2007


On Mon, 1 Oct 2007, Alan G Isaac apparently wrote:
> I'm looking for a Hodrick-Prescott filter. 
> http://en.wikipedia.org/wiki/Hodrick-Prescott_filter#External_links 
> Is there one in SciPy, or can someone post one? 


Well, nobody replied to this yet, so here is a really basic
implementation: ``hpfilter`` in
http://econpy.googlecode.com/svn/trunk/pytrix/tseries.py
Suggestions welcome.

Cheers,
Alan Isaac






More information about the SciPy-User mailing list