SlideShare a Scribd company logo
1 of 21
Download to read offline
Seasonal Adjustment of Daily Data
Seasonal Adjustment of Daily Data
D. Ladiray, J. Palate, G.L. Mazzi, T. Proietti 1
IAOS 2018, Paris
1Contact email: dominique.ladiray@insee.fr
Seasonal Adjustment of Daily Data
Outline
1 Introduction
2 Multiple and non integer periodicities
3 Pre-adjustments
4 Seasonal adjustment using moving averages (X11-like)
5 First Conclusions
Seasonal Adjustment of Daily Data
Introduction
Introduction
A joint work:
Dominique Ladiray (INSEE), Gian Luigi Mazzi (GOPA), Jean Palate
(NBB), Tommaso Proietti (University of Rome Tor Vergata)
Complete paper published in the “Handbook on Seasonal Adjustment”
(Eurostat, May 2018);
ec.europa.eu/eurostat/web/
products-manuals-and-guidelines/-/KS-GQ-18-001
On the agenda of the European Seasonal Adjustment Center:
improving SA methods in JDemetra+, the European time series
software for official statistics.
Extending “X11”, STL and Tramo-Seats to daily and weekly data;
Incorporating State Space Methods;
New filters for “X11” (Dagum’s asymmetric filters)
Seasonal Adjustment of Daily Data
Introduction
Example
Daily consumption of electricity in France since 01/01/1996.
Clear annual pattern.
Seasonal Adjustment of Daily Data
Multiple and non integer periodicities
Multiples periodicities
Period (number of observations per cycle)
Data Minute Hour Day Week Month Quarter Year
Annual 1
Quarterly 4
Monthly 3 12
Weekly 4.348125 13.044375 52.1775
Daily 7 30.436875 91.310625 365.2425
Hourly 24 168 730.485 2191.455 8765.82
Half-hourly 48 336 1460.97 4382.91 17531.64
Minutes 60 1440 10080 43829.1 131487.3 525949.2
Seconds 60 3600 86400 604800 2629746 7889238 31556952
A daily series might have 3 different (and hopefully co-prime) periodicities:
A weekly periodicity (7 days): Monday is different from Sunday;
An intra-monthly periodicity (30.436875 days on average): the first days of the month are
different from the last days;
An annual periodicity (365.2425 days on average): each day if different from others (Winter
days are different from Summer days).
Seasonal Adjustment of Daily Data
Multiple and non integer periodicities
Periodogram of the daily consumption of electricity.
Peaks at harmonics 2kπ/7. Annual periodicity is hidden.
Seasonal Adjustment of Daily Data
Multiple and non integer periodicities
Zoom on the low frequencies
Peaks at harmonics 2kπ/365.
Seasonal Adjustment of Daily Data
Multiple and non integer periodicities
Canova-Hansen Test
Canova-Hansen tests for components with period p = 2, 3, . . . , 366.
Significant values are detected at the weekly and annual frequencies only,
for which the null is rejected.
Seasonal Adjustment of Daily Data
Pre-adjustments
Usual Methodology
Seasonal Adjustment of Daily Data
Pre-adjustments
The ARIMA model (1)
ARIMA models (p, d, q)(P, D, Q)S with one seasonality and first
or/and seasonal integer differences ∆ = 1 − B or/and ∆s = 1 − Bs
.
But we now have several and possibly non integer periodicities.
s + α is the periodicity (for example 365.25 for daily data or 52.18
for weekly data) where s is the integer part and α a real number
belonging to the interval ]0, 1[.
How can we adapt ARIMA models to this particular situation?
Seasonal Adjustment of Daily Data
Pre-adjustments
The ARIMA model (2)
Using the Taylor expansion of xα
, we have:
xα = 1 + α(x − 1) +
α(α+1)
2!
(x − 1)2 +
α(α+1)(α+2)
3!
(x − 1)3 + · · ·
∼= (1 − α) + αx
We define the“tilde difference operator”:
˜∆s+αyt = yt − Bs+αyt
= yt − Bs Bαyt
∼= yt − (1 − α)Bs yt + αBs+1yt
Seasonal Adjustment of Daily Data
Pre-adjustments
Extensions of the airline model
1 For weekly series:
∆∆52yt = (1 − θ1B)(1 − θ2B52) t
∆ ˜∆52.18yt = (1 − θ1B)(1 − 0.82θ2B52 − 0.18θ2B53) t
2 For daily series:
∆∆7∆365yt = (1 − θ1B)(1 − θ2B7)(1 − θ3B365) t
∆∆7
˜∆365.25yt = (1 − θ1B)(1 − θ2B7)(1 − 0.75θ3B365 − 0.25θ2B366) t
3 And for other periodicities, similar extensions could be considered.
Allows to develop a new“Tramo-like”algorithm for pretreatment
(automatic detection of calendar effects and outliers) and forecasting of
high-frequency data.
Seasonal Adjustment of Daily Data
Pre-adjustments
Calendar effects (1)
In daily data, most of the calendar effects are part of the annual
periodicity.
A few exceptions: moving holidays (Easter, Ramadan etc.) and
some fixed holidays (type“first Monday of July”).
Note that looking at daily data can improve the specification of
calendar effect models in Monthly data.
Seasonal Adjustment of Daily Data
Pre-adjustments
Calendar effects (2)
Seasonal Adjustment of Daily Data
Seasonal adjustment using moving averages (X11-like)
A multi-period decomposition algorithm
1. Estimation of the Trend-Cycle with a 7 × 365
C
(1)
t = M7×365(Xt )
2. Estimation of the global seasonal-irregular component
(St + It )(1)
= Xt − TC
(1)
t
3a. Estimation of the weekly (7) seasonal-irregular component (MA 365)
SI
(1),7
t = M365 (St + It )(1)
3b. Estimation of the weakly seasonal component with a 3 × 3
on each period (day): S
(1),7
t = M3×3 SI
(1),7
t
Normalisation : ˜S
(1),7
t = S
(1),7
t − M7 S
(1),7
t
3c. Idem for the annual seasonal component “365”
4. Estimation of the seasonally adjusted series:
A
(1)
t = (Ct + It )(1)
= Xt − ˜S
(1),7
t − ˜S
(1),365
t
Seasonal Adjustment of Daily Data
Seasonal adjustment using moving averages (X11-like)
Seasonal adjustment: Some Issues
Date D01 D02 D03 D04 D26 D27 D28 D29 D30 D31
12/2011 0.28 0.40 0.34 0.38 ........ 0.42 0.34 0.29 0.32 0.30 0.35
01/2012 0.29 0.20 0.09 0.02 ........ -0.51 -0.45 -0.48 -0.45 -0.41 -1.21
02/2012 -1.17 -0.29 -0.28 -0.26 ........ -0.58 -0.58 -0.57 -0.57 . .
03/2012 -0.47 -0.40 -0.44 -0.37 ........ -0.78 -0.77 -0.73 -0.62 -0.41 -0.45
04/2012 -0.47 -0.41 -0.41 -0.24 ........ -0.50 -0.30 -0.30 -0.27 -0.22 .
05/2012 -0.23 -0.21 -0.15 -0.16 ........ -0.04 -0.10 -0.07 -0.14 -0.05 0.03
06/2012 0.11 0.10 0.06 0.02 ........ -0.26 -0.22 -0.05 0.11 0.15 .
07/2012 0.08 0.08 0.05 0.04 ........ 0.18 0.27 0.26 0.20 0.26 0.28
08/2012 0.35 0.45 0.48 0.48 ........ 0.27 0.15 0.13 0.17 0.39 0.49
09/2012 0.47 0.47 0.48 0.38 ........ 0.32 0.48 0.61 0.63 0.62 .
10/2012 0.73 0.77 0.77 0.78 ........ 0.34 0.35 0.37 0.39 0.43 0.49
11/2012 0.51 0.59 0.61 0.56 ........ -0.16 -0.16 -0.09 0.11 0.23 .
12/2012 0.23 0.24 0.20 0.20 ........ 0.97 1.01 1.12 1.12 1.09 1.06
01/2013 1.09 0.94 0.77 0.68 ........ -0.49 -0.51 -0.53 -0.52 -0.45 -0.27
02/2013 -0.22 -0.24 -0.25 -0.29 ........ -0.74 -0.68 -0.54 . . .
03/2013 -0.43 -0.49 -0.50 -0.54 ........ -0.64 -0.40 -0.07 -0.07 -0.09 -0.09
Intra-monthly seasonality: the “ragged matrix” problem (28, 29, 30 or 31 days); using some
kind of “time warping”;
Leap Year effect: not a big deal (ignore and then estimate by splines).
Seasonal Adjustment of Daily Data
Seasonal adjustment using moving averages (X11-like)
Spectrum and Gain Function
Seasonal Adjustment of Daily Data
Seasonal adjustment using moving averages (X11-like)
Weekly seasonal component
Seasonal Adjustment of Daily Data
Seasonal adjustment using moving averages (X11-like)
Yearly seasonal component
Seasonal Adjustment of Daily Data
Seasonal adjustment using moving averages (X11-like)
X12, SEATS, STL and SSM Weekly Components
Seasonal Adjustment of Daily Data
First Conclusions
First Conclusions
It is (certainly) possible to adapt the X11 algorithm to daily (and
weekly) time series;
To separate the annual periodicity from the trend-cycle low
frequencies might be tricky;
The X11 iterative philosophy is very close to STL one; and STL can
also be adapted to high frequency data;
Calendar effects (moving holidays for daily series) must be modeled
very carefully;
Still lots of things to tune from this first prototype:
moving-average orders;
automatic choice of moving-averages (IoverC and IoverS ratios).

More Related Content

Similar to IAOS 2018 - Seasonal Adjustment of Daily Data, D. Ladiray, J. Palate, G.L. Mazzi, T. Proietti

Forecasting
ForecastingForecasting
Forecasting
3abooodi
 
Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia AnggarestaTrend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
CindyAprilia15
 
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docxChapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
christinemaritza
 
Lecture2 forecasting f06_604
Lecture2 forecasting f06_604Lecture2 forecasting f06_604
Lecture2 forecasting f06_604
datkuki
 
Facilities planning and production management
Facilities planning and production managementFacilities planning and production management
Facilities planning and production management
Serkan Alan
 

Similar to IAOS 2018 - Seasonal Adjustment of Daily Data, D. Ladiray, J. Palate, G.L. Mazzi, T. Proietti (20)

1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
1.3-CHAPTER 13 FORECASTING_BA_UDineshK.pptx
 
Forecasting
ForecastingForecasting
Forecasting
 
Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia AnggarestaTrend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
Trend and seasonal components/Abshor Marantika/Cindy Aprilia Anggaresta
 
Time Series FORECASTING
Time Series FORECASTINGTime Series FORECASTING
Time Series FORECASTING
 
MLOS forecasting
MLOS forecastingMLOS forecasting
MLOS forecasting
 
An Application Of TRAMO-SEATS Model Selection And Out-Of-Sample Performance....
An Application Of TRAMO-SEATS  Model Selection And Out-Of-Sample Performance....An Application Of TRAMO-SEATS  Model Selection And Out-Of-Sample Performance....
An Application Of TRAMO-SEATS Model Selection And Out-Of-Sample Performance....
 
Week 4 forecasting - time series - smoothing and decomposition - m.awaluddin.t
Week 4   forecasting - time series - smoothing and decomposition - m.awaluddin.tWeek 4   forecasting - time series - smoothing and decomposition - m.awaluddin.t
Week 4 forecasting - time series - smoothing and decomposition - m.awaluddin.t
 
Data Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingData Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series Forecasting
 
time series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdftime series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdf
 
Tai lieu ve khu mua vu x11.x12
Tai lieu ve khu mua vu x11.x12Tai lieu ve khu mua vu x11.x12
Tai lieu ve khu mua vu x11.x12
 
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docxChapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
 
Forecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptxForecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptx
 
Enterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_ComponentsEnterprise_Planning_TimeSeries_And_Components
Enterprise_Planning_TimeSeries_And_Components
 
Forecating calculations
Forecating calculations  Forecating calculations
Forecating calculations
 
Lecture2 forecasting f06_604
Lecture2 forecasting f06_604Lecture2 forecasting f06_604
Lecture2 forecasting f06_604
 
Time series
Time seriesTime series
Time series
 
Forecasting of demand (management)
Forecasting of demand (management)Forecasting of demand (management)
Forecasting of demand (management)
 
Statr session 25 and 26
Statr session 25 and 26Statr session 25 and 26
Statr session 25 and 26
 
Climate
ClimateClimate
Climate
 
Facilities planning and production management
Facilities planning and production managementFacilities planning and production management
Facilities planning and production management
 

More from StatsCommunications

More from StatsCommunications (20)

Globally inclusive approaches to measurement_Shigehiro Oishi.pdf
Globally inclusive approaches to measurement_Shigehiro Oishi.pdfGlobally inclusive approaches to measurement_Shigehiro Oishi.pdf
Globally inclusive approaches to measurement_Shigehiro Oishi.pdf
 
Globally inclusive approaches to measurement_Erhabor Idemudia.pdf
Globally inclusive approaches to measurement_Erhabor Idemudia.pdfGlobally inclusive approaches to measurement_Erhabor Idemudia.pdf
Globally inclusive approaches to measurement_Erhabor Idemudia.pdf
 
Globally inclusive approaches to measurement_Rosemary Goodyear.pdf
Globally inclusive approaches to measurement_Rosemary Goodyear.pdfGlobally inclusive approaches to measurement_Rosemary Goodyear.pdf
Globally inclusive approaches to measurement_Rosemary Goodyear.pdf
 
A better understanding of domain satisfaction: Validity and policy use_Alessa...
A better understanding of domain satisfaction: Validity and policy use_Alessa...A better understanding of domain satisfaction: Validity and policy use_Alessa...
A better understanding of domain satisfaction: Validity and policy use_Alessa...
 
A better understanding of domain satisfaction: Validity and policy use_Anthon...
A better understanding of domain satisfaction: Validity and policy use_Anthon...A better understanding of domain satisfaction: Validity and policy use_Anthon...
A better understanding of domain satisfaction: Validity and policy use_Anthon...
 
A better understanding of domain satisfaction: Validity and policy use_Marian...
A better understanding of domain satisfaction: Validity and policy use_Marian...A better understanding of domain satisfaction: Validity and policy use_Marian...
A better understanding of domain satisfaction: Validity and policy use_Marian...
 
Measuring subjective well-being in children and young people_Anna Visser.pdf
Measuring subjective well-being in children and young people_Anna Visser.pdfMeasuring subjective well-being in children and young people_Anna Visser.pdf
Measuring subjective well-being in children and young people_Anna Visser.pdf
 
Measuring subjective well-being in children and young people_Oddrun Samdal.pdf
Measuring subjective well-being in children and young people_Oddrun Samdal.pdfMeasuring subjective well-being in children and young people_Oddrun Samdal.pdf
Measuring subjective well-being in children and young people_Oddrun Samdal.pdf
 
Measuring subjective well-being in children and young people_Gwyther Rees.pdf
Measuring subjective well-being in children and young people_Gwyther Rees.pdfMeasuring subjective well-being in children and young people_Gwyther Rees.pdf
Measuring subjective well-being in children and young people_Gwyther Rees.pdf
 
Measuring subjective well-being in children and young people_Sabrina Twilhaar...
Measuring subjective well-being in children and young people_Sabrina Twilhaar...Measuring subjective well-being in children and young people_Sabrina Twilhaar...
Measuring subjective well-being in children and young people_Sabrina Twilhaar...
 
Towards a more comprehensive measure of eudaimonia_Nancy Hey.pdf
Towards a more comprehensive measure of eudaimonia_Nancy Hey.pdfTowards a more comprehensive measure of eudaimonia_Nancy Hey.pdf
Towards a more comprehensive measure of eudaimonia_Nancy Hey.pdf
 
Towards a more comprehensive measure of eudaimonia_Carol Graham.pdf
Towards a more comprehensive measure of eudaimonia_Carol Graham.pdfTowards a more comprehensive measure of eudaimonia_Carol Graham.pdf
Towards a more comprehensive measure of eudaimonia_Carol Graham.pdf
 
Towards a more comprehensive measure of eudaimonia_Carol Ryff.pdf
Towards a more comprehensive measure of eudaimonia_Carol Ryff.pdfTowards a more comprehensive measure of eudaimonia_Carol Ryff.pdf
Towards a more comprehensive measure of eudaimonia_Carol Ryff.pdf
 
Revisiting affect: Which states to measure, and how_Lucia Macchia.pdf
Revisiting affect: Which states to measure, and how_Lucia Macchia.pdfRevisiting affect: Which states to measure, and how_Lucia Macchia.pdf
Revisiting affect: Which states to measure, and how_Lucia Macchia.pdf
 
Revisiting affect: Which states to measure, and how_Conal Smith.pdf
Revisiting affect: Which states to measure, and how_Conal Smith.pdfRevisiting affect: Which states to measure, and how_Conal Smith.pdf
Revisiting affect: Which states to measure, and how_Conal Smith.pdf
 
Revisiting affect: Which states to measure, and how_Arthur Stone.pdf
Revisiting affect: Which states to measure, and how_Arthur Stone.pdfRevisiting affect: Which states to measure, and how_Arthur Stone.pdf
Revisiting affect: Which states to measure, and how_Arthur Stone.pdf
 
1 Intro_Measuring SWB_Romina_Boarini.pdf
1 Intro_Measuring SWB_Romina_Boarini.pdf1 Intro_Measuring SWB_Romina_Boarini.pdf
1 Intro_Measuring SWB_Romina_Boarini.pdf
 
Key-findings_On-Shaky-Ground-Income-Instability-and-Economic-Insecurity-in-Eu...
Key-findings_On-Shaky-Ground-Income-Instability-and-Economic-Insecurity-in-Eu...Key-findings_On-Shaky-Ground-Income-Instability-and-Economic-Insecurity-in-Eu...
Key-findings_On-Shaky-Ground-Income-Instability-and-Economic-Insecurity-in-Eu...
 
Presentation Tatsuyoshi Oba.pdf
Presentation Tatsuyoshi Oba.pdfPresentation Tatsuyoshi Oba.pdf
Presentation Tatsuyoshi Oba.pdf
 
Amy slides.pdf
Amy slides.pdfAmy slides.pdf
Amy slides.pdf
 

Recently uploaded

Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 

Recently uploaded (20)

VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls CP 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
BigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptxBigBuy dropshipping via API with DroFx.pptx
BigBuy dropshipping via API with DroFx.pptx
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in  KishangarhDelhi 99530 vip 56974 Genuine Escort Service Call Girls in  Kishangarh
Delhi 99530 vip 56974 Genuine Escort Service Call Girls in Kishangarh
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 

IAOS 2018 - Seasonal Adjustment of Daily Data, D. Ladiray, J. Palate, G.L. Mazzi, T. Proietti

  • 1. Seasonal Adjustment of Daily Data Seasonal Adjustment of Daily Data D. Ladiray, J. Palate, G.L. Mazzi, T. Proietti 1 IAOS 2018, Paris 1Contact email: dominique.ladiray@insee.fr
  • 2. Seasonal Adjustment of Daily Data Outline 1 Introduction 2 Multiple and non integer periodicities 3 Pre-adjustments 4 Seasonal adjustment using moving averages (X11-like) 5 First Conclusions
  • 3. Seasonal Adjustment of Daily Data Introduction Introduction A joint work: Dominique Ladiray (INSEE), Gian Luigi Mazzi (GOPA), Jean Palate (NBB), Tommaso Proietti (University of Rome Tor Vergata) Complete paper published in the “Handbook on Seasonal Adjustment” (Eurostat, May 2018); ec.europa.eu/eurostat/web/ products-manuals-and-guidelines/-/KS-GQ-18-001 On the agenda of the European Seasonal Adjustment Center: improving SA methods in JDemetra+, the European time series software for official statistics. Extending “X11”, STL and Tramo-Seats to daily and weekly data; Incorporating State Space Methods; New filters for “X11” (Dagum’s asymmetric filters)
  • 4. Seasonal Adjustment of Daily Data Introduction Example Daily consumption of electricity in France since 01/01/1996. Clear annual pattern.
  • 5. Seasonal Adjustment of Daily Data Multiple and non integer periodicities Multiples periodicities Period (number of observations per cycle) Data Minute Hour Day Week Month Quarter Year Annual 1 Quarterly 4 Monthly 3 12 Weekly 4.348125 13.044375 52.1775 Daily 7 30.436875 91.310625 365.2425 Hourly 24 168 730.485 2191.455 8765.82 Half-hourly 48 336 1460.97 4382.91 17531.64 Minutes 60 1440 10080 43829.1 131487.3 525949.2 Seconds 60 3600 86400 604800 2629746 7889238 31556952 A daily series might have 3 different (and hopefully co-prime) periodicities: A weekly periodicity (7 days): Monday is different from Sunday; An intra-monthly periodicity (30.436875 days on average): the first days of the month are different from the last days; An annual periodicity (365.2425 days on average): each day if different from others (Winter days are different from Summer days).
  • 6. Seasonal Adjustment of Daily Data Multiple and non integer periodicities Periodogram of the daily consumption of electricity. Peaks at harmonics 2kπ/7. Annual periodicity is hidden.
  • 7. Seasonal Adjustment of Daily Data Multiple and non integer periodicities Zoom on the low frequencies Peaks at harmonics 2kπ/365.
  • 8. Seasonal Adjustment of Daily Data Multiple and non integer periodicities Canova-Hansen Test Canova-Hansen tests for components with period p = 2, 3, . . . , 366. Significant values are detected at the weekly and annual frequencies only, for which the null is rejected.
  • 9. Seasonal Adjustment of Daily Data Pre-adjustments Usual Methodology
  • 10. Seasonal Adjustment of Daily Data Pre-adjustments The ARIMA model (1) ARIMA models (p, d, q)(P, D, Q)S with one seasonality and first or/and seasonal integer differences ∆ = 1 − B or/and ∆s = 1 − Bs . But we now have several and possibly non integer periodicities. s + α is the periodicity (for example 365.25 for daily data or 52.18 for weekly data) where s is the integer part and α a real number belonging to the interval ]0, 1[. How can we adapt ARIMA models to this particular situation?
  • 11. Seasonal Adjustment of Daily Data Pre-adjustments The ARIMA model (2) Using the Taylor expansion of xα , we have: xα = 1 + α(x − 1) + α(α+1) 2! (x − 1)2 + α(α+1)(α+2) 3! (x − 1)3 + · · · ∼= (1 − α) + αx We define the“tilde difference operator”: ˜∆s+αyt = yt − Bs+αyt = yt − Bs Bαyt ∼= yt − (1 − α)Bs yt + αBs+1yt
  • 12. Seasonal Adjustment of Daily Data Pre-adjustments Extensions of the airline model 1 For weekly series: ∆∆52yt = (1 − θ1B)(1 − θ2B52) t ∆ ˜∆52.18yt = (1 − θ1B)(1 − 0.82θ2B52 − 0.18θ2B53) t 2 For daily series: ∆∆7∆365yt = (1 − θ1B)(1 − θ2B7)(1 − θ3B365) t ∆∆7 ˜∆365.25yt = (1 − θ1B)(1 − θ2B7)(1 − 0.75θ3B365 − 0.25θ2B366) t 3 And for other periodicities, similar extensions could be considered. Allows to develop a new“Tramo-like”algorithm for pretreatment (automatic detection of calendar effects and outliers) and forecasting of high-frequency data.
  • 13. Seasonal Adjustment of Daily Data Pre-adjustments Calendar effects (1) In daily data, most of the calendar effects are part of the annual periodicity. A few exceptions: moving holidays (Easter, Ramadan etc.) and some fixed holidays (type“first Monday of July”). Note that looking at daily data can improve the specification of calendar effect models in Monthly data.
  • 14. Seasonal Adjustment of Daily Data Pre-adjustments Calendar effects (2)
  • 15. Seasonal Adjustment of Daily Data Seasonal adjustment using moving averages (X11-like) A multi-period decomposition algorithm 1. Estimation of the Trend-Cycle with a 7 × 365 C (1) t = M7×365(Xt ) 2. Estimation of the global seasonal-irregular component (St + It )(1) = Xt − TC (1) t 3a. Estimation of the weekly (7) seasonal-irregular component (MA 365) SI (1),7 t = M365 (St + It )(1) 3b. Estimation of the weakly seasonal component with a 3 × 3 on each period (day): S (1),7 t = M3×3 SI (1),7 t Normalisation : ˜S (1),7 t = S (1),7 t − M7 S (1),7 t 3c. Idem for the annual seasonal component “365” 4. Estimation of the seasonally adjusted series: A (1) t = (Ct + It )(1) = Xt − ˜S (1),7 t − ˜S (1),365 t
  • 16. Seasonal Adjustment of Daily Data Seasonal adjustment using moving averages (X11-like) Seasonal adjustment: Some Issues Date D01 D02 D03 D04 D26 D27 D28 D29 D30 D31 12/2011 0.28 0.40 0.34 0.38 ........ 0.42 0.34 0.29 0.32 0.30 0.35 01/2012 0.29 0.20 0.09 0.02 ........ -0.51 -0.45 -0.48 -0.45 -0.41 -1.21 02/2012 -1.17 -0.29 -0.28 -0.26 ........ -0.58 -0.58 -0.57 -0.57 . . 03/2012 -0.47 -0.40 -0.44 -0.37 ........ -0.78 -0.77 -0.73 -0.62 -0.41 -0.45 04/2012 -0.47 -0.41 -0.41 -0.24 ........ -0.50 -0.30 -0.30 -0.27 -0.22 . 05/2012 -0.23 -0.21 -0.15 -0.16 ........ -0.04 -0.10 -0.07 -0.14 -0.05 0.03 06/2012 0.11 0.10 0.06 0.02 ........ -0.26 -0.22 -0.05 0.11 0.15 . 07/2012 0.08 0.08 0.05 0.04 ........ 0.18 0.27 0.26 0.20 0.26 0.28 08/2012 0.35 0.45 0.48 0.48 ........ 0.27 0.15 0.13 0.17 0.39 0.49 09/2012 0.47 0.47 0.48 0.38 ........ 0.32 0.48 0.61 0.63 0.62 . 10/2012 0.73 0.77 0.77 0.78 ........ 0.34 0.35 0.37 0.39 0.43 0.49 11/2012 0.51 0.59 0.61 0.56 ........ -0.16 -0.16 -0.09 0.11 0.23 . 12/2012 0.23 0.24 0.20 0.20 ........ 0.97 1.01 1.12 1.12 1.09 1.06 01/2013 1.09 0.94 0.77 0.68 ........ -0.49 -0.51 -0.53 -0.52 -0.45 -0.27 02/2013 -0.22 -0.24 -0.25 -0.29 ........ -0.74 -0.68 -0.54 . . . 03/2013 -0.43 -0.49 -0.50 -0.54 ........ -0.64 -0.40 -0.07 -0.07 -0.09 -0.09 Intra-monthly seasonality: the “ragged matrix” problem (28, 29, 30 or 31 days); using some kind of “time warping”; Leap Year effect: not a big deal (ignore and then estimate by splines).
  • 17. Seasonal Adjustment of Daily Data Seasonal adjustment using moving averages (X11-like) Spectrum and Gain Function
  • 18. Seasonal Adjustment of Daily Data Seasonal adjustment using moving averages (X11-like) Weekly seasonal component
  • 19. Seasonal Adjustment of Daily Data Seasonal adjustment using moving averages (X11-like) Yearly seasonal component
  • 20. Seasonal Adjustment of Daily Data Seasonal adjustment using moving averages (X11-like) X12, SEATS, STL and SSM Weekly Components
  • 21. Seasonal Adjustment of Daily Data First Conclusions First Conclusions It is (certainly) possible to adapt the X11 algorithm to daily (and weekly) time series; To separate the annual periodicity from the trend-cycle low frequencies might be tricky; The X11 iterative philosophy is very close to STL one; and STL can also be adapted to high frequency data; Calendar effects (moving holidays for daily series) must be modeled very carefully; Still lots of things to tune from this first prototype: moving-average orders; automatic choice of moving-averages (IoverC and IoverS ratios).