Skip to content
Prev 9607 / 15274 Next

Causal version of HP filter and Kernel Smoothing in R?

Some pedantic points regarding correct terminology:
On 12-02-24 06:00 PM, Brian G. Peterson wrote:
Economists usually employ the terms 'one sided' and 'two sided'. In 
engineering, physics, and mathematics, I think the terms 'filter' and 
'smoother' are still used. (But yes, 'causal' usually has to do with 
something else.)
Even in the classic case this is not specific to state-space models. The 
term filter meant it could be used to filter incoming signals without 
knowledge of the future, while a smoother needs future information. So, 
a filter could be used to do realtime control, while a smoother could not.
Engineers use the term 'realtime data' to mean what I think most people 
would understand as 'look at the data as it is arriving', which implies 
using a (one-sided) filter.  Economists use the term 'realtime data' to 
mean 'look at the data as it arrived'. That is, the vintages of the data 
that were available at different points in time. Thus a realtime 
analysis for an economist is a consideration of the revisions in the 
data. I think Marc Wildi uses the term as an economist, not as an engineer.

(I warned you this is pedantic.)
Paul