<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>[R] Code for Hodrick-Prescott Filter</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>Has anyone written any code for the Hodrick-Prescott filter?&nbsp; I have a some uncompiled FORTRAN code from Ed Prescott but I'd like to save myself some programming time if possible.&nbsp; Thanks for your help.</FONT></P>

<P><FONT SIZE=2>&nbsp;</FONT>
<BR><FONT SIZE=2>Nick Davis</FONT>
<BR><FONT SIZE=2>Crown Financial Policy</FONT>
<BR><FONT SIZE=2>Asset and Liability Management Branch</FONT>
<BR><FONT SIZE=2>The New Zealand Treasury</FONT>
</P>

<P><FONT SIZE=2>Direct:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +64-4-471-5924</FONT>
<BR><FONT SIZE=2>Fax:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +64-4-499-0143</FONT>
<BR><FONT SIZE=2>Email:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <A HREF="mailto:nick.davis@treasury.govt.nz">mailto:nick.davis@treasury.govt.nz</A> </FONT>
<BR><FONT SIZE=2>Web:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www.treasury.govt.nz</FONT>
<BR><FONT SIZE=2>Research:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; www.treasury.govt.nz/workingpapers</FONT>
</P>
<BR>

<P><FONT SIZE=2>Caution: The content of this email is the property of The New Zealand Treasury. If you have received this message in error please notify the sender immediately and delete.&nbsp; The content of this email does not necessarily reflect the views of The New Zealand Treasury.&nbsp; If the recipient has any concerns about the content of this email they should seek alternative confirmation from The New Zealand Treasury.</FONT></P>

</BODY>
</HTML>