a comparison of automatic model selection procedures for seasonal adjustment cathy jones

37
A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Upload: winfred-bryant

Post on 19-Jan-2016

220 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

A comparison of automatic model selection procedures for seasonal adjustment

Cathy Jones

Page 2: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Motivation

• Automatic forecasting procedures are required for seasonal adjustment of official statistics time series

• Current seasonal adjustment software offers two automatic procedures

• Aim of this work is to compare the performance of these procedures in the context of seasonal adjustment

Page 3: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Overview

• Time series background• What is seasonal adjustment?• X-13ARIMA-SEATS• ARIMA models• Forecasting• Methods for automatic model selection• Results• Future work

Page 4: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Time Series Background

Data source: ONS

Page 5: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Seasonal Adjustment

• What is seasonal adjustment?“process of removing from a time series variations

associated with the time of year and/or the arrangement of the calendar”

• Why seasonally adjust?• primary interest of users is movements in time

series• removes predictable variation from time series in

order to aid interpretation

Page 6: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Seasonal Adjustment

Data source: ONS

Page 7: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

X-13ARIMA-SEATS

• Chosen as the seasonal adjustment software for use in official statistics (agreed by the Statistical Policy and Standards Committee in 2012)

• Produced by US Census Bureau• RegARIMA modelling used to ‘clean’ series• Can seasonally adjust with X-11 algorithm or

SEATS

Page 8: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

RegARIMA models

• Time series regression models with ARIMA errors used to deal with autocorrelation

• Used to forecast/backcast • reduces revisions to seasonally adjusted series

caused by asymmetric moving averages used in the X-11 method

• also used to forecast some components of National Accounts

• ‘Cleans’ the time series• estimation and removal of outliers, level shifts etc

Page 9: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

End point problem

Data source: ONS

Page 10: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Forecasting

Data source: ONS

Page 11: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Why selecting a good model is important

• Forecasts needed to deal with end point problem (asymmetric averages give an implied forecast)

• Good forecasts minimise revisions to the seasonally adjusted estimates

• Selection and estimation of regressors

Page 12: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Why is automatic model selection needed?

• ONS seasonally adjust thousands of time series -last year TSAB reviewed over 13,500 series

• Manual selection of ARIMA models is very time consuming- we’d never get through them all

Page 13: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Automatic model selection

• X-13ARIMA-SEATS provides two automatic model selection routinesPickmdl

Automdl

• Pickmdl was used in older versions of the software (from X-11-ARIMA onwards)

• Automdl is based on routine from TRAMO (available from X-12-ARIMA onwards)

Page 14: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Pickmdl

• Chooses the first model in the following list that satisfies a number of tests

(0,1,1)(0,1,1)s

(0,1,2)(0,1,1)s

(2,1,0)(0,1,1)s

(0,2,2)(0,1,1)s

(2,1,2)(0,1,1)s

• The tests are:• testing that the average absolute percent error of

forecasted values are within certain limits• test that the residuals are not correlated• no sign of over differencing

Page 15: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Automdl

• fits a (0,1,1)(0,1,1)s model

• identification of differencing orders by empirical unit root tests

• iterative procedure to determine ARMA model orders (maximum orders are set by default and can be changed)

• identified model is compared to default• final model checks

Page 16: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Data

• Monthly GDP• 176 monthly series• 40 quarterly series

• Data spans from January 1995 to

October 2014• Automatic detection of calendar effects and

outliers• Removed series that included seasonal

breaks

Page 17: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Results

• Stability• Forecast errors• Forecast differences• Differences in seasonal adjustment estimates

Page 18: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Stability of model selected

5 Years

7 years

9 years

11 years

Full series

.

.

.

.

.

.

.

.

.

.

.

.

Page 19: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Stability of model selected

5 Years

7 years

9 years

11 years

Full series

.

.

.

.

.

.

.

.

.

.

.

.

Page 20: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Stability of model selected

5 Years

7 years

9 years

11 years

Full series

.

.

.

.

.

.

.

.

.

.

.

.

Page 21: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Stability of the model selected

Page 22: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Forecasts

Data source: ONS

Page 23: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Average absolute percentage error in within-sample forecast values

Page 24: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Average absolute percentage error in within-sample forecast values

Automdl lower 30% of the timePickmdl lower 28% of the timeSame 42% of the time

On average, automdl's error is roughly 8% lower than pickmdl's

Page 25: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Average absolute percentage error in within-sample forecast values

Last three years

Page 26: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Average absolute percentage error in within-sample forecast values

Last three years

Automdl lower 35% of the timePickmdl lower 23% of the timeSame 42% of the time

On average, automdl's error is roughly 7% lower than pickmdl's

Page 27: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Forecast results

                 

F = Failures (%)AFD = Average Absolute Forecast Difference (%)BFP = Best Forecast Performance (%)LMV = Lowest Model Variance (%)

Monthly

Automdl Pickmdl

F 0 27.6

AFD 11.54 11.54

BFP 47 53

LMV 61 36

Quarterly

Automdl Pickmdl

F 0 5

AFD 10.21 12.07

BFP 58 42

LMV 68 32

Page 28: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Seasonal adjustment estimates

Data source: ONS

Page 29: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Seasonal adjustment estimates

• Pickmdl produced better adjustment in 6% of cases

• Automdl was better in 33% of cases

• 41% were exactly the same

• 20% showed very little difference

Data source: ONS

Page 30: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Revision analysis

Span 1

Span 2

Span 3

Span 4

Span 5

Page 31: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Revision analysis

Span 1

Span 2

Span 3

Span 4

Span 5

Page 32: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Revision analysis

Span 1

Span 2

Span 3

Span 4

Span 5

Page 33: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Revision analysis

Span 1

Span 2

Span 3

Span 4

Span 5

Page 34: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Seasonal adjustment revisions

Page 35: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Conclusions

• Pickmdl performs better when considering model stability

• Automdl has a lower average absolute percentage error in within-sample forecast values

• Out-of-sample forecasts performance:• Pickmdl appears slightly better for monthly series • Automdl appears much better for quarterly series

• Little difference in seasonal adjustment revisions between methods

Page 36: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Future work

• SEATS• Series with differing volatility• Simulated series• How different model selection impacts on

regressor identification and estimation• Errors on shorter spans• Sliding spans stability• Using current regressors

Page 37: A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones

Thanks for listening!