Time Series Analysis: 1 Contributed by National Academy of Statistical Administration
Time Series Analysis: 1 Contributed by National Academy of Statistical Administration
Principally judgement-based
Medium Term
1 season to 2 years
Short Term
1 day to 1 year, less than 1 season
levels
Quantitative methods
Coordinates 80,000
(t,x) is 75,000
established in
70,000
65,000
the 2 axis 60,000
55,000
(1, 44,320) 50,000
A graphical Exports
representation
of time series.
80,000
75,000
We use x as a 70,000
function of t: 65,000
60,000
x= f(t) 55,000
Trend Cyclical
Time-Series
Seasonal Random
Trend (Tt )
Seasonal variation (St )
Cyclical variation ( Ct )
Random variation (Rt )
or irregular
Summer Summer
30
25
20
15
10
5
0
-5
-10 Winter Winter
25
20
15
Sales
10
0
0 5 10 15 20 25 30 35
Time
Contributed by National Academy
of Statistical Administration 18
Seasonal Components Removed
Quarterly without Seasonal Com ponents
25
20
15
Sales
Y(t)
10
0
0 5 10 15 20 25 30 35
Tim e
Possible causes
Unseasonable weather/natural disasters
Strikes
Sampling error
Nonsampling error
We will study :
Moving average.
Exponential smoothing
Actual Forecast
14
13
12
11
10
9
8
7
6
5
4
3
1 2 3 4 5 6 7 8 9 10 11 12
for k=4.
Stage 1. ( y1 y2 y3 y4 )
MA1,1
4
( y 2 y3 y 4 y5 )
MA1, 2
Stage 2. 4
MA1,1 MA1, 2
MA1
2
and so on.
Contributed by National Academy
of Statistical Administration 48
Smoothing techniques:
Moving Average (MA)
MA stage 1 MA stage 2:
Observation Series
MA Centered
1 5 MA1,1 #NA
MA1,2
2 6 #NA MA1
6.5
3 7 7.1
4 8
9.0
5 10
10.3
6 11 #NA
7 12 #NA
Contributed by National Academy
of Statistical Administration 49
Measuring the seasonal effect
Yt Tt Ct St Rt
MA remove St and Rt
Step 1
4 0.534 0.658 0.811 0.864
1998 1 0.541 0.635 0.852 0.895
2 0.694 0.632 1.098 1.098
3 0.816 0.657 1.241 1.144
Step 2 4 0.569 0.658 0.864 0.864
1999 1 0.558 0.628 0.889 0.895
2 0.694 0.617 1.124 1.098
Step 3 3 0.685 0.642 1.068 1.144
(calculation 2000
4
1
0.564
0.585
0.650
0.637
0.867
0.918
0.864
0.895
see next slide) 2 0.666 0.650 1.023 1.098
3 0.758 0.688 1.101 1.144
4 0.594 0.705 0.843 0.864
2001 1 0.625 0.696 0.898 0.895
2 0.785 0.703 1.116 1.098
3 0.821 1.144
4 by National
Contributed 0.630
Academy 0.864
of Statistical Administration 53
Calculating seasonal index
Quarterly ratios
Year 1 2 3 4 Total
1997 1.171 0.811
1998 0.852 1.098 1.241 0.864
1999 0.889 1.124 1.068 0.867
2000 0.918 1.023 1.101 0.843
2001 0.898 1.116
Average 0.889 1.090 1.137 0.858 3.974
Seasonal
index 0.895 1.098 1.144 0.864 4.000
Example:
Seasonal index for Quarter 1 = 0.889/3.974*4.000=0.895
Contributed by National Academy
of Statistical Administration 54
Negative trend is also a trend..
unemployed
1200000
1000000
800000
600000
400000
200000
0
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35