Ekkehart Schlicht: Trend Extraction From Time Series With Structural Breaks

Similar documents
Ekkehart Schlicht: Trend Extraction From Time Series With Structural Breaks and Missing Observations

TREND EXTRACTION FROM TIME SERIES WITH STRUCTURAL BREAKS AND MISSING OBSERVATIONS

Ekkehart Schlicht: Estimating Time-Varying Coefficients With the VC Program

Andreas Blöchl: Trend Estimation with Penalized Splines as Mixed Models for Series with Structural Breaks

Regularization in Cox Frailty Models

Estimates of the Sticky-Information Phillips Curve for the USA with the General to Specific Method

Continuous Time Models to Extract a Signal in Presence of Irregular Surveys

How Can We Extract a Fundamental Trend from an Economic Time-Series?

Discussion Papers. Google Searches as a Means of Improving the Nowcasts of Key Macroeconomic Variables

SMOOTHIES: A Toolbox for the Exact Nonlinear and Non-Gaussian Kalman Smoother *

RIDGE REGRESSION REPRESENTATIONS OF THE GENERALIZED HODRICK-PRESCOTT FILTER

An Introduction to Statistical and Probabilistic Linear Models

Modelling geoadditive survival data

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Fin. Econometrics / 53

TREND ESTIMATION AND THE HODRICK-PRESCOTT FILTER

Introduction to Modern Time Series Analysis

Alternative Clustering, Multiview Clustering: What Can We Learn From Each Other?

Two-Stage Stochastic and Deterministic Optimization

Threshold effects in Okun s Law: a panel data analysis. Abstract

Measuring Concentration in Data with an Exogenous Order

Lecture 2. Business Cycle Measurement. Randall Romero Aguilar, PhD II Semestre 2017 Last updated: August 18, 2017

Univariate linear models

Macroeconomics Theory II

ECON 4160: Econometrics-Modelling and Systems Estimation Lecture 9: Multiple equation models II

Application of eigenvector-based spatial filtering approach to. a multinomial logit model for land use data

On the importance of the long-term seasonal component in day-ahead electricity price forecasting. Part II - Probabilistic forecasting

Introduction to Macroeconomics

Toutenburg, Fieger: Using diagnostic measures to detect non-mcar processes in linear regression models with missing covariates

Analysing geoadditive regression data: a mixed model approach

Probabilistic Graphical Models

ENGRG Introduction to GIS

Forecasting Regional Employment in Germany: A Review of Neural Network Approaches. Objectives:

Linear Models 1. Isfahan University of Technology Fall Semester, 2014

Searching for the Output Gap: Economic Variable or Statistical Illusion? Mark W. Longbrake* J. Huston McCulloch

A three-pole filter understanding of the average value of a Fourier series

Incentive Compatible Regression Learning

Time Series. Anthony Davison. c

APPLIED TIME SERIES ECONOMETRICS

A note on implementing the Durbin and Koopman simulation smoother

Switching Regime Estimation

Are Forecast Updates Progressive?

Statistical Analysis of fmrl Data

Variable Selection and Model Choice in Survival Models with Time-Varying Effects

Chapter 3: Regression Methods for Trends

State-space Model. Eduardo Rossi University of Pavia. November Rossi State-space Model Financial Econometrics / 49

STRUCTURAL TIME-SERIES MODELLING

3 Time Series Regression

peak half-hourly Tasmania

Mean squared error matrix comparison of least aquares and Stein-rule estimators for regression coefficients under non-normal disturbances

peak half-hourly New South Wales

MODELING OF TIME SERIES CYCLICAL COMPONENT ON A DEFINED SET OF STATIONARY POINTS AND ITS APPLICATION ON THE U.S. BUSINESS CYCLE

Business Cycle Estimation with High-Pass and Band-Pass Local Polynomial Regression

ECON/FIN 250: Forecasting in Finance and Economics: Section 3.2 Filtering Time Series

Linear Classification. CSE 6363 Machine Learning Vassilis Athitsos Computer Science and Engineering Department University of Texas at Arlington

Model-based trend-cycle decompositions. with time-varying parameters

1. The OLS Estimator. 1.1 Population model and notation

Nonsense Regressions due to Neglected Time-varying Means

ARIMA Modelling and Forecasting

In the bivariate regression model, the original parameterization is. Y i = β 1 + β 2 X2 + β 2 X2. + β 2 (X 2i X 2 ) + ε i (2)

Online Appendix: Misclassification Errors and the Underestimation of the U.S. Unemployment Rate

On Linear Quadratic Approximations

7. Integrated Processes

On the Correlations of Trend-Cycle Errors

Variable Selection and Weighting by Nearest Neighbor Ensembles

Macroeconomics II Dynamic macroeconomics Class 1: Introduction and rst models

