Group 9 Time Series Data Analysis (ARIMA)
Group 9 Time Series Data Analysis (ARIMA)
TIRUCHIRAPALLI
DATA ANALYTICS
M.Tech
Industrial Engineering & Management
OVERVIEW
ARIMA model
Implementation.
R programming
Python – 1.PANDAS 2. MATPLOTLIB
INTRODUCTION
A time series is a sequence of data being recorded at
specific time intervals.
These data points are analyzed to forecast a future.
It is time dependent.
1) Constant mean
2) Constant variance
3) No seasonality
Seasonality : Repeating trends/patterns over time
How to check stationarity
VisualInspection
Dickey Fuller test
How to check stationarity
What Dickey-Fuller test?
Imagine a series where a fraction of the
current value is depending on a fraction of
previous value of the series.
DF builds a regression line between fraction
of the current value yt and fraction of
previous value δyt-1
The usual t-statistic is not valid, thus D-F
developed appropriate critical values. If p
value of DF test is <5% then the series is
stationary.
TESTING STATIONARITY
P value has to be less than 0.05 or 5%.
If p value is greater than 0.05 or 5%, you
accept the null hypothesis, you conclude
that the time series has a unit root.
In that case, you should first difference
the series before proceeding with analysis.
Dickey-Fuller Test for stationarity
Itis unlikely that more than two regular differencing would ever
be needed
Sometimes regular differencing by itself is not sufficient and
prior transformation is also needed.
(Contd)Example1
US net electricity generation (billion kWh). Other panels show the same
data after transforming and differencing.
(Contd)Example 2
where
Ø1 is PAC of order 1
Ø2 is PAC of order 2