SlideShare a Scribd company logo
Enrico Infante*
University of Naples Federico II
Dario Buono*
EUROSTAT, Unit B1: Quality, Research and Methodology
Euroindicators PEEI WG – Luxembourg, 11-12 June 2012
*The views and the opinions expressed in this paper are solely of the authors
and do not necessarily reflect those of the institutions for which they work
New innovative 3-way ANOVA a-priori test for
direct vs. indirect approach in Seasonal Adjustment
2
A generic time series Yt can be the result of an aggregation of p series:
( )pthttt XXXfY ,,,,1 =
We focus on the case of the additive function:
∑=
=++++=
p
h
hthptphthtt XXXXY
1
11 ϖϖϖϖ 
Introduction
Enrico Infante, Dario Buono
3
To Seasonally Adjust the aggregate, different approaches can be applied
Direct Approach
Indirect Approach
The Seasonally Adjusted data are
computed directly by Seasonally
Adjusting the aggregate
( ) 





= ∑=
p
h
htht XSAYSA
1
ϖ
The Seasonally Adjusted data are
computed indirectly by Seasonally
Adjusting data per each series
( ) ( )∑=
=
p
h
htht XSAYSA
1
ϖ
Introduction
Enrico Infante, Dario Buono
4
If it is possible to divide the series into groups, then it is possible to
compute the Seasonally Adjusted figures by summing the Seasonally
Adjusted data of these groups
Mixed Approach
Example (two groups):
∑∑ ==
+=
r
u
utu
q
l
ltlt XXY
11
ϖϖ
Group A Group B
prq =+
( ) 





+





