Main Content

Hodrick-Prescott Filter

The Hodrick-Prescott (HP) filter is a specialized filter for trend and business cycle estimation (no seasonal component). Suppose a time seriesytcan be additively decomposed into a trend and business cycle component. Denote the trend componentgtand the cycle componentct. Then y t = g t + c t .

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 = y t g ^ t .

hpfilter返回估计趋势和周期分量of a time series.

See Also

Related Examples

More About