Time Series Data
Time Series Data
1
Learning Objectives
2
What Is Forecasting?
3
Forecasting Approaches
6
Time Series Data
• When working with time series data, it is vital that the data
is plotted so the researcher can view the data.
7
Time Series Components
Time Series Components
Trend
Time Series Components
Trend Cyclical
Time Series Components
Trend Cyclical
Seasonal
Time Series Components
Trend Cyclical
Seasonal Irregular
Trend Component
Response
Time
Cyclical Component
Time
Seasonal Component
Summer
Response
Mo., Qtr.
Seasonal Component
19
Random or Irregular Component
– Nature
– Accidents
20
Introduction To Stationary And
Non-Stationary Processes
21
Cooking Raw Data
22
Cooking Raw Data
23
Cooking Raw Data
24
Non-Stationary Behavior
25
Eviews: How to convert a
variable into stationary?
26
Eviews: How to convert a
variable into stationary?
27
Eviews: How to convert a
variable into stationary?
28
Eviews: How to convert a
variable into stationary?
29
Eviews: How to convert a
variable into stationary?
30
Eviews: How to convert a
variable into stationary?
31
Eviews: How to convert a
variable into stationary?
32
Eviews: How to convert a
variable into stationary?
33
Eviews: How to convert a
variable into stationary?
• Correlogram or Q statistics
H0: Variable is stationary (Stationary)
HA: Variable is not stationary (Non Stationary)
34
Eviews: How to convert a
variable into stationary?
35
Eviews: How to convert a
variable into stationary?
36
Eviews: How to convert a
variable into stationary?
37
Eviews: How to convert a
variable into stationary?
38
Eviews: How to convert a
variable into stationary?
39
Eviews: How to convert a
variable into stationary?
40
Types of Non-Stationary
Processes
41
Types of Non-Stationary
Processes
42
Random Walk with Drift
(Yt = α + Yt-1 + εt ) Intercept only
43
Deterministic Trend
(Yt = α + βt + εt ) Trend and Intercept
44
Pure Random Walk
(Yt = Yt-1 + εt ) No Trend, No Intercept
45
Pure Random Walk
(Yt = Yt-1 + εt ) No Trend, No Intercept
46
How to detect and remove non
stationary behavior (Unit Root test)
48
How to detect and remove non
stationary behavior (Unit Root test)
49
How to detect and remove non
stationary behavior (Unit Root test)
50
How to detect and remove non
stationary behavior (Unit Root test)
51
How to detect and remove non
stationary behavior (Unit Root test)
52
How to detect and remove non
stationary behavior (Unit Root test)
53
How to detect and remove non
stationary behavior (Unit Root test)
54
How to detect and remove non
stationary behavior (Unit Root test)
55
How to detect and remove non
stationary behavior (Unit Root test)
56
How to detect and remove non
stationary behavior (Unit Root test)
57
How to detect and remove non
stationary behavior (Unit Root test)
58
How to detect and remove non
stationary behavior (Unit Root test)
59
How to detect and remove non
stationary behavior (Unit Root test)
60
How to detect and remove non
stationary behavior (Unit Root test)
61
How to detect and remove non
stationary behavior (Unit Root test)
62
How to detect and remove non
stationary behavior (Unit Root test)
63
How to detect and remove non
stationary behavior (Unit Root test)
64
How to detect and remove non
stationary behavior (Unit Root test)
65
How to detect and remove non
stationary behavior (Unit Root test)
66
How to detect and remove non
stationary behavior (Unit Root test)
67
How to detect and remove non
stationary behavior (Unit Root test)
68
How to detect and remove non
stationary behavior (Unit Root test)
69
How to detect and remove non
stationary behavior (Unit Root test)
70
How to detect and remove non
stationary behavior (Unit Root test)
71
How to detect and remove non
stationary behavior (Unit Root test)
72
How to detect and remove non
stationary behavior (Unit Root test)
73
How to detect and remove non
stationary behavior (Unit Root test)
74
How to detect and remove non
stationary behavior (Unit Root test)
• File Name: Unit root test to detect non stationarity
76
Optimal Lag Selection in VAR
78
Optimal Lag Selection in VAR
79
Optimal Lag Selection in VAR
80
Optimal Lag Selection in VAR
81
Optimal Lag Selection in VAR
82
Optimal Lag Selection in VAR
84
Optimal Lag Selection in VAR
85
Optimal Lag Selection in VAR
86
Optimal Lag Selection in VAR
87
Optimal Lag Selection in VAR
• AIC = 6.43
88
Optimal Lag Selection in VAR
89
Optimal Lag Selection in VAR
90
Optimal Lag Selection in VAR
• AIC = 6.19
91
Optimal Lag Selection in VAR
92
Optimal Lag Selection in VAR
93
Optimal Lag Selection in VAR
• AIC = 6.38
94
Optimal Lag Selection in VAR
95
Optimal Lag Selection in VAR
(Alternative Method)
96
Optimal Lag Selection in VAR
(Alternative Method)
97
Optimal Lag Selection in VAR
(Alternative Method)
98
Optimal Lag Selection in VAR
(Alternative Method)
99
Optimal Lag Selection in VAR
(Alternative Method)
100
Optimal Lag Selection in VAR
(Alternative Method)
101
Optimal Lag Selection in VAR
(Alternative Method)
102
Optimal Lag Selection in VAR
(Alternative Method)
103
Cointegration
104
Cointegration
• Cointegration Definition
• Cointegration Definition
106
Cointegration
107
Cointegration
• For example, if the dog wanders too far away from his
owner, he'll tend to move in his direction to avoid losing
him, so the two stay close together despite a tendency to
wander around on their own.
109
Johansen Cointegration Test
110
Johansen Cointegration Test
111
Johansen Cointegration Test
112
Johansen Cointegration Test
113
Johansen Cointegration Test
114
Johansen Cointegration Test
115
Johansen Cointegration Test
• Trace Statistics:
116
Johansen Cointegration Test
• Max-Eigen Statistics
117
Johansen Cointegration Test
• Conclusion:
118