Math, asked by harendramgist, 11 months ago

Augmented Dickey-Fuller test cannot be used for identifying if a Time Series is Stationary. true or false

Answers

Answered by akanshgarg
0

The Dickey-Fuller test is a way to determine whether the above process has a unit root. The approach used is quite straightforward. First calculate the first difference, i.e.

image269z

i.e.image270z

If we use the delta operator, defined by Δyi = yi – yi-1 and set β = φ – 1, then the equation becomes the linear regression equation

image271z

where β ≤ 0 and so the test for φ is transformed into a test that the slope parameter β = 0. Thus, we have a one-tailed test (since β can’t be positive) where

H0: β = 0 (equivalent to φ = 1)

H1: β < 0 (equivalent to φ < 1)

Under the alternative hypothesis, if b is the ordinary least squares (OLS) estimate of β, and so φ-bar = 1 + b is the OLS estimate of φ, then for large enough n

image272z

whereimage273z

We can use the usual linear regression approach, except that when the null hypothesis holds the t coefficient doesn’t follow a normal distribution and so we can’t use the usual t test. Instead, this coefficient follows a tau distribution, and so our test consists of determining whether the tau statistic τ (which is equivalent to the usual t statistic) is less than τcrit based on a table of critical tau statistics values shown in Dickey-Fuller Table.

If the calculated tau value is less than the critical value in the table of critical values, then we have a significant result; otherwise we accept the null hypothesis that there is a unit root and the time series is not stationary.

There are the following three versions of the Dickey-Fuller test:

Type 0 No constant, no trend Δyi = β1 yi-1 + εi

Type 1 Constant, no trend Δyi = β0 + β1 yi-1 + εi

Type 2 Constant and trend Δyi = β0 + β1 yi-1 + β2 i+ εi

Each version of the test uses a different set of critical values, as shown in the Dickey-Fuller Table. It is important to select the correct version of the test for the time series being analysed. Note that the type 2 test assumes there is a constant term (which may be significantly equal to zero).

Example 1: The net daily earnings of a small-time gambler are listed in column B of Figure 1. Use the Dickey-Fuller test to determine whether the times series is stationary.

We start by assuming that the correct model is type 1, namely constant but no trend.

Regression time series

Figure 1 – Regression on time series data

Since we are using the regression model

image274z

(constant, no trend) we use the Real Statistics Linear Regression data analysis tool using range B4:B27 and the X data range and D5:D28 as the Y data range. Note that the values in column D are calculated by placing the formula =B5-B4 in cell D5, highlighting the range D5:D28 and pressing Ctrl-D.

The output from the regression analysis is shown on the right side of Figure 1. In particular, we see that the t statistic (cell I19) for the  coefficient is -1.91613. This is the tau statistic. We now look up in the Dickey-Fuller Table, and find that the tau critical value for a type 1 test is -2.985 when n = 25 and α = .05. Since τcrit = -2.985 < – 1.91613 = τ, we cannot reject the null hypothesis that the time series is not stationary.

Note that the β1 coefficient (cell G20) is negative as expected. If instead the coefficient were positive, then we would know that this type of Dickey-Fuller test was inappropriate since β1 = φ – 1 ≤ 0.

We now display in Figure 2 a plot of the time series values from Figure 1.

chart-dickey-fuller

Figure 2 – Chart of Winnings by Day

We see that there is an apparent downward trend towards the end of the 25 day period and so it is not surprising that the time series is not stationary. In fact, this leads us to choose the type 2 Dickey-Fuller test (with constant and trend). The result of this test is shown in Figure 3.

Dickey-Fuller with trend

Figure 3 – Dickey-Fuller with trend

Since we are using the regression model

image275z

this time, we use A4:B27 from Figure 1 as the X data range and D5:D28 as the Y data range. We see from Figure 3 that the t statistic (cell I21) for the  coefficient is -2.15083. We now look up in the Dickey-Fuller Table, and find that the tau critical value is -3.60269 for a type 2 test when n = 25 and α = .05. Since τcrit = -3.60269 < -2.15083 = τ, we cannot reject the null hypothesis that the time series is not stationary.

Real Statistics Function: The Real Statistics Resource Pack provides the following array function where R1 contains the a column of time series data.

ADFTEST(R1, lab, , , type, alpha): returns a 3 × 1 range which contains the following values: tau-statistic, tau-critical, yes/no (stationary or not)

If lab = TRUE (default is FALSE), the output consists of a 3 × 2 range whose first column contains labels. type = the test type (0, 1, 2, default is 1). The default value for alpha is .05.

Note that for the type 2 test for Example 1, the output from the array formula


Similar questions