= ∑∑ ==
r
u
utu
q
l
ltlt XSAXSAYSA
11
ϖϖ
Introduction
Enrico Infante, Dario Buono
5
To use the Mixed Approach, sub-aggregates must be defined
We would like to find a criterion to divide the series into groups
The series of each group must have
common regular seasonal patterns
How is it possible to decide that two or more series have common
seasonal patterns?
NEW TEST!!!
The basic idea
Enrico Infante, Dario Buono
6
Direct and indirect: there is no consensus on which is the best approach
Direct Indirect
+
-
• Transparency
• Accuracy
• Accounting
Consistency
• No accounting
consistency
• Cancel-out
effect
• Residual
Seasonality
• Calculations
burden
It could be interesting to identify
which series can be aggregated in
groups and decide at which level
the SA procedure should be run
This test gives information about
the approach to follow before
SA of the series
Why a new test?
Enrico Infante, Dario Buono
The presence of residual seasonality should
always be checked in all of the Indirect and
Mixed Seasonally Adjusted aggregates
7
The variable tested is the final estimation of the unmodified Seasonal-
Irregular ratios (or differences) absolute value
ijkSI
1−ijkSI
Additive model
Multiplicative model
It is considered that the decomposition model is the same on all the
series. The series is then considered already Calendar Adjusted
The classic test for moving seasonality is based on a 2-way ANOVA test,
where the two factors are the time frequency (usually months or
quarters) and the years. This test is based on a 3-way ANOVA model,
where the three factors are the time frequency, the years and the series
The test
Enrico Infante, Dario Buono
8
The model is:
ijkkjiijk ecbaSI +++=
Where:
• ai, i=1,…,M, represents the numerical contribution due to the effect of
the i-th time frequency (usually M=12 or M=4)
• bj, j=1,…,N, represents the numerical contribution due to the effect of
the j-th year
• ck, k=1,…,S, represents the numerical contribution due to the effect of
the k-th series of the aggregate
• The residual component term eijk (assumed to be normally distributed
with zero mean, constant variance and zero covariance) represents the
effect on the values of the SI of the whole set of factors not explicitly
taken into account in the model
The test
Enrico Infante, Dario Buono
9
The test is based on the decomposition of the variance of the
observations:
22222
RSNM SSSSS +++=
Sk ,,1 =
Nj ,,1 =
Between time frequencies variance
Between years variance
Between series variance
Residual variance
The test
Enrico Infante, Dario Buono
Mi ,,1 =
10
VAR Mean df
2
MS
2
NS
2
SS
2
RS
∑∑= =
•• =
N
j
S
k
ijki SI
NS
x
1 1
1
∑∑= =
•• =
M
i
S
k
ijkj SI
MS
x
1 1
1
( )∑∑∑= = =
•••••• +−−−
M
i
N
j
S
k
kjiijk xxxxSI
1 1 1
2
2
( )∑=
•• −
M
i
i xxNS
1
2
( )∑=
•• −
N
j
j xxMS
1
2
( )∑=
•• −
S
k
k xxMN
1
2
∑∑= =
•• =
M
i
N
j
ijkk SI
MN
x
1 1
1
1−M
1−N
1−S
( )( )( )111 −−− SNM
The table for the ANOVA test
Sum of Squares
The test
Enrico Infante, Dario Buono
11
The null hypothesis is made taking into consideration that there is no
change in seasonality over the series
( ) ( )( )( )111;12
2
~ −−−−= SNMS
R
S
T F
S
S
F
The test statistic is the ratio of the between series variance and the
residual variance, and follows a Fisher-Snedecor distribution with (S-1)
and (M-1)(N-1)(S-1) degrees of freedom
ScccH === 210 :
Rejecting the null hypothesis is to say that the pure Direct Approach
should be avoided, and an Indirect or a Mixed one should be considered
The test
Enrico Infante, Dario Buono
12
ttt XXY 21 +=
The most simple case: the aggregate is formed of two series, using the
same decomposition model
Do X1t and X2t have the same seasonal patterns?
TEST
Rejecting H0: the two series
have different seasonal patterns
Not rejecting H0: the two series
have common regular seasonal
patterns
Direct Approach
Indirect Approach
Showing the procedure - Example
Enrico Infante, Dario Buono
13
Let’s consider the Construction Production Index of the three French-
speaking European countries: France, Belgium and Luxembourg (data are
available on the EUROSTAT database). The time span is from January
2001 to December 2010
To take an example, a very simple aggregate could be the following:
tttt LUBEFRY ++=
VAR Mean Square df
Months 1.5003 11
Years 0.0226 9
Series 0.1356 2
Residual 0.0117 198
8122.5
0117.0
1356.0
==− ratioF 0035.0=− valueP
There is no evidence of common
seasonal patterns between the
series at 5 per cent level
The Direct Approach
should be avoided
Numerical example
Enrico Infante, Dario Buono
14
If two of them have the same seasonal pattern, a Mixed Approach could
be used. So the test is now used for each couple of series
VAR Mean Square df
Months 2.0403 11
Years 0.0140 9
Series 0.1199 1
Residual 0.0016 99
7591.75=F 0000.0=− valueP 8313.4=F 0303.0=− valueP
VAR Mean Square df
Months 1.0464 11
Years 0.0172 9
Series 0.0793 1
Residual 0.0164 99
LU - FR BE - FR
There is no evidence of common
seasonal patterns between the
series at 5 per cent level
There is no evidence of common
seasonal patterns between the
series at 5 per cent level
Numerical example
Enrico Infante, Dario Buono
15
An excel file with all the calculations is available on request
VAR Mean Square df
Months 0.9579 11
Years 0.0202 9
Series 0.0042 1
Residual 0.0181 99
2314.0=F 6315.0=− valueP
LU - BE
Common seasonal patterns
between the series present
at 5 per cent level
LU and BE have the same seasonal pattern, so it is possible to Seasonally
Adjust them together, using a Mixed Approach
( ) ( ) ( )tttt LUBESAFRSAYSA ++=
Numerical example
Enrico Infante, Dario Buono
16
Theoretical review (F-ratio, trend, co-movements test)
Future research line
Enrico Infante, Dario Buono
• F-ratio: re-building the test upon the ratio of the between months
variance and the residual variance (comments by Kirchner)
Additive and multiplicative
decompositions
Moving Seasonality
+ -
• A-priori estimation of the trend
• Use of the co-movements test as benchmarking
17
Case study (IPC using Demetra+) - ongoing
Simulations (R) - ongoing
Application with a Tukey’s range test
Future research line
Enrico Infante, Dario Buono
18
[1] J. Higginson – An F Test for the Presence of Moving Seasonality When Using
Census Method II-X-11 Variant – Statistics Canada, 1975
[2] R. Astolfi, D. Ladiray, G. L. Mazzi – Seasonal Adjustment of European
Aggregates: Direct versus Indirect Approach – European Communities, 2001
[3] F. Busetti, A. Harvey – Seasonality Tests – Journal of Business and Economic
Statistics, Vol. 21, No. 3, pp. 420-436, Jul. 2003
[4] B. C. Surtradhar, E. B. Dagum – Bartlett-type modified test for moving
seasonality with applications – The Statistician, Vol. 47, Part 1, 1998
[5] M. Centoni, G. Cubbadda – Modelling Comovements of Economic Time Series:
A Selective Survey – CEIS, 2011
[7] A. Maravall – An application of the TRAMO-SEATS automatic procedure; direct
versus indirect approach – Computation Statistics & Data Analysis, 2005
[8] R. Cristadoro, R. Sabbatini - The Seasonal Adjustment of the Harmonised Index
of Consumer Prices for the Euro Area: a Comparison of Direct and Indirect
Method – Banca d’Italia, 2000
[9] B. Cohen – Explaning Psychological Statistics (3rd
ed.), Chapter 22: Three-way
ANOVA - New York: John Wiley & Sons, 2007
[10]I. Hindrayanto - Seasonal adjustment: direct, indirect or multivariate method?
– Aenorm, No. 43, 2004
References
Enrico Infante, Dario Buono
19
Many Thanks!!!
Questions?
Enrico Infante, Dario Buono
We are really grateful for all the comments we already received
(in particular from R. Gatto, R. Kirchner, A. Maravall, G.L. Mazzi, J. Palate)

