Methods · Time series · Smoothing & decomposition

Hodrick-Prescott Filter

The Hodrick-Prescott filter separates a series into a smooth trend and a cyclical component by minimising squared deviations from the trend plus λ times squared second differences of the trend.

Hodrick-Prescott 필터는 추세와의 제곱 편차와 추세 2계 차분의 제곱에 λ를 곱한 값의 합을 최소화해 시계열을 매끄러운 추세와 순환 성분으로 나누는 방법이다.

How can I extract the business-cycle component of quarterly GDP?

분기 GDP에서 경기순환 성분만 뽑아내려면 어떻게 하나요?

The filter chooses the trend that balances closeness to the data against smoothness, with λ controlling the trade-off. Conventional values are 1600 for quarterly, 129600 for monthly and 6.25 for annual data.

When to use Hodrick-Prescott Filter

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

The series was decomposed with a Hodrick-Prescott filter (λ = [value]); the cyclical component had SD = [value].

Related methods

Run Hodrick-Prescott Filter on Quorant

Data you need
a table (CSV or Excel) with a time variable and an outcome variable
Price
250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
Checking
Checked by property tests in every deployment
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q53025 · Reviewed 2026-10-25