Abstract: | This article develops a new method for detrending time series. It is shown how, in a Bayesian framework, a generalized version of the Hodrick–Prescott filter is obtained by specifying prior densities on the signal‐to‐noise ratio (q) in the underlying unobserved components model. This helps ensure an appropriate degree of smoothness in the estimated trend while allowing for uncertainty in q. The article discusses the important issue of prior elicitation for time series recorded at different frequencies. By combining prior expectations with the likelihood, the Bayesian approach permits detrending in a way that is more consistent with the properties of the series. The method is illustrated with some quarterly and annual US macroeconomic series. Copyright © 2006 John Wiley & Sons, Ltd. |