More Related Content

What's hot

Mixed between-within groups ANOVA
Mixed between-within groups ANOVAMixed between-within groups ANOVA
Mixed between-within groups ANOVA
Mahsa Farahanynia
 
Cost indexes
Cost indexesCost indexes
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - Overview
Sr Edith Bogue
 
08 ch ken black solution
08 ch ken black solution08 ch ken black solution
08 ch ken black solutionKrunal Shah
 
11 ch ken black solution
11 ch ken black solution11 ch ken black solution
11 ch ken black solutionKrunal Shah
 
Two-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVATwo-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVA
J P Verma
 
Measurement of seasonal variations
Measurement of seasonal variationsMeasurement of seasonal variations
Measurement of seasonal variations
Surekha98
 
Chap15 analysis of variance
Chap15 analysis of varianceChap15 analysis of variance
Chap15 analysis of variance
Judianto Nugroho
 

What's hot (8)

Mixed between-within groups ANOVA
Mixed between-within groups ANOVAMixed between-within groups ANOVA
Mixed between-within groups ANOVA
 
Cost indexes
Cost indexesCost indexes
Cost indexes
 
Repeated Measures ANOVA - Overview
Repeated Measures ANOVA - OverviewRepeated Measures ANOVA - Overview
Repeated Measures ANOVA - Overview
 
08 ch ken black solution
08 ch ken black solution08 ch ken black solution
08 ch ken black solution
 
11 ch ken black solution
11 ch ken black solution11 ch ken black solution
11 ch ken black solution
 
Two-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVATwo-way Repeated Measures ANOVA
Two-way Repeated Measures ANOVA
 
Measurement of seasonal variations
Measurement of seasonal variationsMeasurement of seasonal variations
Measurement of seasonal variations
 
Chap15 analysis of variance
Chap15 analysis of varianceChap15 analysis of variance
Chap15 analysis of variance
 

Viewers also liked

Bab ii+lamp m 32
Bab ii+lamp m 32Bab ii+lamp m 32
Bab ii+lamp m 32
Kinta Mahadji
 
Shroud of turin expo you tube
Shroud of turin expo   you tubeShroud of turin expo   you tube
Shroud of turin expo you tube
Benjamin OrtizGuerra
 
Safety Round Table 2010
Safety Round Table 2010Safety Round Table 2010
Safety Round Table 2010jmathyssen
 
Getariako agenda apirilean
Getariako agenda apirileanGetariako agenda apirilean
Getariako agenda apirilean
Olaia Razkin
 
Valerie Thompson, e-Learning Foundation
Valerie Thompson, e-Learning FoundationValerie Thompson, e-Learning Foundation
Valerie Thompson, e-Learning Foundation
HandheldLearning
 
Los jóvenes y la TICs
Los jóvenes y la TICsLos jóvenes y la TICs
Los jóvenes y la TICs
Edisson Marquez
 
Tutela d.higuera
Tutela d.higueraTutela d.higuera
Tutela d.higuera
Marcela Rodriguez
 
ILMU EKONOMI - Permintaan Pasar 4
ILMU EKONOMI - Permintaan Pasar 4ILMU EKONOMI - Permintaan Pasar 4
ILMU EKONOMI - Permintaan Pasar 4
Diana Amelia Bagti
 
Quy tac phat_am
Quy tac phat_amQuy tac phat_am
Quy tac phat_am
Tri Minh
 

Viewers also liked (10)

Bab ii+lamp m 32
Bab ii+lamp m 32Bab ii+lamp m 32
Bab ii+lamp m 32
 
Shroud of turin expo you tube
Shroud of turin expo   you tubeShroud of turin expo   you tube
Shroud of turin expo you tube
 
Safety Round Table 2010
Safety Round Table 2010Safety Round Table 2010
Safety Round Table 2010
 
Raja Tahmeed
Raja TahmeedRaja Tahmeed
Raja Tahmeed
 
Getariako agenda apirilean
Getariako agenda apirileanGetariako agenda apirilean
Getariako agenda apirilean
 
Valerie Thompson, e-Learning Foundation
Valerie Thompson, e-Learning FoundationValerie Thompson, e-Learning Foundation
Valerie Thompson, e-Learning Foundation
 
