ArticleslgStudy

science

Hodrick–Prescott filter

Hodrick–Prescott filter is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Hodrick–Prescott filter rather than just read about it. In short: The Hodrick–Prescott filter (also known as Hodrick–Prescott decomposition) is a mathematical tool used in macroeconomics, especially in real business cycle theory, to remove the cyclical component of a time series from raw data. It is used to obtain a smoothed-curve representation of a time series, one that is more sensitive to long-term than to short-term fluctuations.

Key takeaways

  • Hodrick–Prescott filter belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Hodrick–Prescott filter to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Hodrick–Prescott filter from memory before moving on to harder problems.

Reference excerpt

The Hodrick–Prescott filter (also known as Hodrick–Prescott decomposition) is a mathematical tool used in macroeconomics, especially in real business cycle theory, to remove the cyclical component of a time series from raw data. It is used to obtain a smoothed-curve representation of a time series, one that is more sensitive to long-term than to short-term fluctuations. The adjustment of the sensitivity of the trend to short-term fluctuations is achieved by modifying a multiplier λ {\displaystyle \lambda } . The filter was popularized in the field of economics in the 1990s by economists Robert J. Hodrick and Nobel Memorial Prize winner Edward C. Prescott, though it was first proposed much earlier by E. T. Whittaker in 1923., see Whittaker-Henderson smoothing. The Hodrick–Prescott filter is a special case of a smoothing spline.

The equation The reasoning for the methodology uses ideas related to the decomposition of time series. Let y t {\displaystyle y_{t}\,} for t = 1 , 2 , . . . , T {\displaystyle t=1,2,...,T\,} denote the logarithms of a time series variable. The series y t {\displaystyle y_{t}\,} is made up of a trend component τ t {\displaystyle \tau _{t}} and a cyclical component c t {\displaystyle c_{t}} such that y t = τ t + c t {\displaystyle y_{t}\ =\tau _{t}\ +c_{t}\,} . Given an adequately chosen, positive value of λ {\displaystyle \lambda } , there is a trend component that will solve

min τ ( ∑ t = 1 T ( y t − τ t ) 2 + λ ∑ t = 2 T − 1 [ ( τ t + 1 − τ t ) − ( τ t − τ t − 1 ) ] 2 ) . {\displaystyle \min _{\tau }\left(\sum _{t=1}^{T}{(y_{t}-\tau _{t})^{2}}+\lambda \sum _{t=2}^{T-1}{[(\tau _{t+1}-\tau _{t})-(\tau _{t}-\tau _{t-1})]^{2}}\right).\,}

The first term of the equation is the sum of the squared deviations d t = y t − τ t {\displaystyle d_{t}=y_{t}-\tau _{t}} , which penalizes the cyclical component. The second term is a multiple λ {\displaystyle \lambda } of the sum of the squares of the trend component's second differences. This second term penalizes variations in the growth rate of the trend component. The larger the value of λ {\displaystyle \lambda } , the higher is the penalty. Hodrick and Prescott suggest 1600 as a value for λ {\displaystyle \lambda } for quarterly data. Ravn and Uhlig (2002) state that λ {\displaystyle \lambda } should vary by the fourth power of the frequency observation ratio; thus, λ {\displaystyle \lambda } should equal 6.25 (1600/4^4) for annual data and 129,600 (1600*3^4) for monthly data; in practice, λ = 100 {\displaystyle \lambda =100} for yearly data and λ = 14 , 400 {\displaystyle \lambda =14,400} for monthly data are commonly used, however. The Hodrick–Prescott filter is explicitly given by

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Hodrick–Prescott filter

Start with the simplest possible case. Write down what Hodrick–Prescott filter claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Hodrick–Prescott filter before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Hodrick–Prescott filter ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Hodrick–Prescott filter

In research
Hodrick–Prescott filter appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Hodrick–Prescott filter in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Hodrick–Prescott filter is common in secondary-school and first-year university syllabi. It links to neighbouring topics Time series, so understanding it makes those chapters shorter.
In everyday life
Look for Hodrick–Prescott filter outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Hodrick–Prescott filter” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Hodrick–Prescott filter in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Hodrick–Prescott filter means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Hodrick–Prescott filter out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Hodrick–Prescott filter in simple terms?

The Hodrick–Prescott filter (also known as Hodrick–Prescott decomposition) is a mathematical tool used in macroeconomics, especially in real business cycle theory, to remove the cyclical component of a time series from raw data. It is used to obtain a smoothed-curve representation of a time series…

Why does Hodrick–Prescott filter matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Hodrick–Prescott filter?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Hodrick–Prescott filter.

Tags

  • Time series

Keep exploring