Time Series Analysis - Economics
Time Series Analysis - Economics
Time Series Analysis - Economics
Seasonal variation
Short term regular periodic variation,
Occur within short period of time (yearly,
quarterly, monthly, weekly or daily data).
More or less systematic.
Occur due to seasons, weather, festivals,
social customs, religions, culture, etc
Cyclic Variation
Regular patterns that repeat over a long period
of time.
Movement are cyclical.
Occur more than one year.
Four phases exist such as; prosperity (growth),
recession (contraction) , depression (trough) and
recovery (expansion)
Due to the combination of numerous factors,
however, economic booms and depression are
the major causes.
yi Ti Ci I i
Multiplicative model
yi Ti * Ci * I i
yi Ti Ci Si I i
Multiplicative model
yi Ti * Ci * Si * I i
Sales
Year
Sales
1970
5.3
1982
6.2
1971
7.8
1983
7.8
1972
7.8
1984
8.3
1973
8.7
1985
9.3
1974
6.7
1986
8.6
1975
6.6
1987
7.8
1976
8.6
1988
8.1
1977
9.1
1989
7.9
1978
9.5
1990
7.5
1979
1991
1980
7.1
1992
7.2
1981
6.8
Year
3yearly
Total
Sales
3- yearly
MA
7early
Total
7-yearly
MA
1970
5.3 -
1971
7.8
20.9
7 -
1972
7.8
24.3
8.1 -
1973
8.7
23.2
7.7
51.5
7.4
1974
6.7
22
7.3
55.3
7.9
1975
6.6
21.9
7.3
57
8.1
1976
8.6
24.3
8.1
58.2
8.3
1977
9.1
27.2
9.1
56.6
8.1
1978
9.5
27.6
9.2
56.7
8.1
1979
25.6
8.5
50.1
7.2
1980
7.1
22.9
7.6
41.5
5.9
1981
6.8
13.9
4.6
32.4
4.6
1982
6.2
14
4.7
31.6
4.5
1983
7.8
22.3
7.4
40.2
5.7
1984
8.3
25.4
8.5
48
6.9
1985
9.3
26.2
8.7
56.1
8.0
1986
8.6
25.7
8.6
57.8
8.3
1987
7.8
24.5
8.2
57.5
8.2
1988
8.1
23.8
7.9
56.2
8.0
1989
7.9
23.5
7.8
54.1
7.7
1990
7.5
22.4
7.5 -
1991
21.7
7.2 -
1992
7.2 -
Decision: It is obvious that 7-yearly moving average fits the data well
than 3-years moving average.
Exponential smoothing
Exponential smoothing is just the modified form of
moving average in which it assigns more
weights for the time series data, which are more
important.
For example, it is logical to assign more weight for
the most recent data as compared with too old
data for the future prediction.
Therefore, exponential smoothing uses the
moving average with appropriate weights
assigned to the values taken into consideration
in order to arrive at a more accurate forecast.
In general, we have
St = y1 +(1)St-1
Sales
Month
Sales
39
41
37
10
69
61
11
49
58
12
66
18
13
54
56
14
42
82
15
90
27
16
66
Solution:
month
Smoothing
when alpha =
0.2
sales
Smoothing when
alpha = 0.7
39
39
39
37
38.6
37.6
61
43.1
54.0
58
46.1
56.8
18
40.5
29.6
56
43.6
48.1
82
51.2
71.8
27
46.4
40.4
41
45.3
40.8
10
69
50.1
60.6
11
49
49.8
52.5
Contd
12
66
53.1
61.9
13
54
53.3
56.4
14
42
51.0
46.3
15
90
58.8
76.9
16
66
60.2
69.3
Decision: From the graph, It is obvious that that smoothing is less for
alpha=0.7 , while smoothing is too much when alpha = 0.2. Therefore,
alternative value of Alpha may have better explanation.
Analysis of Trend
Trend is one of the important factors of
analyzing time series analysis.
This is particularly important because it is
used as a forecasting model and it has
various advantages over the other
components.
In practice, we use two types of trend
equations: linear and curvilinear model to
study the trend.
yi 0 1 xi
y b0 b1 xi
Where
Y = Actual value of the time series in period
time t.
n= number of the periods.
y = Average value of the time series.
x = Average value of the time (xi)
As mentioned previously,
b1
n xy x y
n x ( x)
2
b0 y b1 x
Age (x)
Repair (y)
Solution:
car
age (x)
Repair (y)
(Rs. 000)
18
21
35
25
54
36
Total
18
33
132
80
xy
x2
b1
n xy x y
n x ( x )
2
5 *132 18 * 33
b1
0.87
2
5 * 80 (18)
and b0 y b1 x
606 0.87 * 306 3.47
Hence the fitted time series mod el
is y 3.47 0.87 x
y an b t c t
ty a t b t c t
t y a t b t c t
2
Sales
1991
13
1992
24
1993
39
1994
65
1995
106
t= year-1993
1991
-2
1992
-1
1993
1994
1995
Sales (y)
Year (t)
t2
t4
Y*t
t2*y
13
-2
16
-26
52
24
-1
-24
24
39
65
65
65
106
16
212
424
247
10
37
227
565
39
.
3
22
.
7
t
5
.
07
t
Now the fitted trend equation is
Sales
Fitted value
1991
13
14
1992
24
22
1993
39
39
1994
65
67
1995
106
105
Year
1992
1993
1994
1995
1996
1997
1998
1999
2000
Age
33
36
39
42
45
48
51
54
57
I Diff.
Year
1991
1992
1993
1994
1995
1996
1997
1998
1999
weig
hts
30
31
33.5
37.5
43.0
50.0
58.5
68.5
80.0
I Diff
1.0
2.5
4.0
5.5
7.0
8.5
10.0
11.5
II Dif
1.5
1.5
1.5
1.5
1.5
1.5
1.5
1.5
Example
Following is the information about the sales
obtained during five years.
Year
Sales
1921
11.4
1931
12.1
1941
13.9
1951
17.3
1961
18.0
Year
Sales
t= (x-1941)/10
t2
t3
t4
t*y
t3*y
1921
11.4
-2
-8
16
-22.8
45.6
1931
12.1
-1
-1
-12.1
12.1
1941
13.9
1951
17.3
17.3
17.3
1961
18
16
36
72
72.7
10
34
18.4
147
Total