Los jóvenes y la TICs
Los jóvenes y la TICsLos jóvenes y la TICs
Los jóvenes y la TICs
 
Tutela d.higuera
Tutela d.higueraTutela d.higuera
Tutela d.higuera
 
ILMU EKONOMI - Permintaan Pasar 4
ILMU EKONOMI - Permintaan Pasar 4ILMU EKONOMI - Permintaan Pasar 4
ILMU EKONOMI - Permintaan Pasar 4
 
Quy tac phat_am
Quy tac phat_amQuy tac phat_am
Quy tac phat_am
 

Similar to New innovative 3 way anova a-priori test for direct vs. indirect approach in seasonal adjustment

Measures of Variability and Correlation
Measures of Variability and CorrelationMeasures of Variability and Correlation
Measures of Variability and Correlation
Abbygale Jade
 
time series.pdf
time series.pdftime series.pdf
time series.pdf
college
 
11.[9 20] analytical study of rainfal of nigeria
11.[9 20] analytical study of rainfal of nigeria11.[9 20] analytical study of rainfal of nigeria
11.[9 20] analytical study of rainfal of nigeria
Alexander Decker
 
time series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdftime series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdf
ssuser220491
 
Forcast2
Forcast2Forcast2
Forcast2
martinizo
 
A note on estimation of population mean in sample survey using auxiliary info...
A note on estimation of population mean in sample survey using auxiliary info...A note on estimation of population mean in sample survey using auxiliary info...
A note on estimation of population mean in sample survey using auxiliary info...
Alexander Decker
 
Time series mnr
Time series mnrTime series mnr
Time series mnrNH Rao
 
Metastatistical Extreme Value distributions
Metastatistical Extreme Value distributionsMetastatistical Extreme Value distributions
Metastatistical Extreme Value distributions
Riccardo Rigon
 
2.AA.anova sesion applied biostat III (2).ppt
2.AA.anova sesion applied biostat III (2).ppt2.AA.anova sesion applied biostat III (2).ppt
2.AA.anova sesion applied biostat III (2).ppt
ssuser504dda
 
analysis of a cross over design
analysis of a cross over designanalysis of a cross over design
analysis of a cross over design
Fasika Alemu
 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gp
PUTTU GURU PRASAD
 
Goodness–of–fit tests for regression models: the functional data case
Goodness–of–fit tests for regression models: the functional data caseGoodness–of–fit tests for regression models: the functional data case
Goodness–of–fit tests for regression models: the functional data case
NeuroMat
 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
Lecture2 forecasting f06_604
Lecture2 forecasting f06_604Lecture2 forecasting f06_604
Lecture2 forecasting f06_604datkuki
 
1-Organizing and Graphing Qualitative data.pptx
1-Organizing and Graphing Qualitative data.pptx1-Organizing and Graphing Qualitative data.pptx
1-Organizing and Graphing Qualitative data.pptx
ssuserdb3083
 
1-Organizing and Graphing Qualitative data 3.pptx
1-Organizing and Graphing Qualitative data 3.pptx1-Organizing and Graphing Qualitative data 3.pptx
1-Organizing and Graphing Qualitative data 3.pptx
ssuserdb3083
 
Time Series
Time SeriesTime Series
Time Series
Anthony J. Evans
 
CAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM ECONOMICS SSS2 UPDATED..docx
CAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM  ECONOMICS SSS2 UPDATED..docxCAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM  ECONOMICS SSS2 UPDATED..docx
CAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM ECONOMICS SSS2 UPDATED..docx
DORISAHMADU
 
Forecasting
ForecastingForecasting
Forecasting3abooodi
 

Similar to New innovative 3 way anova a-priori test for direct vs. indirect approach in seasonal adjustment (20)

Measures of Variability and Correlation
Measures of Variability and CorrelationMeasures of Variability and Correlation
Measures of Variability and Correlation
 
time series.pdf
time series.pdftime series.pdf
time series.pdf
 
11.[9 20] analytical study of rainfal of nigeria
11.[9 20] analytical study of rainfal of nigeria11.[9 20] analytical study of rainfal of nigeria
11.[9 20] analytical study of rainfal of nigeria
 
time series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdftime series.ppt [Autosaved].pdf
time series.ppt [Autosaved].pdf
 
Forcast2
Forcast2Forcast2
Forcast2
 
A note on estimation of population mean in sample survey using auxiliary info...
A note on estimation of population mean in sample survey using auxiliary info...A note on estimation of population mean in sample survey using auxiliary info...
A note on estimation of population mean in sample survey using auxiliary info...
 
Time series mnr
Time series mnrTime series mnr
Time series mnr
 
Metastatistical Extreme Value distributions
Metastatistical Extreme Value distributionsMetastatistical Extreme Value distributions
Metastatistical Extreme Value distributions
 
