Académique Documents
Professionnel Documents
Culture Documents
Huijing Chen
The University of Salford, UK
John E. Boylan
Buckinghamshire New University, UK
Abstract
Traditionally seasonality is estimated from an individual series. However, for a product family
or a stock keeping unit (SKU) stored at different locations, estimating seasonality from the
group may produce better estimates and improve forecasting accuracy. Previously, we have
shown under what conditions seasonality estimated at the group level can result in better
forecasting accuracy than seasonality obtained individually. This paper explores how
subaggregate level forecasts can be improved by using grouping in a three-level system.
Forecasts of the lowest level items can be obtained by direct forecasting from the items history,
top-down from the middle level (middle-out) and top-down from the highest level. Rules are
derived in this paper to choose the best approach. Implications of the rules are discussed,
particularly the role of cross correlation and how to group seasonally homogeneous series.
Keywords: seasonality, grouping, cross correlation
Introduction
Nowadays many companies are facing a demanding forecasting task for
hundreds or even thousands of stock-keeping units (SKUs). These SKUs
can be grouped into different product families and/or stored in different depot
locations.
Very often forecasts for future demands are based on short data
related items.
this research.
products from a product family or the same product kept at different locations
share the same or very similar seasonal profiles. This is an area in which the
use of information from relevant items may lead to better forecasts.
This paper is structured as follows: two group seasonal indices (GSI) methods
proposed in the literature are described; rules developed for a three-level
system are summarised; special cases of the rules and implications are
discussed; and, finally, conclusions are drawn.
2
This assumption
led both authors to believe that estimating seasonal indices from the group
was better than from the individual series.
1 m
S i , where S DGSI is the group seasonal vector of indices
m i =1
Therefore,
(1)
(2)
where i = 1 to n is the suffix representing the group number at the middle level;
j = 1 to m n is the suffix representing the item at the individual level and
there are mi items in the ith group;
suffix t represents the year and t = 1 to r;
suffix h represents the seasonal period and h = 1 to q;
Y represents demand;
ij represents the underlying mean for the jth item in the ith group and is
assumed to be constant over time;
S i ,h represents a seasonal index at seasonal period h; it is unchanging
from year to year and the same for all items within a group but different
across groups;
ij ,th is a random disturbance term for the jth item in the ith group at the
tth year and hth period; it is assumed to be normally distributed with mean
zero and constant variance ij2 .
any two different items both within and across groups at the same time
period. Auto-correlations and cross correlations at different time periods
are assumed to be zero.
Seasonality is assumed to be the same within group, but different across
groups. This allows seasonal heterogeneity for different groups. We also
assume stationary seasonality.
mi
j =1
j =1
mi
j =1
j =1
(3)
(4)
where Yi ,th represents the demand for the ith group in tth year and hth season.
mi
mi
i =1
mi
mi
(5)
i =1 j =1
(6)
i =1 j =1
where Yth is the total demand in tth year and hth season.
(7)
1
q 1
MSEGSI ijM,th = 1 + ij2 + 2 i2
mi qr
qr
(8)
where MSEISI ij ,th is the MSE for the jth item in the ith group in the tth year and
hth season by using the ISI method, MSEGSIijM,th is the MSE for the jth item in
ith group in the tth year and hth season by using the GSI method at the middle
level, and i2 is the variance for the random terms in the ith group.
5
MSEGSI ijT,th
1
= S i ,h n
mi
i =1
n
q 1
1 + qr 2
mi S i , h +
ij +
T2
qr
i =1
n
qr mi
i =1
(9)
found in Appendix 1.
If S i ,h is the same as the average of the seasonal indices at the hth season,
1
then S i ,h n
mi
i =1
n
mi S i ,h =0.
i =1
1
indices at the same period, the smaller the S i ,h n
mi
i =1
n
mi S i , h
i =1
term is.
It follows that
S 1
n
i ,h
mi
i =1
n
T2
q 1 2
mi S i , h <
ij
n
qr
i =1
mi
i =1
(10)
Inequality (10) shows that the choice between ISI and GSI at the top level
depends, in general, on two factors: seasonal homogeneity to the group and
noisiness of the series.
T2
n
mi
i =1
inequality (10) reveals that if the noisiness of the individual item ij2 is less
T2
n
mi
i =1
individual noisiness is less than the average of the total, ISI is always better
than GSI despite seasonal patterns.
relevant only when the individual noisiness is greater than the average of the
total.
Theoretically
q
1
1
S i ,h n
q h =1
mi
i =1
n
T2
q 1 2
mi S i , h <
ij
n
qr
i =1
mi
i =1
(11)
Inequality (11) suggests that if individual noisiness is less than the average of
the total, ISI is better than GSI without the need to consider seasonal profiles.
However, if this is not the case, seasonal homogeneity should be considered.
If seasonality of the target series is very different from the rest of the series, it
q
1
1
is better to use ISI as S i ,h n
q h =1
mi
i =1
n
mi S i , h
i =1
would be large.
It makes
sense intuitively that GSI would be useful if the individual items seasonal
pattern is homogeneous to the group so that it can borrow strength from the
group.
Similarly, the following inequality compares GSI from the top level with GSI
from the middle level:
S 1
n
i ,h
mi
i =1
2
2
n
T
q 1 i
mi S i , h <
qr mi2 n
i =1
mi
i =1
(12)
Since seasonality is
assumed to be the same within group at the middle level, the cross-group
seasonal homogeneity is very important to decide whether GSI from the top
level is better than GSI from the middle level.
i2
mi2
<
T2
n
mi
i =1
, then GSI from the middle level is better even when seasonal
If
i2
mi2
>
T2
mi
i =1
n
q
1
1
S i ,h n
q h =1
mi
i =1
n
T2
q 1 i2
mi S i , h <
qr mi2 n
i =1
mi
i =1
(13)
1
MSEISI ij ,th = 1 + ij2
r
(14)
ij2 im2
ij2 i21
2 ij2 m 1 m ik ,il ik il
= + 2 2 + ... + 2 2 + 2
mi r11
mi r im
mi r k =1 l = k +1 ik il
i
MSEDGSI
M
ij ,th
2
ij
(15)
m 1 m
ij2 2
2
2
= + 2 i1 + i 2 + ... + im + 2 ik ,il ik il
r A
k =1 l = j +1
MSEWGSI
M
ij ,th
2
ij
(16)
DGSI at the top level can be calculated in two ways: from the individual level,
averaging all the ISIs from each individual series; or from the middle level,
averaging the DGSIs from the groups.
top level from the individual level. The reason is that the middle level may not
always exist for all items. The following diagram illustrates the point:
National Distribution Centre
Regional Centre
Outlet
Outlet
Outlet
Regional Centre
Outlet
Outlet
Outlet
Therefore, it is not always possible to calculate DGSI for the top level
from the middle level; but it can always be done from the individual level.
T
ij ,th
MSEDGSI
mi S i ,h
2
i =1
= ij S i ,h n
mi
i =1
ij2
+ 2 +
ij
2
r mi
i =1
2
ik ,il ik il +
2
2
i =1 k =1 l = k +1 ik il
n
n mi 1 mi
2
ik
n
r mi
i =1
r mi
i =1
n 1
2
112
nm
+ ... + 2 n
112
nmn
(17)
mi
mu
2
ik
ik
il
i =1 u =i +1k =1 v =1
ik ,uv ik uv
S
i ,h
m S
i
i =1
m
i =1
i ,h
n mi 1 mi
112
nm
1
2
ik ,il ik il
n
+
+
+
...
2
2
2
2
n
nmn n
11
i =1 k =1 l = k +1 ik il
mi
2 mi
1 ij
i =1
< 2 i =1
m
m
n
n
1
i
u
r ij
2
1
ik ,uv ik uv
+
< 1 + ij2
2
n
r
i =1 u =i +1k =1 v =1 ik uv
r mi
i =1
(18)
The comparison between DGSI from the top level and ISI is similar to the
comparison in the additive model. The dominating factor is the noisiness of
the individual series and the average noisiness of the total.
In the mixed
10
q
1
1
S i,h n
q h =1
mi
i =1
n
mi S i,h
i =1
112
nm
1
2
n
...
+
+
+
2
2
2
2
n
n
nmn
11
mi
2 mi
1 ij i =1
i =1
<
n 1 n mi mu
r ij2
2
ik , uv ik uv
+
2
n
i =1 u =i +1k =1 v =1 ik uv
r mi
i =1
ik ,il ik il
ik il
i =1 k =1 l = k +1
n mi 1 mi
(19)
The rule to compare DGSI from top level and middle level is as follows:
2
n
mi Si , h
mi 1 mi
2
ik ,il ik il
< 1 i1 + ... imi + 2
S i =1
i,h
n
2
2
2
rmi 11
ik il
k =1 l = k +1
imi
mi
i =1
112
nm
n
...
+
+
2
2
11
nmn
n mi 1 mi
ik ,il ik il
1
2
+
i =1 k =1 l = k +1
ik il
r m
i
mi m u
n 1 n
ik , uv ik uv
i =1
+ 2
ik uv
i =1 u = i +1 k =1 v =1
(20)
The comparison mainly depends on the average noisiness from the middle
level and from the top level. For DGSI from the top level to be better, the
average noisiness from the top level has to be less than that from the middle
2
mi Si , h
mi
i =1
two levels.
112
nm
+ ... + 2 n
2
2
11
nm
n
2
mi 1 mi
2
n mi 1 mi
ik ,il ik il
ik ,il ik il
1 q
1 n
1
i,h n
i i,h
2
2
n
rmi2 112
q h =1
i =1
k
1
l
k
1
=
=
+
i
=
1
k
=
1
l
=
k
+
1
imi
ik il
ik il
r m
mi
i
mi mu
n 1 n
i =1
ik ,uv ik uv
i =1
+ 2
ik uv
i =1 u = i +1 k =1 v =1
(21)
11
ij S i ,h
i =1 j =1
S i ,h
A
2
1 ij A2
< r 2 2
A
ij
(22)
n mi
ij Si,h
2
2
1 i A
i =1 j =1
<
S
i ,h
r 2 2
A
A
i
(23)
Inequalities (22) and (23) can be summarised over a whole year as well to
cover the complete seasonal cycle.
The term on the left-hand side of (22) and (23) is different from the term
developed for the additive model and for DGSI.
Additive model:
The following inequality (24) can determine when to use GSI:
12
1 q
1 m
q 1 2 T2
S
S
<
i ,h m
i ,h
i 2
q h =1
qr
m
i =1
(24)
Mixed model:
Use DGSI instead of ISI if and only if:
2
2
2
m 1 m
1 q
1 m
1 i
1 m i
1 1
<
+ 2
S
S
jl j l
i,h
i,h
2
2
2
q h =1
m i =1
r i m i =1 i
j =1 l = j +1 j l
(25)
i S i ,h
q
1
S i =1
i ,h
A
q h=1
m 1 m
2
2
+
+
+
jl j l
...
2
m
1
2
1
j
l
j
=
1
=
+
1
i
<
r i2
A2
(26)
Full derivations of the rules can be found in Appendix 3. The theoretical rules
for two levels developed previously depended only on the noisiness of the
individual series and the average noisiness of the group. Seasonality did
not play a role in the rules because it was assumed that there was common
seasonality within the group.
Inequalities (24) to (26) show that noisiness is still the dominating factor, and if
the noisiness of the individual series is less than the average of the group, ISI
should be used regardless of the seasonal factors.
If individual series is
noisier than the average of the group, then it might borrow strength from the
group and seasonal homogeneity is important.
what form seasonal homogeneity affects the choice between ISI and GSI.
13
r<
(q 1) i2 T2
1 m
S
S i ,h
i ,h
m i =1
h =1
(27)
Inequality (27) shows that the number of years of data history (r) affects the
choice between ISI and GSI. When there is seasonal heterogeneity but GSI
is still preferred, the number of years of data has to be less than the right-hand
side of inequality (27).
unlikely to be accurate.
of heterogeneity.
If seasonality is
q
1
1
S i ,h n
q h =1
mi
i =1
n
mi S i , h
i =1
and
n mi
ij S i ,h
1 q
i =1 j =1
S i ,h
q h =1
A
are theoretically
Some researchers
14
It was
documented in that paper and Vassilopoulos (1994) that cluster analysis was
applied to define seasonally homogeneous groups.
SPSS/PC+ was used and the average linkage between-groups method was
implemented to join clusters and the Euclidean distance to measure nearness
(Vassilopoulos, 1994).
group j, the grouping mechanism using the average linkage between groups
2
1 q m n
joins groups which minimises
(S i ,h S j ,h ) .
mnq h =1 i =1 j =1
distance measures for clustering in SPSS.
They are
15
Duncan et al. (1998) claimed that analogous series should correlate positively
(co-vary) over time and argued that the co-variation will be able to add
precision to model estimates and to adapt quickly to time-series pattern
changes.
Schwarzkopf et al. (1988) maintained that the most significant claim for
top-down analysis is that it is inherently more accurate than bottom-up.
This
importance of cross correlation in the comparison between the direct and the
top-down forecasts.
items in a group, the variance for the family is increased by the amount of the
covariance term. Then the aggregate is no longer always better than the
bottom-up.
(2007) established formally that, given the same model and seasonal
homogeneity within groups, it was negative correlation between series that
favoured the top-down approach.
Inequalities (24) to (26) offer further insights on this issue when series follow
different models because of seasonal heterogeneity.
Let us suppose Y i , th =
+ S i ,h +
i , th
Then
1 q
cov(Yi ,thY j ,th ) = E (i + Si ,h + i ,th )( j + S j ,h + j ,th )
q h =1
1 q
1 q
E (i + Si ,h + i ,th )E ( j + S j ,h + j ,th )
q h =1
q h =1
16
=E
1 q
( i j + S i,h j + i,th j + i S j ,h + S i,h S j ,h + i,th S j ,h + i j ,th + S i,h j ,th + i,th j ,th ) i j
q h =1
1 q
S i ,h S j ,h + E ( i,th j ,th )
q h =1
(28)
Since seasonal heterogeneity is allowed here, the two series i and j follow
different models.
contribute towards the overall covariance between the two series: covariance
between the random errors and the co-movement of the seasonals.
If one
series has a positive seasonality and the other has a negative one, then this
would affect the covariance (and correlation) between the two series.
Previous research did not identify how seasonal heterogeneity and correlation
between random errors affect the overall correlation between two series.
The
debate about grouping series with positive or negative correlation was looking
at the wrong question. On the other hand, our rules, both for the general
rules and special cases, clearly demonstrate how seasonal heterogeneity and
noisiness of series, which include the term of cross correlation between
random errors, affect the choice between ISI and GSI.
17
The
expressions
n mi
ij S i ,h
1 q
i =1 j =1
S i ,h
q h =1
A
q
1
1
S i ,h n
q h =1
mi
i =1
n
mi S i , h
i =1
and
The expressions we
The rules are important from a theoretical perspective, and they can be easily
operationalised.
single items into groups or starting as one big cluster and then dividing items
into smaller groups, will be used with the distances measures on simulated
data.
rules.
18
References:
Bunn, D.W. and Vassilopoulos, A.I. (1993) Using Group Seasonal Indices in
Multi-item Short-term Forecasting, International Journal of Forecasting, 9,
517-526.
Chen, H. and Boylan, J.E. (2007) Use of Individual and Group Seasonal
Indices in Subaggregate Demand Forecasting, Journal of the Operational
Research Society, 58, 1660-1671.
Flores, B.F. and Whybark, D.C. (1986) Multiple Criteria ABC Analysis,
International Journal of Operations and Production Management, 6, 38-46.
Flores, B.F. and Whybark, D.C. (1987) Implementing Multiple Criteria ABC
19
Maier, J.R. and Shimkin, L.P. (1988) Prioritising Stock Phasing for Multiple
Retailers, OMEGA, 16 (1), 33-39.
Schwarzkopf, A.B., Tersine, R.J. and Morris, J.S., (1988) Top-down versus
Bottom-up Forecasting Strategies, International Journal of Production
Research, 26, 1833-1843.
Stellwagen, E. (2004) Multiple-Level Forecasting, presented at Forecasting
Summit, Sept. 27-29, Boston, USA.
20
Appendix 1
The Additive Model
Individual level:
Yij ,th = ij + S i , h + ij ,th
(1)
Middle level:
Summing over mi items in the ith group, the aggregate demand for the ith group is:
mi
mi
j =1
j =1
Yi ,th = ij + mi S i ,h + ij ,th
(2)
where Yi ,th represents the demand for the ith group in tth year and hth season.
Top level:
Summing across all the groups, the demand at the top level is described by the
following model:
n
mi
mi
Yth = ij + mi S i ,h + ij ,th
i =1 j =1
i =1
(3)
i =1 j =1
where Yth is the total demand in tth year and hth season.
(4)
1
q 1
MSEGSI ijM,( r +1) h = 1 + ij2 + 2 i2
mi qr
qr
(5)
where MSEISI ij ,th is the mean squared error (MSE) for the jth item in the ith group in the
M
(r+1)th year and hth season by using the individual seasonal indices (ISI) method, MSEGSIij ,th
is the MSE for the jth item in ith group in the (r+1)th year and hth season by using the group
seasonal indices (GSI) method at the middle level, and i2 is the variance for the random terms
in the ith group.
The MSE expression by using the GSI method at the top level is derived as follows:
21
mi
mi
Yth = ij + mi S i ,h + ij ,th = + S h + th
i =1 j =1
i =1
(6)
i =1 j =1
L( , S h , 2 | Y1h , Y2 h ,...Yrh )
r
1 Y S h 2
1
=
exp th
t =1 2
2
1 1 Yth S h 2
log L = log
2
2
t =1
1
1
1 r
(Yth S h )2
= r log(2 ) r log( 2 )
2
2
2
2 t =1
r
log L
1 r
= 2 Yth r rS h = 0
( + S h ) t =1
(7)
Re-arranging (7),
+ S h =
1 r
Yth
r t =1
(8)
Summing over all the seasons in the year and requiring that the seasonal indices sum
to zero,
1
qr
th
(9)
t =1h =1
Hence, by substitution:
r
1
1
Sh = Yth Yth
r t =1
qr t =1 h=1
(10)
22
1
m
r mi
Yth
t =1
i =1
1
m
qr mi
Y
t =1 h =1
(11)
th
i =1
where
i =1
1 r q
1
qr t =1 h =1
r mi
i =1
q
r
r
1
Yth +
Yth
t =1
qr mi t =1 h =1
i =1
=
r n mi
n
n mi
1 r q
1
S
m
S
+
+
+
+
ij
,
,
i
i
h
ij
th
ij
i ,h
ij ,( r +1) h
ij
ij ,th
n
qr
1
1
1
1
1
1
1
1
=
=
=
=
=
=
=
=
t
t
i
i
i
j
j
h
r mi
i =1
E
q
r
n
n mi
n mi
ij + mi S i ,h + ij ,th
i =1
i =1 j =1
qr mi t =1 h =1 i =1 j =1
i =1
1 r q
1 n mi
1 n
S i ,h + ij ,( r +1) h ij ,th n
mi S i , h
ij
n
qr t =1 h =1
i =1 j =1
i =1
mi
mi
i =1
i =1
= E
q
r
n mi
r
n mi
1
1 n mi
1
ij ,th + n
ij +
ij ,th
n
n
r mi t =1 i =1 j =1
mi i =1 j =1
qr mi t =1 h =1 i =1 j =1
i =1
i =1
i =1
= S i2,h
mi
i =1
m S
i =1
i ,h
n
1
1
mi S i , h +
T2 +
T2
2
2
n
n
i =1
r mi
qr mi
i =1
i =1
2
+
+
r
rE
ij
n
ij ,th kl ,th
2
k i l j
qr mi
1 2 1
2
+ ij + ij + n
qr
mi
i =1
2S i ,h
i =1
2
2
+
qr
qrE
T2
,
,
ij
ij
th
kl
th
2
n
k i l j
n
q 2 r 2 mi
qr mi
i =1
i =1
2
23
= S i2,h
2S i ,h
n
mi
m S
i =1
i =1
i ,h
1
+ n
mi
i =1
n
1 + qr 2
q 1
mi S i , h +
ij +
T2
n
qr
i =1
qr mi
i =1
1
= S i ,h n
mi
i =1
n
1 + qr 2
q 1
mi S i , h +
ij +
T2 (12)
n
qr
i =1
qr mi
i =1
S 1
n
i ,h
mi
i =1
n
1 + qr 2
q 1
1
mi S i , h +
ij +
T2 < ij2 + ij2
n
qr
r
i =1
qr mi
i =1
S 1
n
i ,h
mi
i =1
n
T2
q 1 2
mi S i , h <
ij
n
qr
i =1
mi
i =1
(13)
MSEGSI ijT,( r +1) h < MSEISI ijM,( r +1) h if and only if:
2
S 1
n
i ,h
mi
i =1
n
1 + qr 2
1 + qr 2 q 1 2
q 1
mi S i , h +
ij +
T2 <
ij + 2 i
n
qr
qr
mi qr
i =1
qr mi
i =1
S 1
n
i ,h
mi
i =1
2
2
n
T
q 1 i
mi S i , h <
qr mi2 n
i =1
mi
i =1
(14)
Appendix 2
The Mixed Model
Individual level: Yij ,th = ij S i , h + ij ,th
(15)
24
mi
mi
j =1
j =1
ij S i,h + ij ,th
mi
(16)
mi
ij S i , h + ij ,th
i =1 j =1
(17)
i =1 j =1
1
MSEISI ij ,( r +1) h = 1 + ij2
r
(18)
ij2 im2
2 ij2 m 1 m ik ,il ik il
ij2 i21
= + 2 2 + ... + 2 2 + 2
11 mi r
im mi r mi r k =1 l = k +1 ik il
i
MSEDGSI
M
ij , ( r +1) h
2
ij
(19)
DGSI h =
m
i =1
m
i =1
11 , ij = p ij 11 and ij = p ij 11
r mi
i =1
+ ... +
rp nmn mi
i =1
r
m
rp
i
nmn mi
i =1
i =1
25
r
r
t =1
t =1
...
= ij S i ,h + ij ,( r +1) h
n
n
r mi
rp nmn mi
i =1
i =1
pij nmn S n ,h
pij 11 S1,h
= E ij S i ,h + ij ,( r +1) h n
+ ... +
n
m
p
i
nmn mi
i =1
i =1
r
r
pij nmn ,th
pij 11,th
t =1
t =1
+ ... +
n
n
rp nmn mi
r mi
i =1
i =1
r
r
p
p
11,th
ij nmn ,th
ij S1,h
ij S n ,h ij
1
=
t =1
t
= E ij S i ,h + ij ,( r +1) h n
+ ... + n
+ ... +
n
n
m
m
r
m
rp
i
i
nmn mi
i
1
1
1
=
=
=
i =1
i
i
i
r
r
n
m
S
p
p
ij nmn ,th
ij 11,th
ij i i , h
1
1
=
=
t =1
t
i
= E ij S i , h + ij ,( r +1) h
+ ... +
n
n
n
m
r
m
rp
mi
nm
i
i
n
i =1
i =1
i =1
= ij2 S i2,h
ij mi S i ,h
i =1
+ ij2 +
n
mi
i =1
2
2
2
p ij2 r nm
n
+ p ij r 11 + ... +
2
2
n
n
2
2 2
r mi
r p nmn mi
i =1
i =1
2 ij2 S i , h mi S i ,h
i =1
mi
n mi 1 mi
+ 2
i =1 k =1 l = k +1
i =1
= ij2 S i2,h
ij mi S i ,h
i =1
+ ij2 +
n
mi
i =1
p ij2 r ik ,il ik il
2
r 2 mi p ik pil
i =1
n 1
+ 2
mi
mu
i =1 u =i +1k =1 v =1
pij2 r ik ,uv ik uv
2
r mi pik puv
i =1
2
2 ij2 S i ,h mi S i ,h
2 2
2 2
ij nmn
ij 11
i =1
+
+ ... +
2
2
n
n
n
2
mi
112 r mi
nm
r mi
n
=
1
i
i =1
i =1
2
2
2 n mi 1 mi ij ik ,il ik il
2 n 1 n mi mu ij ik ,uv ik uv
+
+
2
2
r i =1 k =1 l =k +1
r i =1 u =i +1k =1 v =1
n
ik il mi
ik uv mi
i =1
i =1
26
Therefore,
MSEDGSI
T
ij , ( r +1) h
mi S i , h
2
i =1
= ij S i ,h n
mi
i =1
ij2
+ 2 +
ij
2
r mi
i =1
ik ,il ik il
2
+
2
2
ik il
i =1 k =1 l = k +1
n
n mi 1 mi
2
ij
n
r mi
i =1
r mi
i =1
2
112
nm
+ ... + 2 n
112
nmn
(20)
ik ,uv ik uv
i =1 u =i +1k =1 v =1
ik uv
n 1
mi
2
ij
mu
mi S i , h
2
i =1
ij S i ,h n
mi
i =1
ij2
+ 2 +
ij
2
r mi
i =1
2
112
nm
+ ... + 2 n
112
nmn
2
+
2
n
r m
i
i =1
ij2 ik ,il ik il
i =1 k =1 l = k +1
ik il
n mi 1 mi
ij2 ik ,uv ik uv 1 2
< 1 + ij
2
ik uv
r
i =1 u =i +1k =1 v =1
n 1
mi
mu
n
r mi
i =1
n mi 1 mi
112
nm
1
2
ik ,il ik il
n
...
+
+
+
2
2
2
2
2
n
n
nm
i =1 k =1 l = k +1 ik il
11
mi
mi
2
i =1
< 1 ij i =1
2
m
m
n 1 n
i
u
r ij
2
1
ik ,uv ik uv
+
< 1 + ij2
n
r
i =1 u =i +1k =1 v =1 ik uv
r mi
i =1
mi S i , h
S i =1
n
i ,h
mi
i =1
(21)
mi Si ,h
112
nm
ij2
n
+ 2 +
+
+
...
ij2 S i ,h i =1 n
ij
2
2
2
n
nmn
11
mi
r mi
i =1
i =1
2
+
2
n
r m
i
i =1
ij2 ik ,il ik il
i =1 k =1 l = k +1
ik il
n mi 1 mi
ij2 im2
2 ij2 m 1 m ik ,il ik il
ij2 ik ,uv ik uv
ij2 i21
2
< ij + 2 2 + ... + 2 2 + 2
2
mi r11
mi rim mi r k =1 l = k +1 ik il
ik uv
i =1 u =i +1k =1 v =1
n
r mi
i =1
n 1
mi
mu
27
S
i ,h
m S
i
i =1
i ,h
m
i =1
1
< 2
rm
i
i21
im2 i
+ ... 2
112
imi
2
112
nm
+ ... + 2 n
112
nmn
mi 1 mi
n mi 1 mi
ik ,il ik il
1
ik ,il ik il
2
+
+ 2
n
ik il
ik il
k =1 l = k +1
i =1 k =1 l = k +1
r mi
m
m
n
1
n
i
u
ik ,uv ik uv
i =1 + 2
ik uv
i =1 u = i +1k =1 v =1
(22)
MSEWGSI
WGSI hT =
=
M
ij ,( r +1) h
2
ij
2
= + 2
ij r i
mi 1 mi
2 + ... + 2 + 2
ij , il ij il
mi
1
j = 1 l = j +1
(23)
MSEWGSI
T
ij ,( r +1) h
n mi r
i =1 j =1 t =1
= E ij S i ,h + ij ,( r +1) h
r A
n mi
n mi r
ij ij S i ,h ij ij ,th
i =1 j =1
i =1 j =1 t =1
= E ij S i , h + ij ,( r +1) h
A
r A
n mi
ij S i ,h
i =1 j =1
2
ij S i ,h
A
=
2
+ ij
n 1 n m m
n m 1 m
ij2 n m 2
+ 2 ij + 2 ij ,iu ij iu + 2 ij ,vl ij vl
r A i =1 j =1
i =1 v =i +1 j =1 l =1
i =1 j =1 u = j +1
(24)
28
n mi
ij S i ,h
i =1 j =1
2
ij S i ,h
A
1
< 1 + ij2
r
ij2
2
+ ij + r 2
A
n mi
ij S i ,h
i =1 j =1
2
ij S i ,h
A
ij2 2 1 2
+ r 2 A < r ij
A
n mi
ij S i ,h
i =1 j =1
S i ,h
A
n mi 1 mi
n 1 n mi mv
n mi 2
ij + 2 ij ,iu ij iu + 2 ij ,vl ij vl
i =1 j =1 u = j +1
i =1 v =i +1 j =1 l =1
i =1 j =1
2
1 ij A2
< r 2 2
A
ij
(25)
n mi
ij S i ,h
n 1 n mi mv
n mi 1 mi
ij2 n mi 2
i =1 j =1
2
+
+
+
+
2
2
ij2 S i ,h
ij ,vl ij vl
ij
ij ,iu ij iu
2 ij
A
r A i =1 j =1
i =1 j =1 u = j +1
i =1 v =i +1 j =1 l =1
mi 1 mi
ij
2
< + 2 2 + ... + 2 + 2
ij r i 1
mi
ij , il ij il
j = 1 l = j +1
n mi
ij S i ,h
i =1 j =1
S i ,h
A
1 i2 A2
< r 2 2
A
i
(26)
Appendix 3
A special case: two levels
The Additive Model
(27)
29
Forecast for item i, the hth season in year r+1 using ISI is:
1 r
Yi,th
r t =1
(28)
1 r
= i2 +
i2
(29)
GSI h =
i =
1 m r
1 m r q
Y
Yi ,th
i,th mqr
mr i =1 t =1
i =1 t =1 h =1
1 r q
Yi,th
qr t =1 h =1
Therefore, the forecast of item i, the hth season in year r+1 is:
1 r q
1 m r
1 m r q
Yi ,th +
Yi ,th
Yi,th
qr t =1 h=1
mr i =1 t =1
mqr i =1 t =1 h=1
1 r q
1 m r
1 m r q
+
MSEGSI i = E Yi ,( r +1) h Yi ,th
Y
Yi ,th
i ,th
qr t =1 h =1
mr i =1 t =1
mqr i =1 t =1 h =1
1 r q
1 m
i + Si , h + i ,( r +1) h i i ,th A Si ,h
qr t =1 h =1
m m i =1
= E
q
m r
m r
1 i ,th + A + 1 i ,th
mr
m mqr i =1 t =1 h =1
i =1 t =1
30
= S i ,h
i + ij i j 2 qr i2 + qr ij i j
r
2
2 2
2
1 m
j i
j i
S i , h + i2 + i + 2A + 2 A +
2
2 2
m i =1
qr
m
r
m
qr
mqr
mq
r
m 1 m
2r 12 + 22 + ... + m2 + 2 jl j l
j =1 l = j +1
2
2
m qr
2 2
2
1 m
= S i ,h S i ,h + i2 + i + 2A 2 A
m i =1
qr m r m qr
(q 1) A2
1 m
1
= S i ,h S i , h + 1 + i2 +
m i =1
m 2 qr
qr
2
(30)
i2
1 m
1 2 (q 1) A2
2
< i +
S i ,h S i ,h + 1 + i +
m i =1
r
m 2 qr
qr
1 m
q 1 2 A2
i 2
S i ,h S i ,h <
m
qr
m
i =1
(31)
(32)
31
MSEDGSI i = E Yi ,( r +1) h i
...
mrp1
mrp m
i S i ,h
p i ( 1,1h + 1, 2 h + ... + 1, rh )
pi ( m ,1h + m , 2 h + ... + m ,rh )
= E i S i , h + i ,( r +1) h i =1
...
m
mr
mrp m
m 1 m
p 2 r 2
p 2 r 2
pi
pi
1 m
r jl j l
= i2 S i ,h S i , h + i2 + i 2 21 + ... + 2i 2 m2 + 2
m i =1
m r
m r pm
j =1 l = j +1 mrp j mrp l
pi2 r 12
pi2 r m2
pi2 m 1 m 1 1
1 m
2
jl j l
= S i ,h S i ,h + i + 2 2 + ... + 2 2 2 + 2 2
m i =1
m r
m r pm
m r j =1 l = j +1 p j p l
2
i
p 2 2
p 2 2
p 2 m 1 m 1 1
1 m
jl j l
= S i ,h S i ,h + i2 + i 2 1 + ... + 2i m2 + 2 2i
m i =1
m r
m rp m
m r j =1 l = j +1 p j p l
2
i
2 2
2 2
2 m 1 m 1 1
1 m
= S i ,h S i ,h + i2 + 2i 1 2 + ... + 2i m2 + 2 2i
jl j l (33)
m i =1
m r 1
m r m
m r j =1 l = j +1 j l
2
i
2
2 2
2 2
2 m 1 m 1 1
1 m
jl j l < i2 + i
S i ,h S i ,h + i2 + 2i 1 2 + ... + 2i m2 + 2 2i
m i =1
r
m r 1
m r m
m r j =1 l = j +1 j l
2
i
2 2 2
2 2
1 m
S i ,h S i ,h < i 2i 1 2 + ... + 2i m2
m i =1
r m r 1
m r m
2
i
2 m 1 m 1 1
2 2i
jl j l
m
r
j
l
j
1
1
=
=
+
j
l
2
m 1 m
1 m
1 2
1 m 2
1 1
S i ,h S i ,h < i2 2 i2 + 2
jl
j l
m
r
i =1
j =1 l = j +1
i
j
l
i =1 i
(34)
32
MSEWGSI i = E Yi ,( r +1) h
r ( p1 + p 2 + ... + p m )
i i S i ,h
p
(
...
...
...
)
+
+
+
+
+
+
1,1h
1, rh
i
m ,1h
m , rh
= E i S i ,h + i ,( r +1) h i =1
A
r ( p1 + p 2 + ... + p m )
i S i ,h
2
i =1
= i S i ,h
pi2
2
+ 2 +
E [ 1,1h + ... + 1,rh + ... + m ,1h + ... + m ,rh ]
i
2
2
r ( p1 + p 2 + ... + p m )
i S i ,h
2
i =1
= i S i ,h
pi2
+ 2 +
i
r 2 ( p1 + p 2 + ... + p m ) 2
i S i ,h
2
i =1
= i S i ,h
2
+ 2 + i
i
r A2
m 1 m
2
...
2
r
r
r jl j l
+
+
+
1
m
j =1 l = j +1
m 1 m
2
2
+
+
+
...
2
jl j l
1
m
j =1 l = j +1
(35)
i S i ,h
2
i =1
i S i ,h
2
+ 2 + i
i
r A2
i S i ,h
2
i =1
i S i ,h
2
2
< i i
r
r A2
i S i ,h
S i =1
i ,h
A
m 1 m
2
i2
2
2
...
2
+
+
+
<
+
1
jl j l i r
m
j =1 l = j +1
m 1 m
2
2
...
2
jl j l
+
+
+
1
m
j =1 l = j +1
m 1 m
2 12 + ... + m2 + 2 jl j l
j =1 l = j +1
< 1 i
2
r i2
A
(36)
33