1 Departamento de Contas Nacionais / Serviço de Indicadores de Curto Prazo National Accounts Department / Short Term Statistics Unit Using Demetra+

Slides:



Advertisements
Similar presentations
Cointegration and Error Correction Models
Advertisements

United Nations Statistics Division/DESA
Exercise 7.5 (p. 343) Consider the hotel occupancy data in Table 6.4 of Chapter 6 (p. 297)
Seasonal Adjustment of National Index Data at International Level
Performance of Seasonal Adjustment Procedures Philip Hans Franses, Richard Paap, and Dennis Fok Econometric Institute Erasmus University Rotterdam.
Internal documentation and user documentation
Time Series Analysis Autocorrelation Naive & Simple Averaging
Chapter 12 - Forecasting Forecasting is important in the business decision-making process in which a current choice or decision has future implications:
Chapter 5 Time Series Analysis
(ons) Seasonal Adjustment in Official Statistics Claudia Annoni Office for National Statistics.
United Nations Statistics Division Seasonal adjustment Training Workshop on the Compilation of Quarterly National Accounts for Economic Cooperation Organization.
X-12 ARIMA Eurostat, Luxembourg Seasonal Adjustment.
OECD Short-Term Economic Statistics Working PartyJune Analysis of revisions for short-term economic statistics Richard McKenzie OECD OECD Short.
Seasonal Adjustment Methods and Country Practices Based on the: Hungarian Central Statistical Office: Seasonal Adjustment Methods and Practices; UNECE.
Impact of calendar effects Anu Peltola Economic Statistics Section, UNECE UNECE Workshop on Seasonal Adjustment 20 – 23 February 2012, Ankara, Turkey.
Components of Time Series, Seasonality and Pre-conditions for Seasonal Adjustment Anu Peltola Economic Statistics Section, UNECE UNECE Workshop on Short-Term.
Time-Series Analysis and Forecasting – Part V To read at home.
J. Khélif Insee July 2008 A quality report for seasonally and trading day adjusted French IIP.
Demetra+ Quick Tour Versatile software. Choose the right tool Demetra+ main feature: multi-processing Demetra+ in production. Understanding.
13-Jul-07 European Statistical System guidelines on seasonal adjustment: a major step towards PEEIs harmonisation C. Calizzani – G.L. Mazzi – R. Ruggeri.
Eurostat Seasonal Adjustment. Topics Motivation and theoretical background (Øyvind Langsrud) Seasonal adjustment step-by-step (László Sajtos) (A few)
The next step in performance monitoring – Stochastic monitoring (and reserving!) NZ Actuarial Conference November 2010.
04/05/2011 Seasonal Adjustment and DEMETRA+ ESTP course EUROSTAT 3 – 5 May 2011 Dario Buono and Enrico Infante Unit B2 – Research and Methodology © 2011.
USING DEMETRA+ IN DAILY WORK SAUG – Luxembourg, 16 October 2012 Enrico INFANTE, Eurostat Unit B1: Quality, Methodology and Research.
United Nations Economic Commission for Europe Statistical Division Seasonal Adjustment Process with Demetra+ Anu Peltola Economic Statistics Section, UNECE.
04/05/2011 Seasonal Adjustment and DEMETRA+ ESTP course EUROSTAT 3 – 5 May 2011 Dario Buono and Enrico Infante Unit B2 – Research and Methodology © 2011.
Overview of Main Quality Diagnostics Anu Peltola Economic Statistics Section, UNECE UNECE Workshop on Seasonal Adjustment 20 – 23 February 2012, Ankara,
Ketty Attal-Toubert and Stéphanie Himpens Insee, France 16th of November, 2011 ESTP course Demetra+ Demetra+ for X12 in Daily Work.
Time series Model assessment. Tourist arrivals to NZ Period is quarterly.
* The views expressed are the personal opinion of the author and do not necessarily reflect the official position of the Deutsche Bundesbank 1 ESS Guidelines.
Anu Peltola Economic Statistics Section, UNECE
1 DATA PRESENTATION AND SEASONAL ADJUSTMENT - DATA AND METADATA PRESENTATION TERMINOLOGY - DATA PRESENTATION AND SEASONAL ADJUSTMENT - DATA AND METADATA.
Ketty Attal-Toubert and Stéphanie Himpens Insee 22nd of June, 2011 An Overview of seasonal adjustment in the short term statistic department.
Testing seasonal adjustment with Demetra+ Dovnar Olga Alexandrovna The National Statistical Committee, Republic of Belarus.
April 2011 Testing Seasonal Adjustment with Demetra+ Ariunbold Shagdar National Statistical Office, Mongolia.
Regression Analysis: Part 2 Inference Dummies / Interactions Multicollinearity / Heteroscedasticity Residual Analysis / Outliers.
Harmonisation of Seasonal Adjustment Methods in EU and OECD Countries Ronny Nilsson Statistics Directorate.
Revision of the ESS Guidelines on seasonal adjustment By Gian Luigi Mazzi and Rosa Ruggeri Cannata Seasonal Adjustment User Group 16 th October 2012.
Presentation 1 / NBB report Towards JD+ 2.1…
ANOVA, Regression and Multiple Regression March
A comparison of automatic model selection procedures for seasonal adjustment Cathy Jones.
Towards a seasonal adjustment and a revision policy Anu Peltola Economic Statistics Section, UNECE UNECE Workshop on Seasonal Adjustment 20 – 23 February.
IMF Statistics Department The views expressed herein are those of the author and should not necessarily be attributed to the IMF, its Executive Board,
Using Demetra+ at SURS Manca Golmajer, Andrejka Smukavec 20 June 2013.
United Nations Statistics Division Dissemination of IIP data.
 New build: (October, 30) Corrections of bugs Slight improvement of the UI  New release (December, 31) Core engines  X12 (marginal.
Recent work on revisions in the UK Robin Youll Director Short Term Output Indicators Division Office for National Statistics United Kingdom.
Introduction to Seasonal Adjustment
USING DEMETRA+ IN DAILY WORK SAUG – Luxembourg, 16 October 2012 Enrico INFANTE, Eurostat Unit B1: Quality, Methodology and Research.
Ketty Attal-Toubert and Stéphanie Himpens Insee 22nd of June, 2011 Using SAS to implement additional tools.
——Comparing between the methods based on X-12ARIMA and TRAMO/SEATS By Ming-Fang Zhang Suo-Xian Pan IAOS Conference, Shanghai, October, 2008 Study.
Carsten Boldsen Hansen Economic Statistics Section, UNECE
Shohreh Mirzaei Yeganeh United Nations Industrial Development
Handbook on Seasonal Adjustment
Testing seasonal adjustment with Demetra+
Quality Reporting with JD+
2.1. JDemetra+ Last updates (since 2.0.0)
How to select regressors and specifications in Demetra+?
Seasonal adjustment with Demetra+
Are we moving towards more integration of the NEW FEATURES OF TS INto JDEMETRA+ ?
New Demetra 2.2 Euro-indicators Working Group
STATISTICAL AGENCY UNDER PRESIDENT OF THE REPUBLIC OF TAJIKISTAN
Faiz Alsuhail 21 of June, Frankfurt
Problematic time series and how to treat them
Demetra+ User Manual Final release
Model Selection, Seasonal Adjustment, Analyzing Results
Ermurachi Galina National Bureau of Statistics, Republic of Moldova
Issues on Seasonal Adjustment in the EECCA countries
Are we moving towards more integration of the NEW FEATURES OF TS INto JDEMETRA+ ?
Using JDemetra+ at STATEC
Presentation transcript:

1 Departamento de Contas Nacionais / Serviço de Indicadores de Curto Prazo National Accounts Department / Short Term Statistics Unit Using Demetra+

2  Short term statistics unit is concerned on producing high quality seasonally adjusted data, following closely the SA guidelines and is already sending SA and/or WDA indices for all STS variables which have a statistically significant seasonal pattern.  The volume of data production on STS is burdensome and seasonal adjustment is especially time consuming.  Eurostat requires to produce mass volumes of seasonally adjusted data and sometimes does not take into account the scarce resources available at national institutes, the relative importance of the series, the relevance of the requested information or even if seasonal adjust some indicators has a real meaning (ex: building permits). Seasonal adjustment for short term statistics

3 It is worth remembering that: (in ESS Guidelines)  “Seasonal adjustment must be performed only when there is a clear statistical evidence and economic interpretation of the seasonal/calendar effects” ;  “Making any seasonal and/or calendar adjustment on series which do not show any evidence of such effects is an inappropriate statistical treatment”;  “Series can be characterized only by seasonal effects without significant calendar ones” or “series can be only characterized by calendar effects without seasonal ones”; Seasonal adjustment for short term statistics

4  “Inappropriate or low-quality seasonal adjustment can generate misleading results and increase the probability of false signals (credibility effects);  “The presence of residual seasonality, as well as over- smoothing, are concrete risks which could negatively affect the interpretation of seasonally adjusted data.” Seasonal adjustment for short term statistics

5 Seasonal adjustment process at Statistics Portugal: The model, filters, outliers and regression parameters are re- identified and the respective parameters and factors re- estimated once a year or whenever significant revisions occur. The seasonal and calendar factors are forecasted and these forecasts are used until the next revision of raw data. –This option minimizes the frequency of revisions, that are concentrated mostly during the month of March (April ).

6 Seasonal adjustment for short term statistics All time series are seasonally adjusted on an individual basis. Seasonal and calendar adjusted aggregates are obtained as a weighted sum (the same weights used to aggregate the raw series). The approach used for seasonal adjustment is mostly the model-based one, with the software TRAMO-SEATS in Demetra. For some series, due to their characteristics, we prefer X12ARIMA.

7 Seasonal adjustment for short term statistics The steps for annual seasonal adjustment procedure: 1.Graphical analysis of the raw data 2.Choice of the pre-treatment: 1.trading/working day, moving holidays and national calendars 2.Type of outliers (AO, LS, TC) 3.First exploratory automatic run of the seasonal adjustment on Demetra+ on the complete set of series 4.Detailed analysis

8 Seasonal adjustment for short term statistics 1.Graphical analysis of the raw data provides useful information: 1.Length of the series (ex: for activities that are dying out) 2.Presence of strange values 3.Presence of breaks 4.Changes in seasonal behaviour 5.Trend… 6.Periodogram and Spectrum provide information on the presence of the seasonal component and/or trading- day effect. Demetra+ makes this part of the analysis easier!

9 Seasonal adjustment for short term statistics 2.Choice of the pre-treatment: 1.First explanatory run of the SA on Demetra+ 2.Removal of all effects related to calendar effects Demetra+ presents three different views for the Default Option –Trading Days : (no. of Mondays) – (no. Of Sundays), …., (no. of Saturdays) – (no. of Sundays) –Working Days : (nº of (M, T, W, Th, F))– (nº of (Sat, Sund) x 5/2) –None Easter Effect National calendars are not available. Some problems occurred during this step

10 Seasonal adjustment for short term statistics Easter-effectProblem with Easter-effect (reported): no adjustment for 2010 (there was a bug on TS already corrected by Mr. Maraval) –For Tramo-Seats there is no adjustment for 2010 (there was a bug on TS already corrected by Mr. Maraval)

11 Seasonal adjustment for short term statistics Tramo-Seats and X12 Easter regressors differ from a constant. Both seem to count the difference between the number of days before Easter in March and/or in April. Why the difference of X12 and Tramo Seats Easter regressors?

12 Seasonal adjustment for short term statistics On JDemetra, when we select the Easter box, the Easter day is considered on the off-set period. Tramo-Seats and X12 Easter regressors differences are higher when the off-set period contains days in March and in April. Easter regressors – selection of Easter box option?

13 Seasonal adjustment for short term statistics Problem with National Calendar: WORKING DAYS: (nº of (M, T, W, Th, F)) – (nº of (Sat, Sund) x 5/2) TRADING DAYS: (no. of Mondays) – (no. Of Sundays), …., (no. of Saturdays) – (no. of Sundays) What if a national holiday is on Saturday or Sunday? leap year seems to be always accepted Demetra+ doesn’t have an option for automatic reducing the number of trading day regressors? Even with very low t-stat at least the leap year seems to be always accepted.

14 Seasonal adjustment for short term statistics National CalendarProblem with National Calendar: –Example for 2007: WORKING DAYS:(nº of (M, T, W, Th, F)) – (nº of (Sat, Sund) x 5/2)

15 Seasonal adjustment for short term statistics National Calendar:Problem with National Calendar: –Example for 2007: 2007: WORKING DAYS

16 Seasonal adjustment for short term statistics Problem with National Calendar - Trading day –Example for 2007: (no. of Mondays) – (no. Of Sundays), …., (no. of Saturdays) – (no. of Sundays)

17 Seasonal adjustment for short term statistics 3.Results of explanatory first run – nice presentation and a lot of information!

18 Seasonal adjustment for short term statistics Matrix view allows to see the automatic results of outliers identification. This is a good tool to use in the phase of pre- treatment of the series. Series with many outliers need a more detailed analysis in order to identify possible causes and, when necessary, pre-specify outliers, create intervention variables…

19 Seasonal adjustment for short term statistics 4.Analysis of the results – Detailed analysis: At this point, we can access more detailed information on the statistics, graphics, spectral analysis… Here it is possible to estimate new models, add/remove outliers, change the options of the trading days, create intervention variables….

20 Seasonal adjustment for short term statistics A “problem” in the Stochastic series table: For this example, t he Results of the Seasonally Adjusted Series offered in this table equals: Original series-Deterministic component-Seasonal component - constant Deterministic component = Calendar effects + Total outliers effect

21 Seasonal adjustment for short term statistics Another example: –Seasonally adjusted series = Original - Calendar-Seasonal Component + Correction of the Level (constant symmetric of the Total outliers effect of the beginning of the series)

22 Seasonal adjustment for short term statistics The names of the result series on this table are a little puzzling! –Maybe can be added “preliminary adjustments” and also in the csv output files.

23 Seasonal adjustment for short term statistics It is possible to generate the output for the results, but it is not so user friendly as it was for Demetra2. Excel output doesn’t contain the seasonal component, calendar effects or Easter effects component with respective forecasts. The Seasonal Component of the options is in reality the Final Seasonal Component. Neither the Final seasonal component nor the original and adjusted series have the respective forecasts.

24 Seasonal adjustment for short term statistics CSV format is the option is to export the results of all components and respective forecasts. presented in separated CSV files.Unfortunately the Original, SA, Calendar Adjusted, Seasonal component… series and their respective forecasts are presented in separated CSV files. More burden to join the results in order to use them in our production application and may be a source of errors.More burden to join the results in order to use them in our production application and may be a source of errors. overwrite CSV Output – it would be very useful to have the option to overwrite previously generated output instead of creating new files

25 Seasonal adjustment for short term statistics When we export CSV matrix we obtain the information about the models, the quality tests and diagnostics. However, there are some column labels not available, making difficult to identify the contents.

26 Seasonal adjustment for short term statistics I assumed that LP stands for Leap Year, but the column is empty and the results for Leap Year are the ones of the last computed trading day.

27 Seasonal adjustment for short term statistics I didn’t find the model parameter correlation matrix, important to assess the stability of the model. Parsimonious model – the numbers of the p or q parameters very rarely need to be greater than 2. It seems important to have (may be in the summary results) an alert for series with many regressors (number of parameters of the model + nº of outliers + nº of trading days) and also for models with coefficients near 1).

28 Seasonal adjustment for short term statistics In this example 133: –From the main results it seems that it is a good model, but when looking for the year on year rate of change graph we can see the big impact of the correction.

29 Seasonal adjustment for short term statistics SEASONAL OUTLIERS are not yet considered in the automatic outlier detection? It would be useful to have this option available, together with the possibility to pre-specify these outliers. –Ex: November Christmas pay that changed to December (seasonality become less important for November and more important in December) The date of the annual sales changed, anticipating them by a few weeks or new collections arrive earlier. Seasonality, for some particular month(s), has become more volatile.

30 Seasonal adjustment for short term statistics Level Shift and changes in seasonality

31 Seasonal adjustment for short term statistics For a better understanding of the results, it would be nice to have a description of the content of the output files.

32 Seasonal adjustment for short term statistics About the possibility of users to add new modules or make improvements… to Demetra+: –It is very good to have a flexible tool that allows new developments, but… Resources are scarce and there are not so many people with both statistics background and considerable programming experience to develop additional modules for seasonal adjustment purposes!Resources are scarce and there are not so many people with both statistics background and considerable programming experience to develop additional modules for seasonal adjustment purposes!

33