Tutorial 10
Tutorial 10
Week 11
Time Series Definition
• Any data that is observed over time is called time series data.
• The aim is to analyse the past behaviour of a variable in order to predict its future
behaviour.
Types of TS data:
• Stationary Data: TS data that exhibits no significant upward or downward trend
overtime.
• Non-Stationary Data: TS data that exhibits a significant upward or downward
trend overtime.
• Seasonal Data: TS data that repeat patterns at regular intervals (seasons) over
time.
Time Series Approaches
Year Sales
1 283
2 288
3 336
4 388
5 406
6 412
7 416
8 435
9 428
10 435
Required:
s 450
400
w 350
e 300
250
r 200
150
100
50
0
1 2 3 4 5 6 7 8 9 10
Comment:
The data appears to be stationary since it does not exhibit a significant upward or downward trend overtime.
2. The two-period Moving average and four-period Moving average predictions:
A
n Year Sales MA(2) MA(4)
s 1 283
2 288
w 3 336 285.5
e 4 388 312
11 431.5 428.5
12 431.5 428.5
4. MSE calculation for MA(2) and MA(4).