2.AA.anova sesion applied biostat III (2).ppt
2.AA.anova sesion applied biostat III (2).ppt2.AA.anova sesion applied biostat III (2).ppt
2.AA.anova sesion applied biostat III (2).ppt
 
analysis of a cross over design
analysis of a cross over designanalysis of a cross over design
analysis of a cross over design
 
Demand forecasting methods 1 gp
Demand forecasting methods 1 gpDemand forecasting methods 1 gp
Demand forecasting methods 1 gp
 
Goodness–of–fit tests for regression models: the functional data case
Goodness–of–fit tests for regression models: the functional data caseGoodness–of–fit tests for regression models: the functional data case
Goodness–of–fit tests for regression models: the functional data case
 
Mech ma6452 snm_notes
Mech ma6452 snm_notesMech ma6452 snm_notes
Mech ma6452 snm_notes
 
Master_Thesis_Harihara_Subramanyam_Sreenivasan
Master_Thesis_Harihara_Subramanyam_SreenivasanMaster_Thesis_Harihara_Subramanyam_Sreenivasan
Master_Thesis_Harihara_Subramanyam_Sreenivasan
 
Lecture2 forecasting f06_604
Lecture2 forecasting f06_604Lecture2 forecasting f06_604
Lecture2 forecasting f06_604
 
1-Organizing and Graphing Qualitative data.pptx
1-Organizing and Graphing Qualitative data.pptx1-Organizing and Graphing Qualitative data.pptx
1-Organizing and Graphing Qualitative data.pptx
 
1-Organizing and Graphing Qualitative data 3.pptx
1-Organizing and Graphing Qualitative data 3.pptx1-Organizing and Graphing Qualitative data 3.pptx
1-Organizing and Graphing Qualitative data 3.pptx
 
Time Series
Time SeriesTime Series
Time Series
 
CAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM ECONOMICS SSS2 UPDATED..docx
CAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM  ECONOMICS SSS2 UPDATED..docxCAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM  ECONOMICS SSS2 UPDATED..docx
CAVENDISH COLLEGE LESSON NOTE FOR FIRST TERM ECONOMICS SSS2 UPDATED..docx
 
Forecasting
ForecastingForecasting
Forecasting
 

More from Dario Buono

Big Data and Nowcasting
Big Data and NowcastingBig Data and Nowcasting
Big Data and Nowcasting
Dario Buono
 
Reporting uncertainties - too much information?
Reporting uncertainties - too much information?Reporting uncertainties - too much information?
Reporting uncertainties - too much information?
Dario Buono
 
Skills for the new generation of statisticians
Skills for the new generation of statisticians Skills for the new generation of statisticians
Skills for the new generation of statisticians
Dario Buono
 
JDemetra+ Java Tool for Seasonal Adjustment
JDemetra+ Java Tool for Seasonal AdjustmentJDemetra+ Java Tool for Seasonal Adjustment
JDemetra+ Java Tool for Seasonal Adjustment
Dario Buono
 
Big data and macroeconomic nowcasting from data access to modelling
Big data and macroeconomic nowcasting from data access to modellingBig data and macroeconomic nowcasting from data access to modelling
Big data and macroeconomic nowcasting from data access to modelling
Dario Buono
 
Big Data Analysis: The curse of dimensionality in official statistics
Big Data Analysis: The curse of dimensionality in official statisticsBig Data Analysis: The curse of dimensionality in official statistics
Big Data Analysis: The curse of dimensionality in official statistics
Dario Buono
 
Physics4Stats & BMI vs. QoL
Physics4Stats & BMI vs. QoLPhysics4Stats & BMI vs. QoL
Physics4Stats & BMI vs. QoL
Dario Buono
 
Methodological network and strategy
Methodological network and strategy Methodological network and strategy
Methodological network and strategy
Dario Buono
 
Safebook quality grading
Safebook quality gradingSafebook quality grading
Safebook quality grading
Dario Buono
 
MIP: Analysis of metadata and data revisions
MIP: Analysis of metadata and data revisionsMIP: Analysis of metadata and data revisions
MIP: Analysis of metadata and data revisions
Dario Buono
 
Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...
Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...
Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...
Dario Buono
 
Detecting outliers at the end of the series using forecast intervals
Detecting outliers at the end of the series using forecast intervals Detecting outliers at the end of the series using forecast intervals
Detecting outliers at the end of the series using forecast intervals
Dario Buono
 
1 out of 20 scenarios
1 out of 20 scenarios1 out of 20 scenarios
1 out of 20 scenarios
Dario Buono
 
Eurostat methodological skills staff survey lesson learned final
Eurostat methodological skills staff survey lesson learned finalEurostat methodological skills staff survey lesson learned final
Eurostat methodological skills staff survey lesson learned final
Dario Buono
 
