This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Hodrick-Prescott Filter

The Hodrick-Prescott (HP) filter is a specialized filter for trend and business cycle estimation (no seasonal component). Suppose a time series yt can be additively decomposed into a trend and business cycle component. Denote the trend component gt and the cycle component ct. Then yt=gt+ct.

The HP filter finds a trend estimate, g^t, by solving a penalized optimization problem. The smoothness of the trend estimate depends on the choice of penalty parameter. The cycle component, which is often of interest to business cycle analysts, is estimated as c^t=ytg^t.

hpfilter returns the estimated trend and cycle components of a time series.

See Also

Related Examples

More About