GMM estimation of spatial panels

Analogy Principle. Asymptotic Theory Part II. James J. Heckman University of Chicago. Econ 312 This draft, April 5, 2006

Seasonal Unit Root Tests in a Time Series with A-priori Unknown Deterministic Components

A nonparametric test for seasonal unit roots

Elements of Multivariate Time Series Analysis

7. Integrated Processes

Estimating prediction error in mixed models

Mixing the Ingredients: Business cycles, Technology Shocks, Productivity Slowdown and the Great Moderation

PANEL DISCUSSION: THE ROLE OF POTENTIAL OUTPUT IN POLICYMAKING

On Enhanced Alternatives for the Hodrick-Prescott Filter

Condensed Table of Contents for Introduction to Stochastic Search and Optimization: Estimation, Simulation, and Control by J. C.

CENTRE FOR CENTRAL BANKING STUDIES

Nonlinear Characterization of Activity Dynamics in Online Collaboration Websites

On Consistency of Tests for Stationarity in Autoregressive and Moving Average Models of Different Orders

Regression, Ridge Regression, Lasso

Austrian Inflation Rate

Variable Selection and Model Choice in Structured Survival Models

Functional Hodrick-Prescott Filter

FORECASTING COARSE RICE PRICES IN BANGLADESH

A State Space Framework For Automatic Forecasting Using Exponential Smoothing Methods

A Variant of Uzawa's Theorem. Abstract

Econometric Reviews Publication details, including instructions for authors and subscription information:

The Hodrick-Prescott Filter with a Time-Varying Penalization Parameter. An Application for the Trend Estimation of Global Temperature.

Interaction effects for continuous predictors in regression modeling

Research Division Federal Reserve Bank of St. Louis Working Paper Series

Total No. of Questions : 10] [Total No. of Pages : 02. M.Sc. DEGREE EXAMINATION, DEC Second Year STATISTICS. Statistical Quality Control

Robust forecasting of non-stationary time series DEPARTMENT OF DECISION SCIENCES AND INFORMATION MANAGEMENT (KBI)

Mortenson Pissarides Model

Assimilation of MSG visible and near-infrared reflectivity in KENDA/COSMO

This is a repository copy of Estimating Quarterly GDP for the Interwar UK Economy: An Application to the Employment Function.

Option 1: Landmark Registration We can try to align specific points. The Registration Problem. Landmark registration. Time-Warping Functions

LASSO-Type Penalization in the Framework of Generalized Additive Models for Location, Scale and Shape

Introduction Linear system Nonlinear equation Interpolation

Inferring biological dynamics Iterated filtering (IF)

Simple Linear Regression Estimation and Properties

Transcription:

Ekkehart Schlicht: Trend Extraction From Time Series With Structural Breaks Munich Discussion Paper No. 2007-17 Department of Economics University of Munich Volkswirtschaftliche Fakultät Ludwig-Maximilians-Universität München Online at http://epub.ub.uni-muenchen.de/1926/

Trend Extraction From Time Series With Structural Breaks Ekkehart Schlicht Abstract: Trend extraction from time series is often performed by using the filter proposed by LESER 1961), also known as the Hodrick-Prescott filter. A practical problem arises, however, when the time series contains structural breaks such as produced by German unification for German time series, for instance). This note proposes a method for coping with this problem. Keywords: Trend extraction, structural break, Hodrick-Prescott filter, Leser filter, spline, time-series, smoothing, interpolation. Journal of Economic Literature Classification: C22, C32, C63, C14 1

1 Introduction Trend extraction from time series is often performed by using the filter proposed by LESER 1961), also known as the Hodrick-Prescott filter, or HP-Filter. A practical problem arises, however, when the time series contains structural breaks such as produced by German unification for German time series, for instance). This note proposes a method for coping with this problem. 2 The Leser Filter 1 The idea proposed by LESER 1961) for the case where all data are available is to look for a trend y R T such that deviation u = x y 1) is small and the trend is smooth. The size of the deviation is measured by the sum of squared residuals u u, and the smoothness of the trend is measured by the sum of squares of changes in the direction of the trend v v where the trend disturbances v R T 2 are defined as v t = y t y t 1 ) y t 1 y t 2 )) t = 3, 4,..., T or v = P y 2) with P := 1 2 1 0 1 2 1... 0 1 2 1 of order T 2) T. The decomposition of the original series x into trend y and and residual u is obtained by minimizing the weighted sum of squares V = u u + α v v = x y) x y) + α y P P y 3) 1 The formailization below follows SCHLICHT 1981). 2