Reliability of estimates in socio-demographic groups with small samples
Reliability of estimates in socio-demographic groups with small samplesReliability of estimates in socio-demographic groups with small samples
Reliability of estimates in socio-demographic groups with small samples
Dario Buono
 

More from Dario Buono (15)

Big Data and Nowcasting
Big Data and NowcastingBig Data and Nowcasting
Big Data and Nowcasting
 
Reporting uncertainties - too much information?
Reporting uncertainties - too much information?Reporting uncertainties - too much information?
Reporting uncertainties - too much information?
 
Skills for the new generation of statisticians
Skills for the new generation of statisticians Skills for the new generation of statisticians
Skills for the new generation of statisticians
 
JDemetra+ Java Tool for Seasonal Adjustment
JDemetra+ Java Tool for Seasonal AdjustmentJDemetra+ Java Tool for Seasonal Adjustment
JDemetra+ Java Tool for Seasonal Adjustment
 
Big data and macroeconomic nowcasting from data access to modelling
Big data and macroeconomic nowcasting from data access to modellingBig data and macroeconomic nowcasting from data access to modelling
Big data and macroeconomic nowcasting from data access to modelling
 
Big Data Analysis: The curse of dimensionality in official statistics
Big Data Analysis: The curse of dimensionality in official statisticsBig Data Analysis: The curse of dimensionality in official statistics
Big Data Analysis: The curse of dimensionality in official statistics
 
Physics4Stats & BMI vs. QoL
Physics4Stats & BMI vs. QoLPhysics4Stats & BMI vs. QoL
Physics4Stats & BMI vs. QoL
 
Methodological network and strategy
Methodological network and strategy Methodological network and strategy
Methodological network and strategy
 
Safebook quality grading
Safebook quality gradingSafebook quality grading
Safebook quality grading
 
MIP: Analysis of metadata and data revisions
MIP: Analysis of metadata and data revisionsMIP: Analysis of metadata and data revisions
MIP: Analysis of metadata and data revisions
 
Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...
Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...
Eurostat tools for benchmarking and seasonal adjustment j_demetra+ and jecotr...
 
Detecting outliers at the end of the series using forecast intervals
Detecting outliers at the end of the series using forecast intervals Detecting outliers at the end of the series using forecast intervals
Detecting outliers at the end of the series using forecast intervals
 
1 out of 20 scenarios
1 out of 20 scenarios1 out of 20 scenarios
1 out of 20 scenarios
 
Eurostat methodological skills staff survey lesson learned final
Eurostat methodological skills staff survey lesson learned finalEurostat methodological skills staff survey lesson learned final
Eurostat methodological skills staff survey lesson learned final
 
Reliability of estimates in socio-demographic groups with small samples
Reliability of estimates in socio-demographic groups with small samplesReliability of estimates in socio-demographic groups with small samples
Reliability of estimates in socio-demographic groups with small samples
 

Recently uploaded

Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
GetInData
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
mzpolocfi
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
Timothy Spann
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
ahzuo
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
ahzuo
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
AnirbanRoy608946
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
slg6lamcq
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
Subhajit Sahu
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Subhajit Sahu
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
jerlynmaetalle
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
mbawufebxi
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 

Recently uploaded (20)

Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdfEnhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
Enhanced Enterprise Intelligence with your personal AI Data Copilot.pdf
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
一比一原版(Dalhousie毕业证书)达尔豪斯大学毕业证如何办理
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
06-04-2024 - NYC Tech Week - Discussion on Vector Databases, Unstructured Dat...
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
一比一原版(CBU毕业证)卡普顿大学毕业证如何办理
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
一比一原版(UIUC毕业证)伊利诺伊大学|厄巴纳-香槟分校毕业证如何办理
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptxData_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
Data_and_Analytics_Essentials_Architect_an_Analytics_Platform.pptx
 
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
一比一原版(Adelaide毕业证书)阿德莱德大学毕业证如何办理
 
Adjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTESAdjusting primitives for graph : SHORT REPORT / NOTES
Adjusting primitives for graph : SHORT REPORT / NOTES
 
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTESAdjusting OpenMP PageRank : SHORT REPORT / NOTES
Adjusting OpenMP PageRank : SHORT REPORT / NOTES
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
Influence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business PlanInfluence of Marketing Strategy and Market Competition on Business Plan
Influence of Marketing Strategy and Market Competition on Business Plan
 
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
一比一原版(Bradford毕业证书)布拉德福德大学毕业证如何办理
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 

