Autocorrelation Function
Lecture 14
Autocorrelation Functions
(ACF)
Autocorrelation quantifies the linear
relationship between a time series variable and a lagged value of itself over
successive intervals. The autocorrelation diagnoses the time series
characteristics and develops prediction models; it is essential to find patterns
in the data, such as trends, seasonality, and stationarity or the absence thereof.
In other words,
Autocorrelation is a measure of how
closely a time series resembles a lagged version of itself over a series of
time intervals.
Let
Where:
Var(Yt) = Var(Yt-k)
Applications of ACF
i. ACF identifies seasonality in our time series data.
ii. ACF uncovered the hidden pattern in the time series data
and helped the data scientist to select the correct method of forecasting.
iii. The analysis of ACF
and PACF is necessary for selecting the appropriate ARIMA model for any time
series.
(ACF Plot)
A correlogram is a visual way to show serial correlation in
data change over time. In a correlogram or ACF plot, time lag is taken along the x-axis and autocorrelation along the y-axis.
The ACF can be used to determine a time series’ randomness and stationarity. In an ACF plot, each bar represents the size and direction of the connection. Bars that cross the red line are statistically significant.
A significance bound is a confidence interval that indicates whether a spike is statistically significant or not. If the spikes fall outside of this range, they are considered statistically insignificant.
The significance bounds
of ACF and PACF can be obtained as:
The spikes of ACF and PACF above
Practice Question
Find the autocorrelation function of the following data. Also find 95 % confidence
bounds
|
Time |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
|
|
21 |
17 |
16 |
14 |
13 |
10 |
12 |
15 |
21 |
19 |
18 |
16 |
19 |
21 |
24 |
20 |
|
Yt |
Yt-1 |
Yt-2 |
Yt-3 |
|
21 |
|
|
|
|
17 |
21 |
|
|
|
16 |
17 |
21 |
|
|
14 |
16 |
17 |
21 |
|
13 |
14 |
16 |
17 |
|
10 |
13 |
14 |
16 |
|
12 |
10 |
13 |
14 |
|
15 |
12 |
10 |
13 |
|
21 |
15 |
12 |
10 |
|
19 |
21 |
15 |
12 |
|
18 |
19 |
21 |
15 |
|
16 |
18 |
19 |
21 |
|
19 |
16 |
18 |
19 |
|
20 |
19 |
16 |
18 |
|
24 |
21 |
19 |
16 |
|
21 |
24 |
20 |
19 |
|
276 |
|
|
|



No comments:
Post a Comment