with respect to y. This gives the first-order condition I T + α P P ) y = x. 4) As I + α P P ) is positive definite, the second order condition is satisfied in any case. Equation 4) has the unique solution y = I T + α P P ) 1 x 5) which defines the Leser-Filter. It associates a trend y with the time series x, depending on the smoothing parameter α. From 3) and 5) we obtain as the value of the criterion function 3). V = x I T I T + α P P ) 1) x 6) 3 Structural Breaks A practical problem arises when the time series contains structural breaks. Equation 5) interprets these wrongly as disturbances. The obvious way to generalize the filter in order to cope with this problem is to look for a smooth trend by introducing dummy variables to capture these effects, and to select these variables such that the criterion function 3) is minimized. This can be done as follows. Consider a time series x R T with m T 2 structural breaks. The break points are indicated by a vector m R T with components m t = 1 for all t {1, 2,...T } where a break point occurs, and m t = 0 otherwise. Denote the break points by t 1, t 2,.., t m. Define the T m)-matrix with elements b i,j = 0 for i < t j and b i,j = 1 for i t j. For T = 5 and break points at t 1 = 2 and t 2 = 4 we would have, for example B = 0 0 1 0 1 0 1 1 1 1. 3

Define further the vector of dummies dor the break points d R m, where d i gives the dummy for the i-th break point. The adjusted vector of observations is x = x + Bd. 7) It is a function of the values assumed for the dummies d. These values can now easily be determined by replacing x by x in 6), and minimizing this expression. Thus we obtain the positive definite quadratic form V = z + s B ) I T I T + α P P ) 1) z + Bd) 8) that is to be minimized with respect to s.the first-order conditions for a minimum is V s = 2B I T I T + α P P ) 1) z + Bs) = 0. 9) and the second-order condition is that B I T I T + α P P ) 1) B is positive definite. As I T + αp P ) 1 = I T αp P + αp P ) 2 αp P ) 3 +... we can write I T I T + α P P ) 1) = αp I T 2 + α P P ) 1 P. Hence I T I T + α P P ) 1) is non-negative definite of rank T 2 and B I T I T + α P P ) 1) B has full rank and is positive definite. Therefore equation 9) defines the unique maximizing choice of the dummy terms as d = B I T I T + α P P ) 1) ) 1 B B I T I T + α P P ) 1) z. 10) The replenished time series is obtained now by inserting 10) into 7). x = z + Bd and the trend is obtained by using the replenished series x instead of the original series x 4

12 10 8 original with break 12 10 8 original with break 6 6 4 2 corrected 4 2 corrected 10 20 30 40 50 a) 10 20 30 40 50 b) Figure 1: a) The original US unemployment rate 1959-2002 has been augmented by adding, beginning with period 25, two percentage points to the original series. The corrected series overcorrects the structural break in this case. b) The smoothed series reproduce this pattern. Smothing constant is α =100, data from the Bureau of Labor Statistics.) in 5): y = I T + α P P ) 1 z + Bs ). This gives the trend the time series, adjusted for structural breaks. 4 An Example 1 As an example, consider the time series of US unemployment Figure 1). Beginning with period 25, a structural break has been introduced by adding 2 percentage points to the original time series. The correction obtained by the method sketched above overcorrects this break by subtracting 4.2 percentage points. The corrected trend estimation is overcorrected as well. As can be seen, the correction produces a smoother trend than the original one, as is implied by the logic of the method. A manual correction would look not very much different, or would look even worse if the adjustment is made such that the adjacent data points 24 and 25 are made to have identical values. The correction would have been -4.8 rather than -4.2 in this case.) 1 All computations done with the package by LUDSTECK 2004). 5

5 Concluding Comments The example illustrates the functioning, as well as the problematic, of introducing dummies, as these will not only correct for structural breaks, but will also mask changes in the underlying trend. Yet there seems no better way available to do such corrections. If the Leser method is interpreted stochastically as in SCHLICHT 2005), a theoretical justification is that it can be interpreted as giving Maximum-Likelihood estimates for the dummies that capure structural breaks. References LESER, C. E. V. 1961, A Simple Method of Trend Construction, Journal of the Royal Statistical Society. Series B Methodological), 23, 91 107. LUDSTECK, J. 2004, HPFilter, Mathematica package, Wolfram Research, online at http: //library.wolfram.com/infocenter/mathsource/mathematics/probabilitystatistics/. SCHLICHT, E. 1981, A Seasonal Adjustment Principle and a Seasonal Adjustment Method Derived from This Principle, Journal of the American Statistical Association, 76374), 374 78, online at http://www.semverteilung.vwl.uni-muenchen.de/mitarbeiter/es/paper/ schlicht-seasonal_adjustment.pdf. 2005, Estimating the Smoothing Constant in the So-Called Hodrick-Prescott Filter, Journal of the Japan Statistical Society, 35, 1 19, online at http://www.scipress.org/journals/ jjss/pdf/3501/35010099.pdf. 6