New innovative 3 way anova a-priori test for direct vs. indirect approach in seasonal adjustment

  • 1. Enrico Infante* University of Naples Federico II Dario Buono* EUROSTAT, Unit B1: Quality, Research and Methodology Euroindicators PEEI WG – Luxembourg, 11-12 June 2012 *The views and the opinions expressed in this paper are solely of the authors and do not necessarily reflect those of the institutions for which they work New innovative 3-way ANOVA a-priori test for direct vs. indirect approach in Seasonal Adjustment
  • 2. 2 A generic time series Yt can be the result of an aggregation of p series: ( )pthttt XXXfY ,,,,1 = We focus on the case of the additive function: ∑= =++++= p h hthptphthtt XXXXY 1 11 ϖϖϖϖ  Introduction Enrico Infante, Dario Buono
  • 3. 3 To Seasonally Adjust the aggregate, different approaches can be applied Direct Approach Indirect Approach The Seasonally Adjusted data are computed directly by Seasonally Adjusting the aggregate ( )       = ∑= p h htht XSAYSA 1 ϖ The Seasonally Adjusted data are computed indirectly by Seasonally Adjusting data per each series ( ) ( )∑= = p h htht XSAYSA 1 ϖ Introduction Enrico Infante, Dario Buono
  • 4. 4 If it is possible to divide the series into groups, then it is possible to compute the Seasonally Adjusted figures by summing the Seasonally Adjusted data of these groups Mixed Approach Example (two groups): ∑∑ == += r u utu q l ltlt XXY 11 ϖϖ Group A Group B prq =+ ( )       +      = ∑∑ == r u utu q l ltlt XSAXSAYSA 11 ϖϖ Introduction Enrico Infante, Dario Buono
  • 5. 5 To use the Mixed Approach, sub-aggregates must be defined We would like to find a criterion to divide the series into groups The series of each group must have common regular seasonal patterns How is it possible to decide that two or more series have common seasonal patterns? NEW TEST!!! The basic idea Enrico Infante, Dario Buono
  • 6. 6 Direct and indirect: there is no consensus on which is the best approach Direct Indirect + - • Transparency • Accuracy • Accounting Consistency • No accounting consistency • Cancel-out effect • Residual Seasonality • Calculations burden It could be interesting to identify which series can be aggregated in groups and decide at which level the SA procedure should be run This test gives information about the approach to follow before SA of the series Why a new test? Enrico Infante, Dario Buono The presence of residual seasonality should always be checked in all of the Indirect and Mixed Seasonally Adjusted aggregates
  • 7. 7 The variable tested is the final estimation of the unmodified Seasonal- Irregular ratios (or differences) absolute value ijkSI 1−ijkSI Additive model Multiplicative model It is considered that the decomposition model is the same on all the series. The series is then considered already Calendar Adjusted The classic test for moving seasonality is based on a 2-way ANOVA test, where the two factors are the time frequency (usually months or quarters) and the years. This test is based on a 3-way ANOVA model, where the three factors are the time frequency, the years and the series The test Enrico Infante, Dario Buono
  • 8. 8 The model is: ijkkjiijk ecbaSI +++= Where: • ai, i=1,…,M, represents the numerical contribution due to the effect of the i-th time frequency (usually M=12 or M=4) • bj, j=1,…,N, represents the numerical contribution due to the effect of the j-th year • ck, k=1,…,S, represents the numerical contribution due to the effect of the k-th series of the aggregate • The residual component term eijk (assumed to be normally distributed with zero mean, constant variance and zero covariance) represents the effect on the values of the SI of the whole set of factors not explicitly taken into account in the model The test Enrico Infante, Dario Buono
  • 9. 9 The test is based on the decomposition of the variance of the observations: 22222 RSNM SSSSS +++= Sk ,,1 = Nj ,,1 = Between time frequencies variance Between years variance Between series variance Residual variance The test Enrico Infante, Dario Buono Mi ,,1 =
  • 10. 10 VAR Mean df 2 MS 2 NS 2 SS 2 RS ∑∑= = •• = N j S k ijki SI NS x 1 1 1 ∑∑= = •• = M i S k ijkj SI MS x 1 1 1 ( )∑∑∑= = = •••••• +−−− M i N j S k kjiijk xxxxSI 1 1 1 2 2 ( )∑= •• − M i i xxNS 1 2 ( )∑= •• − N j j xxMS 1 2 ( )∑= •• − S k k xxMN 1 2 ∑∑= = •• = M i N j ijkk SI MN x 1 1 1 1−M 1−N 1−S ( )( )( )111 −−− SNM The table for the ANOVA test Sum of Squares The test Enrico Infante, Dario Buono
  • 11. 11 The null hypothesis is made taking into consideration that there is no change in seasonality over the series ( ) ( )( )( )111;12 2 ~ −−−−= SNMS R S T F S S F The test statistic is the ratio of the between series variance and the residual variance, and follows a Fisher-Snedecor distribution with (S-1) and (M-1)(N-1)(S-1) degrees of freedom ScccH === 210 : Rejecting the null hypothesis is to say that the pure Direct Approach should be avoided, and an Indirect or a Mixed one should be considered The test Enrico Infante, Dario Buono
  • 12. 12 ttt XXY 21 += The most simple case: the aggregate is formed of two series, using the same decomposition model Do X1t and X2t have the same seasonal patterns? TEST Rejecting H0: the two series have different seasonal patterns Not rejecting H0: the two series have common regular seasonal patterns Direct Approach Indirect Approach Showing the procedure - Example Enrico Infante, Dario Buono
  • 13. 13 Let’s consider the Construction Production Index of the three French- speaking European countries: France, Belgium and Luxembourg (data are available on the EUROSTAT database). The time span is from January 2001 to December 2010 To take an example, a very simple aggregate could be the following: tttt LUBEFRY ++= VAR Mean Square df Months 1.5003 11 Years 0.0226 9 Series 0.1356 2 Residual 0.0117 198 8122.5 0117.0 1356.0 ==− ratioF 0035.0=− valueP There is no evidence of common seasonal patterns between the series at 5 per cent level The Direct Approach should be avoided Numerical example Enrico Infante, Dario Buono
  • 14. 14 If two of them have the same seasonal pattern, a Mixed Approach could be used. So the test is now used for each couple of series VAR Mean Square df Months 2.0403 11 Years 0.0140 9 Series 0.1199 1 Residual 0.0016 99 7591.75=F 0000.0=− valueP 8313.4=F 0303.0=− valueP VAR Mean Square df Months 1.0464 11 Years 0.0172 9 Series 0.0793 1 Residual 0.0164 99 LU - FR BE - FR There is no evidence of common seasonal patterns between the series at 5 per cent level There is no evidence of common seasonal patterns between the series at 5 per cent level Numerical example Enrico Infante, Dario Buono
  • 15. 15 An excel file with all the calculations is available on request VAR Mean Square df Months 0.9579 11 Years 0.0202 9 Series 0.0042 1 Residual 0.0181 99 2314.0=F 6315.0=− valueP LU - BE Common seasonal patterns between the series present at 5 per cent level LU and BE have the same seasonal pattern, so it is possible to Seasonally Adjust them together, using a Mixed Approach ( ) ( ) ( )tttt LUBESAFRSAYSA ++= Numerical example Enrico Infante, Dario Buono
  • 16. 16 Theoretical review (F-ratio, trend, co-movements test) Future research line Enrico Infante, Dario Buono • F-ratio: re-building the test upon the ratio of the between months variance and the residual variance (comments by Kirchner) Additive and multiplicative decompositions Moving Seasonality + - • A-priori estimation of the trend • Use of the co-movements test as benchmarking
  • 17. 17 Case study (IPC using Demetra+) - ongoing Simulations (R) - ongoing Application with a Tukey’s range test Future research line Enrico Infante, Dario Buono
  • 18. 18 [1] J. Higginson – An F Test for the Presence of Moving Seasonality When Using Census Method II-X-11 Variant – Statistics Canada, 1975 [2] R. Astolfi, D. Ladiray, G. L. Mazzi – Seasonal Adjustment of European Aggregates: Direct versus Indirect Approach – European Communities, 2001 [3] F. Busetti, A. Harvey – Seasonality Tests – Journal of Business and Economic Statistics, Vol. 21, No. 3, pp. 420-436, Jul. 2003 [4] B. C. Surtradhar, E. B. Dagum – Bartlett-type modified test for moving seasonality with applications – The Statistician, Vol. 47, Part 1, 1998 [5] M. Centoni, G. Cubbadda – Modelling Comovements of Economic Time Series: A Selective Survey – CEIS, 2011 [7] A. Maravall – An application of the TRAMO-SEATS automatic procedure; direct versus indirect approach – Computation Statistics & Data Analysis, 2005 [8] R. Cristadoro, R. Sabbatini - The Seasonal Adjustment of the Harmonised Index of Consumer Prices for the Euro Area: a Comparison of Direct and Indirect Method – Banca d’Italia, 2000 [9] B. Cohen – Explaning Psychological Statistics (3rd ed.), Chapter 22: Three-way ANOVA - New York: John Wiley & Sons, 2007 [10]I. Hindrayanto - Seasonal adjustment: direct, indirect or multivariate method? – Aenorm, No. 43, 2004 References Enrico Infante, Dario Buono
  • 19. 19 Many Thanks!!! Questions? Enrico Infante, Dario Buono We are really grateful for all the comments we already received (in particular from R. Gatto, R. Kirchner, A. Maravall, G.L. Mazzi, J. Palate)