Unit Root Tests
Unit Root Tests
as a re-scaled random walk. More specifically, a re- An ARMA(p,q) model is defined in terms of its
scaled sum of mean-zero, variance-one random variables lagged values x(t) and its current and past innova-
εi as follows. Define r 2 [0, 1], the limit of the sum con- tions εt as:
verges in distribution to a Wiener process:
X
p X
q
xt = ϕi xt −i + θi εt −i + εt : ð4Þ
1 X
bnrc
lim pffiffiffi εi ) W ðrÞ: ð1Þ i=1 i=1
n! ∞ n D
i=1
It is commonly assumed that the innovations are an
One of the properties of Brownian motion is that independent identically distributed (i.i.d.) Gaussian
given 0 ≤ t ≤ s, W(s) − W(t) is independent of W(u) white noise series εt N(0, σ 2), though this is not a
where u ≤ t and has a Gaussian distribution of N(0, requirement.
s − t). So we can easily see that if we were to use a Equation (4) can be rewritten as:
URT on Brownian motion it would fail to reject the
null since we would be testing Wt = ϕ1Wt − 1 + νt X
p X
q
Xt = X0 ð1 + μt + σWt + …Þ = X0 + X0 f ðWt ,μ, σ, tÞ: ð3Þ where xt is stationary only if the roots of ϕ(L) = 0 all
lie outside of the unit circle.
Given that f(Wt, μ, σ, t) is a random function, it is
very likely that if we perform a URT on xt the null
hypothesis of a unit root will fail to be rejected: Xt = Unit Roots
ϕ1X0 + νt where νt is random and ϕ1 = 1. A unit root is defined as an AR or ARMA process
that has 1 as a valid root of the characteristic polyno-
mial equation as in Chan2, p. 29. Time series with
unit roots are nonstationary processes. In the case of
STATIONARY TIME SERIES an AR(1) process if |ϕ1| = 1 there will be a unit root,
however the focus is usually on ϕ1 = 1; when
A weakly stationary time series process is defined ϕ1 = − 1, even though the variance is not constant
as having a constant mean, and an autocovariance the process will exhibit an oscillatory behavior as the
function γ(s, t) that depends on s and t only sign is reversed in every step, which we would argue
through their difference |s − t|. Throughout this is a less pathological case than when ϕ1 = 1. Con-
document a stationary time series is intended to sider the unit root xt = xt − 1 + εt; this is an integrated
mean a weakly stationary time series. A strictly sta- I(1) process which can be turned into a stationary
tionary time series is one where the joint probabil- process via first differences: Δ(xt) = εt. As detailed in
ity distribution does not change with time. A Chan.2 if AR(p) process has all of its characteristic
strictly stationary process is rarely observed in prac- polynomial roots with an absolute value greater than
tice. A nonstationary time series can have a time one, then such as process is defined to be causal, and
varying mean as well as a time varying covariance will also be stationary.
function.
A process that is integrated order n, I(n), is a
process that needs to be differenced n times to URT Hypotheses
become weakly stationary. A weakly stationary proc- URTs of a time series address the null hypothesis that
ess is referred to as an I(0) process. the series is unit root nonstationary; that is, the
cointegrating relationships, and the Engle Granger residual-based bootstrap and showed with Monte
two step methodology is not sufficiently flexible. In Carlo simulations that the bootstrap corrected size
this case the most common approach is to use the distortions of the asymptotic distribution in finite
Johansen cointegration test, which is based on the samples, and that it had greater power against the
estimation of a pth–order VAR in the k variables. threshold cointegration alternative than conventional
The VAR in the k–vector y is: cointegration tests.
Stigler6 posits that SETAR models are so com-
yt = Π1 yt −1 + Π2 yt −2 + … + Πp yt −p + Ψ Dt + εt : ð12Þ plex that their probability distribution and moments
are only known for simple cases. Estimation for
where Dt is a d –vector of deterministic terms, such more than one threshold is not easy. He points out
as a constant, time trend and seasonal dummies if that in a cointegration model with threshold effects
necessary. The estimation of the rank of the follow- there is no known procedure to test for stationarity
ing matrix Π will approximate the number of possi- with an unknown cointegrating vector. A test to
ble cointegrating relationships if any as follows: determine 2 versus 3 regimes only works in a
restricted case.
Π = − I − Π1 − Π2 − …− Πp : ð13Þ Bec et al.8 proposed the BBC URT which
considers a three-regime SETAR model. They
No assumption is made about the rank of Π. In allow a unit root in the middle regime in the mid-
the decomposition Π = αβ0 , α and β are k x dle regime under the alternative hypothesis, but
k matrices. The goal is to determine whether any not for the high and low regimes. Bec et al. used
columns of β0 are statistically indistinguishable the sup-Wald, sup-LM and sup-LR statistics to
from zero vectors. The existence of r cointegrating derive critical values.
vectors reduces the rank of Π by k − r: that is, if
there were r cointegrating relationships between NOTATION AND ABBREVIATIONS
the given variables, then there would be r nonzero
eigenvalues in the dynamic system, and k − r zero All of the simulations presented in this article were
eigenvalues. See Johansen, S. and Juselius, K.4 for developed using the R language. The R language as
details. The methodology is based on canonical well as many extension packages can be down-
correlation analysis. loaded from [Link] for various
computer architectures including Windows, MacOS
and Linux. The following symbols and abbrevia-
Threshold Cointegration tions are used:
Consider a general cointegration framework of two
time series yt and xt: • The number of time steps in a time series is
denoted by l
yt + αxt = zt : ð14Þ
• The number of simulations is indicated by m
5
Balke and Fomby proposed a general equilibrium • The significance level of the statistical test is
model of zt based on a self exciting threshold auto designated by α; it will be typically 0.05
regressive (SETAR) framework such as the following • The seed used for random number generation
with a low, middle and high regimes: in this article is 12345 for each simulation,
8 unless otherwise noted
< μh + ϕh zt −1 + εt , if zt −1 > θH , • Each simulation follows a specified data genera-
zt = μm + ϕm zt − 1 + εt , if θL ≤ zt −1 ≤ θH , ð15Þ tion process (DGP)
:
μl + ϕl zt − 1 + εt , if zt −1 < θL :
• χ ~ N(0, 1): A Gaussian distributed random
6 variable with mean 0 and variance 1
As Stigler points out the common assumed case
where Equation (15) is stable is when ϕh < 1 • χ ~ U(a, b): A uniformly distributed random
and ϕl < 1. variable between a and b where a < b
Seo7 developed a test for the linear no cointe-
gration null hypothesis against threshold cointegra-
IMPORTANCE OF URTS
tion in a threshold vector error correction model.
They used a sup-Wald type test and derived its null URTs are used to determine if time series are likely
asymptotic distribution. They proposed using a nonstationary or not; more specifically in the case of
Johansen X
T ð1
φ1a φ1b r=0 y2t − 1 =T 2 ) σ 2 Wt2 dr: ð25Þ
D 0
t=1
1.010 1.010 1.00
1.000 1.020 1.00
These expressions can be simulated to determine crit-
1.000 1.010 1.00 ical values for these test statistics.
1.000 1.005 0.94 Most standard URTs in the AR(1) framework,
1.000 1.000 0.05 such as the original Dickey-Fuller test, have a null
0.990 0.990 0.17 hypothesis of ϕ1 = 1 and the alternative hypothesis is
|ϕ1| < 1. The case of a negative unit root ϕ1 = − 1
1.000 0.960 0.97
1.000 0.970 0.80 leads to a distribution of ϕ^1 + 1 that is the mirror
image of the standard Dickey-Fuller distribution as
1.000 0.980 0.42
detailed in Ref 10, p. 55. The situation when |ϕ1| > 1
1.000 0.990 0.12
this leads to an explosive case. As derived in Phillips
1.000 0.900 1.00 and Magadalinos15 the asymptotics of the estimation
1.000 0.200 1.00 error of ϕ1 in this case under certain assumptions is
0.900 0.900 1.00 Cauchy distributed. This distribution is problematic
0.500 0.500 1.00 as it has no finite moments of order greater than or
equal to one.
0.200 0.200 1.00
We can extend the DGP (18) to have a con-
stant and a linear trend; Using OLS these extra
δ^ = T ϕ^1 − 1 ; ð19Þ terms can be removed. This will affect the critical
values of the test statistics. Zivot16 suggests a simu-
ϕ^1 − 1 lation approach based in R. This approach was
τ^ = ; ð20Þ extended for the trend and drift terms for the nor-
σ^ϕ^
malized bias (NB) and t-type (DF) test statistics; the
R code to perform these simulations is detailed in
where ϕ^1 is the standard coefficient estimate as
Listing 1.
derived using ordinary least squares:
Results of running the simulation code from
XT Listing 1 and comparisons with the critical values
yt yt −1 from the R qunitroot() function from the fUnitRoots
ϕ^1 = Xt =T1 ; ð21Þ R package as reported by MacKinnon.17 are detailed
y2
t = 1 t−1 in Listing 2:
XT XT We see in Listing 2 that the simulated values
y ðy − yt − 1 Þ
t = 1 t−1 t
yt − 1 εt
ϕ^1 − 1 = XT = Xt =T 1 : ð22Þ and the ones computed by MacKinnon17 as reported
y2 y2 in the qunitroot() function of the fUnitRoots R pack-
t = 1 t −1 t = 1 t−1
age are relatively close.
The last step in Equation (22) is based on Said and Dickey18 extended the Dickey
εt = yt − yt − 1. Fuller URT for ARMA models and not just
Given these previous equations we can now AR(1) models; this is known as the Augmented
define the normalized bias as a function of the obser- Dickey Fuller (ADF) URTs and is one of the
vations yt: most commonly used URTs in the literature Ref
10, p. 33. The ADF test regression is fitted
XT XT using OLS:
yt − 1 εt yt − 1 εt =T
δ^ = T Xt =T 1 = XtT= 1 : ð23Þ
2 2 =T 2 X
n
t=1
y t −1 t=1
y t −1 Δyt = α + δt + βyt − 1 + γ i Δyt − i + εt ; ð26Þ
i=1
As detailed in Table 7.1 of Ref 14, p. 197 for the
DGP (18) following sample quantities have a limiting where Δ is the difference operator and εt represent 0-
form expressed as functionals of Brownian motion: mean white-noise innovations. Under the null
Listing 1
NB and DF Test Statistic Simulations
hypothesis yt is considered to be I(1) which is equiva- t-ratio of γ i is still significant. For the ADF test
lent to Δyt being I(0) in which case β would be zero. details see Ref 18.
The test statistic is the standard regression t-statistic
^
tβ = s:e:β β^ . A normalized bias test statistic can be used
ðÞ
as well. Elliott, Rothenberg and Stock URTs
The tests’ authors derived the critical values See Ref 20, p. 93, for a detailed overview of the
for these test statistics as they follow a nonstandard Elliott, Rothenberg and Stock (ERS) URTs; the fol-
distribution; they are the same as the standard lowing overview is taken from there. To increase the
Dickey-Fuller critical values which depend on the power of a URT under the null hypothesis of a unit
form of the deterministic components. The lagged root, ERS [1996] proposed a local to unity detrend-
differences allow correcting for serial correlation in ing of the time series. The assumed generating proc-
the innovations. The ADF URT is sensitive to the ess for the series yt is as follows:
choice of the number of lags n. Ng and Perron19
0
proposed an iterative method to determine the lag yt = dt + ut ut = aut − 1 + vt dt = β^ zt ; ð27Þ
length based on choosing the largest lag where the
Listing 2
Critical Values of Simulated DF Statistics
where zt is a deterministic (q × 1) vector and νt is a And a = 1 + c=T where c is a constant, set to −7 in the
stationary zero-mean process. If a = 1 the yt is I(1), case of a constant or −13.5 in the case of a linear
but if |a| < 1 then yt is I(0). trend. The second test type is denoted as the DF-GLS
The authors developed feasible point-optimal test, which is a modified ADF-type test applied to the
tests, which take serial correlation of the error term detrended data without the intercept, which is the t -
into account. The feasible point-optimal test statistic statistic for testing α0 = 0 in the regression:
is defined as:
Δytd = α0 ytd− 1 + α1 Δytd−1 + … + αp Δytd− p + εt ; ð31Þ
Sða = aÞ−aSða = 1Þ
PT = ; ð28Þ
ω^2 ’
where ytd are residuals fromyt − β^ zt
where S(a = a) and S(a = 1) are the sums of squared Both of these tests are available in the urca pack-
residuals from a least-squares regression of ya on Za age in the [Link]() function. Later in this article we will
with ya = (y1, y2 − ay1,..., yT − ayT − 1) and Za = (z1, see in simulation experiments that these ERS tests
z2 − az1,..., zT − azT − 1) and ya is a T-dimensional become invalid when the initial value y0 is not 0, and
vector and Za is a (T × q) matrix. The estimator for also when the AR(1) ϕ1 multipliers are negative.
the variance of the error process νt is:
Phillips-Perron URT
σ^2
ω^ = Xν 2 ; ð29Þ Phillips and Perron21 developed a URT that corrects
p
1− i=1
^
αi for serial correlation and heteroskedasticity of the
innovations. Pfaff20, p. 95, reviews the Phillips-Perron
(PP) procedure details. The PP test regression is fitted
where σ^2ν and α^i for i = 1,..., p are from the OLS
using OLS. The first case is with out a linear-trend:
regression:
yt = μ + αyt − 1 + εt ; ð32Þ
Δyt = α0 + α1 Δyt − 1 + … + αp + 1 Δyt − p + νt ð30Þ
statistic of a rank of less than or equal to 1. If where rt is a random walk and the innovations are
this test statistic is less than or equal to the criti- assumed to be i.i.d. 0, σ 2u . r0 is assumed to be a con-
cal value for the specified significance level α stant level. If ξ < > 0 then the model will contain a
then do not reject the null of I(1). Otherwise, if time trend component in addition to the level. Under
the statistic is greater than the critical value the null hypothesis yt is assumed to be I(0) so that
reject the null of I(1) and accept the alternative σ 2u = 0 and rt = r0 = constant.
of I(0) or an explosive process (|ϕ1| > 1). The test statistic is derived as follows. First yt is
• The Johansen cointegration test has different regressed on a constant or a constant plus a linear trend.
critical values depending on whether the esti- The partial sums St of the residuals ε^t are computed:
mated relationship is assumed to have a con-
X
t
stant, a linear trend or is driftless. We use the St = ε^i , t = 1, .. ., T : ð47Þ
Johansen critical values corresponding to the i=1
driftless case when there are no deterministic
elements. If we allowed for a constant and/or a The test statistic LM is computed as:
trend then the Johansen critical values corre- XT
sponding to the trend case multiplied by 1.04 t=1 t
S2
are used. These critical values were determined LM = ; ð48Þ
σ^ε 2
via various simulation studies, under various
scenarios and time series lengths. where σ^ε 2 is an estimate of the error variance of the
residuals. The authors suggest using a Bartlett win-
The Zivot Andrews (ZA) URT, or many other URTs dow w(s, l) = 1 − s/(l + 1) as an optimal weighting
such as ADF, can be combined with the lagged-series function for estimating the long run variance of the
URT as detailed in Algorithm 1 to increase the statis- errors:
tical power of the ZA test in the case where
AR(1) process is explosive, that is |ϕ1| > 1. The deter- X X
T l
s X T
ministic component can incorporate either an inter- σ^ε 2 = T −1 ε^t 2 + 2T − 1 + ε^t ε^t − 1 : ð49Þ
cept, time trend, or both. The value of C was t=1 s=1
l + 1t =s+1
determined via simulation studies.
The critical values of the test statistic are given in
Algorithm 1 ZA-lagged-series URT Ref 23.
C 20.09299
x0 LaggedSeriesUnitRootTest( tsx, lag, cvalLevel)@Statistic Zivot Andrews URT
x1 [Link](tsx,model=‘trend’)@Statistic Andrews and Zivot24 developed a URT (ZA) that
if x1 > CriticalValue and x0 < C then can handle structural breaks. The test statistic of the
return( I(1) ) /* Unit Root Nonstationary */
ZA test is the Student t ratio just as was the case with
else
return( I(0) or Explosive) /* Stationary or |ϕ1| > 1 */
the PP test. As detailed in Ref 20, p. 110:
h i i
end if
tα^i λ^inf = inf tα^i ðλÞ for i = A,B,C; ð50Þ
λ2Δ
yt = μ^C + θ^C DUt λ^ + β^C t + α^C tyt − 1 + γ^B DTt* λ^ Time Series with I(0) and I(1) Segments
Kim28 showed that standard URTs are not consistent
X
k
c^C ^t ; against processes displaying a shift from stationarity
+ i Δyt −i + ε ð53Þ
i=1 (I(0)) to nonstationarity (I(1)) and vice versa. There-
fore new methods are required for differentiating
where DUt(λ) = 1 if t > Tλ and 0 otherwise, and between processes that are I(0) or I(1) for the entire
DTt* ðλÞ = t −λT for t > Tλ and 0 otherwise. The null period v.s. those with a shift from I(0) to I(1) or vice
hypothesis of the ZA URT does not allow structural versa.
breaks. Only breaks are allowed in the alternative Kejriwal et al.29 proposed hybrid testing proce-
hypothesis. Glynn et al.25 criticize this since if there dures that allows ruling out of stable stationary pro-
are breaks under the null (ϕ1 = 1) we can mistakenly cesses or ones that are subject to only stationary
conclude that the series is stationary (with breaks). changes under the null, helping the researcher in
The critical values are derived via simulation of the t- interpreting a rejection as emanating from a switch
test statistic under the null, and in the asymptotic between an I(1) and an I(0) regime. The authors use
case can be derived as a functional of Brownian a combination of their own developed URTs together
motions. with a test with a null of no breaks versus an alterna-
tive with one or more breaks given by Bai and Per-
ron.26 The calculation of the test statistics and the
asymptotic critical values are done using the dynamic
Removing Structural Changes Prior to Unit programming algorithm proposed in Perron
Root Testing and Qu.30
Kejriwal et al.29 used the approach of detrend-
Estimating Change Points ing the data when trends are included prior to using
The Bai and Perron26 procedure for estimating struc- their hybrid testing procedure and they suggest using
tural breaks/change points in a linear model is imple- a sequential procedure developed by Kejriwal et al.29
mented in the breakpoints() function of the that is robust to whether the errors are I(1) or I(0).
strucchange R package (Ref 27, p. 12). The smallest time series length the authors consider
This methodology assumes an underlying linear is 150.
model with a dependent one dimensional variable yt, Herranz22 proposed a testing procedure
a p × 1 covariates vector xt with corresponding coef- referred to as the Hybrid Bai-Perron-ADF procedure
ficient vector β, and the innovations εt: whereby given a time series to consider if the series
follows one of the following four possibilities:
yt = xt β + εt . (54)
• The entire series is stationary (I(0))
If there are m change points in the coefficient
this implies m + 1 regimes. Equation (54) can be • The entire series is nonstationary (I(1))
rewritten as: • The series consists of a stationary segment (I(0))
followed by a nonstationary segment (I(1))
yt = xt βj + εt j = Tj − 1 + 1, .. ., Tj ,j = 1, .. ., m + 1 : ð55Þ • The series consists of a nonstationary segment
(I(1)) followed by a stationary segment (I(0))
The underlying idea is solving the problem by divid-
ing it into independent optimally solvable sub-pro- The proposed approach is to use the Bai and Per-
blems, whose solutions can be combined to solve the ron26 methodology of estimating structural break
larger problem. In this case a triangular residual sum date/s based on finding the model specification that
of squares (RSS) matrix is computed and stored in minimizes the RSS via a dynamic programming
memory which can be reused over and over again to approach, and then to use the ADF URT to test each
derive the RSS for a segment starting at observation section to determine if it is likely I(0) or I(1). To do
t and ending at t0 with t < t0 . this we use the following regression Model (56) with
This approach is considerably faster than the the Bai and Perron26 procedure which will estimate
brute force approach of computing the RSS for all pos- structural breaks in the coefficients β0, β1, β2:
sible sub-segments. The Bai and Perron26 algorithm
uses only O(T2) least squares operations for a number xðt Þ = β0 + β1 t + β2 xðt − 1Þ + εt : ð56Þ
m of change points. The brute force approach would
require O(Tm) least squares operations.
Listing 3
ADF URTs on IBM Segments
If the Bai and Perron26 structural break meth- We see in Listing 3 that the null hypothesis of a
odology does not find a break date, then we run the unit root cannot be rejected for any of the three seg-
ADF test on the entire time series–and both segments ments, which leads us to conclude they are likely
would have the same result. nonstationary: I(1),I(1),I(1). This finding is consistent
If we assume that if any structural changes in with the common assumption that asset prices follow
linear trend and/or intercept happen they do so at the a random walk. Even though breakpoints are esti-
same time as a structural break in mated using the Bai and Perron31 procedure the ADF
AR(1) autoregressive multiplier ϕ1 then the ADF and tests show that it is likely the AR(1) multiplier ϕ1 is
the Bai and Perron26 methodology were highly accu- 1, even if the drift has a changepoint. Visually we see
rate, then the ADF test would fit the correct linear that there is a level-shift between the first and second
trend and intercept in each segment; in any case segments, and there is likely a linear trend starting in
experiments show that the Bai and Perron26 the third component.
approach can handle changes in β2 across both I(0) I
(0) and I(1) regimes, as well as when there are
changes in the other coefficients.
Figure 1 shows in red vertical bars the esti-
URTS ROBUST TO STRUCTURAL
mated break-points using this procedure with Model CHANGES UNDER THE NULL
(56) on historical IBM prices. When the ADF URT Perron (1989) URT
was run on each of the three segments, the null
Perron32 proposed URTs for processes with a linear
hypothesis of a unit root was never rejected.
trend with a break in intercept with the unit root as a
null hypothesis, and the break model without the
IBM. close unit root as an alternative hypothesis:
200
H0 : yt = yt − 1 + μ1 + ðμ2 −μ1 ÞIft > TB g + βt + et ,
180 H1 : yt = μ1 + ðμ2 −μ1 ÞIft > TB g + βt + et ; ð57Þ
140
AðLÞet = BðLÞvt ; vt i:i:d 0, σ 2 ; ð58Þ
120 with A(L) and B(L) pth and qth order polynomials, so
the innovation series {et} is taken to be an ARMA
(p,q) process.
Mar 04 Oct 01 Apr 01 Oct 01
2014 2014 2015 2015
And the AR(1) multiplier of yt − 1 is estimated
using OLS (ϕ^1 ). As presented by Ref 10, p. 60 ϕ^1 is
F I G U R E 1 | Estimated changepoints in IBM prices. asymptotically biased towards 1, but is consistent for
Model (57), which makes this test have low statistical for auto-correlated innovations is made by adding
power. lagged terms ΔeSt − j where j = 1,..., k. The location of
Perron32 also considers tests for a process with the break TB is determined by searching across all
breaks in intercept in trend and intercept: breakpoints and picking the one with the most nega-
tive eτ:
H0 : yt = yt − 1 + μ1 + ðμ2 − μ1 ÞIft > TB g
Δyt = δ0 ΔZt + ϕe
St −1 + ut ; ð61Þ xt = β0 + β1 t + β2 xt − 1 + εt : ð65Þ
e
St = yt − Ψ x − Zte
δ,t = 2, …, T; ð62Þ DGP (65) was used to simulate the time series
under the null hypothesis (H0) of a unit root with
where e δ is the coefficients estimated in the regression 1 structural break at time TB to derive the critical
of Δyt on ΔZt and Ψ e x is the restricted MLE of Ψ x = values of the test statistic (via simulation):
Ψ + X0 given by y1 − Z1e δ. The unit root null hypothe-
sis consists of ϕ = 0 and the LM(Lagrange multiplier) yt = ϕ1 yt − 1 + μ1 + ðμ2 −μ1 ÞIft > TB g
t-test statistic eτ = t-statistic testing the null hypothesis + ðt − TB Þðβ2 −β11 ÞIft > TB g + βt + et ,
ϕ = 0. As in the case with the ADF test, a correction
TABLE 6 | Proportions of Failures to Reject the Null Hypothesis of a processes with one structural break in intercept and
Unit Root of URTs on Driftless AR(1) Processes with φ1 < 0 and one structural break in linear trend with independent
l = 1000, m = 1000, and α = 5 % and x0 = 20 identically distributed Gaussian innovations for vari-
ZA- ous values of ϕ1. The break time is determined at
Lagged- ERS- ERS- lagged- random; it is uniformly distributed, and the same
φ1 ADF series Ptest DFGLS series ZA break time is used for the intercept change and the
−1.0000 0.01 0.00 0.99 0.99 0.00 0.00 linear trend change. It is tested with two different sets
of intercept and trend levels.
−0.9900 0.01 0.00 0.98 0.97 0.00 0.00
−0.9500 0.01 0.00 0.87 0.97 0.00 0.00 yt = xt + α1 + ðα2 −α1 ÞIft > tu g + β1 t
−0.9000 0.01 0.00 0.76 0.98 0.00 0.00
+ ðβ2 − β1 Þðt − tu ÞIft > tu g,
−0.7000 0.01 0.00 0.66 0.99 0.00 0.00
−0.5000 0.01 0.00 0.63 1.00 0.00 0.00 xt = ϕ1 xt −1 + εt ;εt i:i:d: N ð0,1Þ,
−0.3000 0.01 0.00 0.62 1.00 0.00 0.00 x0 N ð0,1Þ,
−0.1000 0.02 0.00 0.61 1.00 0.00 0.00
tu Uð3, l − 2Þ;t = 1, .. ., l: ð68Þ
0.0000 0.02 0.00 0.61 1.00 0.00 0.00
1.0000 0.96 0.95 0.34 0.95 0.96 0.95
The results can be summarized as follows. For
DGP (68) the intercepts and trends are picked uni-
summarized as follows: The null hypothesis is formly random for each simulation as follows:
rejected as follows from best to worst: α1, α2, β1, β2 ~ U(−1,1):
• lagged-series, ZA and ZA-lagged-series fully • Data simulated under the alternative hypothesis
reject the null and the ADF test almost fully for where ϕ1 > 1: The ERS, ADF and ZA tests do
all tested negative values of ϕ1 clearly outper- not significantly reject the null hypothesis of a
forming the ERS tests, which perform quite unit root even though ideally they should in this
poorly in these cases with negative ϕ1. case. However the ZA and the ZA-lagged-series
tests reject 75% of the test cases when ϕ1 = 1.01.
• Data simulated under the null hypothesis where
ϕ1 = 1: Four of the URTs reject the null hypoth-
URTs on AR(1) with Breaks esis as expected close to the significance level of
Table 7 summarizes the results of simulations per- 5%: ADF 3%, ERS-Ptest 2%, lagged-series 2%
formed with DGP (68). This model consists of AR(1) and ERS-DFGLS 2%. However the ZA and the
ZA-lagged-series tests have a rejection rate of
TABLE 7 | Proportions of Failures to Reject Unit Root Null 77% under the null. The ZA related tests are
Hypothesis of URTs on AR(1) Processes with one Structural Break in the worst performing test under the null
Intercept U(−1,1) and Linear Trend U(−1,1) with l = 200, m = 1000,
hypothesis.
x0 ~ N(0, 1) and α = 5 %
• Data simulated under the alternative hypothesis
ZA- where ϕ1 < 1 : The null hypothesis is never sig-
Lagged- ERS- ERS- lagged- nificantly rejected with the ADF, the lagged-
φ1 ADF series Ptest DFGLS series ZA
series and both ERS tests regardless of the value
1.010 0.98 0.96 0.98 0.98 0.25 0.25 of ϕ1. The ZA and the ZA-lagged-series tests
1.005 0.97 0.98 0.98 0.98 0.24 0.24 reject the null hypothesis 100% or more of the
1.000 0.97 0.98 0.98 0.98 0.23 0.23 cases when ϕ1 ≤ 0.0.
0.990 0.97 0.97 0.98 0.98 0.23 0.23
0.980 0.97 0.97 0.97 0.97 0.23 0.23 The results are understandable as the Zivot Andrews
0.970 0.96 0.96 0.96 0.96 0.21 0.21
URT does not allow breaks under the null; it only
allows breaks under the alternative hypothesis. When
0.960 0.95 0.96 0.94 0.95 0.20 0.20
using standard URTs such as the ADF test it is not
0.950 0.95 0.95 0.93 0.94 0.18 0.18 possible to distinguish a stationary process with
0.900 0.92 0.92 0.87 0.88 0.12 0.13 structural breaks in the linear trend from a unit root
0.000 0.88 0.85 0.93 0.88 0.00 0.00 with a drift(trend) as detailed in Ref 10, p. 60.
TABLE 9 | Proportions of Failures to Reject the Unit Root Null TABLE 10 | Proportions of Failures to Reject the Unit Root Null
Hypothesis of Unit Root Tests on Various Threshold AR(1) Processes Hypothesis on a AR(1) Series with a Break in φ1, l = 100, m = 1000
with l = 200, m = 1000, and α = 0.05, z0 = 0 and α = 0.05
Lagged- Break
θH θL φ1H φ1M φ1L ADF series BBC Proportion φ1A φ1B ADFA ADFB ADFAB
2.0 −2.0 1.00 1.00 1.00 0.94 0.96 0.95 0.50 0.000 0.000 0.06 0.06 0.06
2.0 −2.0 0.00 0.00 0.00 0.00 0.00 0.00 0.50 1.000 1.000 0.94 0.94 0.96
2.0 −2.0 1.00 0.90 1.00 0.90 0.95 0.95 0.50 1.000 0.500 0.93 0.65 0.91
2.0 −2.0 1.00 1.10 1.00 0.96 0.95 0.95 0.25 0.000 0.000 0.06 0.06 0.06
2.0 −2.0 1.01 1.10 1.01 0.99 0.96 0.98 0.25 1.000 1.000 0.94 0.94 0.96
2.0 −2.0 0.90 1.00 0.90 0.01 0.44 0.80 0.25 1.000 0.500 0.79 0.43 0.74
2.0 −2.0 0.90 1.10 0.90 0.02 0.57 0.70
20.0 −20.0 1.00 0.90 1.00 0.01 0.32 0.83
• Fully explosive process (ϕ1H = 1:01, ϕ1M = 1:1, ϕ1L
20.0 −20.0 1.00 1.10 1.00 1.00 0.44 0.54
= 1:01): All tests hardly reject the null hypothesis
20.0 −20.0 1.01 1.10 1.01 1.00 0.95 0.81 of a unit root.
20.0 −20.0 0.90 1.00 0.90 0.94 0.95 0.89
20.0 −20.0 0.90 1.10 0.90 1.00 0.20 0.00 For the previously discussed SETAR simula-
tions not one of the examined URTs outperformed
all of the others in every case. It is clear that the time
series length is a significant factor in these tests, as
cases as dictated by the significance level of well as of course the threshold settings. If the process
0.05: ADF 6%, lagged-series 4% and does not have sufficient data in all thresholds then it
BBC 5%. is impossible to expect the tests to work across all
• Unit root(ϕ1H = ϕ1L = 1, ϕ1M < > 1): When the thresholds.
threshold range is (θL = − 2, θH = 2) all the
tests perform relatively well and reject only Simulations with the Hybrid Bai-Perron
close to 5% of the test cases as expected.
When the threshold range is (θL = − 20,
ADF I(0)/ I(1) Testing Procedure
θH = 20) with ϕ1M = 0:9 the results are signifi-
yt = ϕ1A yt − 1 Ift ≤ TB g + ϕ1B yt − 1 Ift > TB g,
cantly worse where the lagged-series tests reject ð70Þ
68% of the tests of a unit root and the ADF y0 N ð0,1Þ:
test rejects 99% of the cases. However the
BBC only rejects 17% of the cases; the process Simulations performed using the DGP (69) which has
spends considerable more time in the middle breaks only in the AR ϕ1 multiplier with a time series
regime than with the smaller thresholds. When of length l = 100 are summarized in Table 10.
We can see that this new Hybrid Bai-Perron-
ϕ1M = 1:1 the ADF tests do not reject the null
ADF testing procedure is sensitive to the time series
root hypothesis at all, and the lagged-series
length and the location of the structural break. When
and the BBC test reject much more, 56% and
compared to using a single URT on the entire time
46% respectively.
series, this approach can be significantly more accu-
• Stationary process (ϕ1H = ϕ1L = 0:9): When the rate, as can be seen in the case with ϕ1A = 1 and
threshold range is (θL = − 2, θH = 2) only the ϕ1B = 0:5 where we make a greater error if we assume
ADF test sufficiently rejects the null hypothe- that the entire series is homogeneous
sis of a unit root. When the threshold range I(1) or I(0).
is (θL = − 20, θH = 20) when ϕ1M = 1 all of the
tests do not significantly reject the null of a
unit root. When the middle regime is explo- CONCLUSIONS
sive (ϕ1M = 1:1) the BBC tests fully reject all Unit roots can lead to spurious regressions if used in
cases of a unit root, the lagged-series rejects linear regression analyses so we must test our time
80% of the cases and the ADF does not series with URTs beforehand to ensure they are likely
reject any. stationary processes. If with each time series tested
we cannot reject the null hypothesis of a unit root, the Bai and Perron31 structural break detection meth-
then a cointegration analysis should be pursued, odology, and then testing each time series segment with
however we must be aware that near-unit root pro- a URT such as ADF.18 In this paper we only consid-
cesses can result in spurious cointegration. There is ered I(0) and I(1) time series, and did not discuss I
no single URT that is optimal under every scenario. (2) or higher integration orders of time series, nor did
There are complications such as considering whether we consider fractionally integrated time series.b
or not to include deterministic components such as
linear trends or not under the null hypothesis, or NOTES
how long of a lag we should use in a URT. In the a
case where there are changepoints/breaks in the [Link]
b
deterministic components under the null hypothesis In this article it was not possible to review entirely the
we must be aware that most URTs, such as the ADF ever increasing literature on URTs and related theory. A
test,18 will not have sufficient statistical power to good introduction providing some of the tools necessary to
derive asymptotic formulas in URTs is Ref 14. A relatively
ever reject the null hypothesis. In these cases a URT
short yet very comprehensive book on URTs which has
such as the LS49 should be used. been referred to in this article is Ref 10, which includes
We must also realize that most of the URT’s many topics not included in this review such as additional
assume that the time series tested do not exhibit chan- URTs, fractional unit roots, panel unit roots, seasonal unit
gepoints in the level of the auto-regressive multiplier roots and Bayesian inference methods in unit roots. Per-
ϕ1. Consider testing the underlying time series for haps the most extensive and complete books on URTs cov-
breaks in all relevant parameters, including ϕ1 using ering key concepts and extensions Refs 11 and 12.
REFERENCES
1. Fama EF. The behavior of stock market prices. J Bus 11. Patterson K. Unit Root Tests in Time Series Volume 1:
1965, 38:34–105. Key Concepts and Problems. Palgrave Texts in Econo-
2. Chan NH. Time Series Applications to Finance with R metrics. Palgrave Macmillan; 2011. ISBN:
and S-Plus. Hoboken, NJ: John Wiley & Sons, Inc.; 2010. 9780230250246. Available at: [Link]
com/books?id=ST85bwAACAAJ.
3. Engle RF, Granger CWJ. Co-integration and error-cor-
rection: representation, estimation, and testing. Econo- 12. Patterson K. Unit Root Tests in Time Series Volume 2:
metrica 1987, 55:251–276. Extensions and Developments. Palgrave Texts in Econ-
4. Johansen S, Juselius K. Maximum likelihood estima- ometrics. Palgrave Macmillan; 2012. ISBN:
tion and inference on cointegration – with applications 9780230250260. Available at: [Link]
to the demand for money. Oxf Bull Econ Stat 1990, com/books?id=iE9CaLJQMNwC.
52:169–210. 13. Dickey DA, Fuller WA. Likelihood ratio statistics for
5. Balke NS, Fomby TB. Threshold cointegration. Int autoregressive time series with a unit root. Econome-
Econ Rev 1997, 38:627–645. trica 1981, 49:1057–1072.
6. Stigler M. Threshold cointegration: overview and 14. Patterson K. A Primer for Unit Root Testing. Basing-
implementation in R; 2010. Available at: [Link] stoke: Palgrave Macmillan; 2010.
[Link]/CRAN/web/packages/tsDyn/vignettes/
[Link] 15. Phillips PCB, Magadalinos T. Limit Theory for moder-
ate deviations from a unit root under weak depend-
7. Seo B. Bootstrap testing for the null of no cointegration ence. Cowles Foundation Discussion Papers 1517,
in a threshold vector error correction model. J Econ Cowles Foundation for Research in Economics, Yale
2006, 127:129–150. University; 2005. Available at: [Link]
8. Bec F, Ben Salem M, Carrasco M. Detecting mean rever- p/cwl/cwldpp/[Link]
sion in real exchange rates from a multiple regime STAR
16. Zivot E. Unit root tests, Econ584 Class Notes; 2005.
model. RCER Working Papers 509, University of Roches-
ter - Center for Economic Research (RCER); 2004. Availa- 17. MacKinnon JG. Numerical distribution functions for
ble at: [Link] unit root and cointegration tests. J Appl Econ 1996,
9. Granger CWJ. Current Perspectives on Long Memory 11:601–618.
Processes. zsfassung in chines: Sprache; 2000. 18. Said SE, Dickey DA. Testing for unit roots in autore-
10. Choi I. Almost All About Unit Roots. New York: gressive-moving average models of unknown order.
Cambridge University Press; 2010. Biometrika 1984, 71:599–607.
19. Ng S, Perron P. Unit root tests in arma models with 36. Di Narzo A, Di Narzo F, Aznarte JL, Stigler M. tsDyn:
data-dependent methods for the selection of the trun- time series analysis based on dynamical systems the-
cation lag. J Am Stat Assoc 1995, 90:268–281. ory, r package version 0.7; 2009. Available at: http://
20. Pfaff B. Analysis of Integrated and Cointegrated Time [Link]/CRAN/web/packages/tsDyn/vignettes/
Series with R. 2nd ed. New York: Springer; 2008. [Link]
21. Phillips PCB, Perron P. Testing for a unit root in time 37. Kipinski L, Konig R, Sieluzycki C, Kordecki W. Appli-
series regression. Biometrika 1988, 75:335–346. cation of modern tests for stationarity to single-trial
22. Herranz E. New unit root tests to decrease spurious meg data. Biol Cybern 2011, 105:183–195.
results with applications in finance and temperature 38. Koruek M, Ozkaya A. A new method to estimate
anomalies. PhD Thesis, George Mason Univer- short-run and long-run interaction mechanisms in
sity, 2016. interictal state. Digit Signal Process 2010, 20:347–358.
23. Kwiatkowski D, Phillips PCB, Schmidt P, Shin Y. Test- 39. Coggin TD. Using econometric methods to test for
ing the null hypothesis of stationarity against the alter- trends in the hadcrut3 global and hemispheric data.
native of a unit root. J Econ 1992, 54:159–178. Int J Climatol 2012, 32:315–320.
24. Andrews D, Zivot E. Further evidence on the great 40. Romilly P. Time series modelling of global mean tem-
crash, the oil price shock, and the unit-root hypothesis. perature for managerial decision-making. J Environ
J Bus Econ Stat 1992, 10:251–276. Manage 2005, 76:61–70.
25. Glynn J, Perera N, Verma R. Unit root tests and struc-
41. Ivanov MA, Evtimov SN. 1963: the break point of the
tural breaks: a survey with applications. Rev Métodos
northern hemisphere temperature trend during the
Cuantit Para La Econ La Empresa 2007, 55:63–79.
twentieth century. Int J Climatol 2010, 30:61–70.
26. Bai J, Perron P. Estimating and testing linear models
42. Whyte JM, Metcalfe AV. A proposed mildly explosive/
with multiple structural changes. Econometrica 1998,
self-exciting threshold autoregressive model applied to
66:47–78.
climatic time series. In: 19th International Congress on
27. Zeileis A, Leisch F, Hornik K, Kleiber C. Strucchange: Modelling and Simulation, MODSIM2011, Perth,
an r package for testing for structural change in linear Australia, 2011.
regression models. J Stat Softw 2002, 7:1–38.
43. Chuine I, Yiou P, Viovy N, Seguin B, Daux V, Ladurie
28. J. Y. Kim, Inference on segmented cointegration. Econ-
ELR. Historical phenology: grape ripening as a past
omet Theor pp. 620–639 2003), ISSN 1469-4360.
climate indicator. Nature 2004, 432:289–290.
29. Kejriwal M, Perron P, Zhou J. Wald tests for detecting doi:10.1038/432289a.
multiple structural changes in persistence. Economet
44. Sobradelo R, Mart J, Mendoza-Rosas AT, Gómez G.
Theor 2013, 29:289–323.
Volcanic hazard assessment for the canary islands
30. Perron P, Qu Z. Estimating restricted structural change (spain) using extreme value theory. Nat Hazards Earth
models. J Econ 2006, 134:373–399. Syst Sci 2011, 11:2741–2753.
31. Bai J, Perron P. Computation and analysis of multiple
45. Ramana D, Kumar J, Singh R, Chadha R. Co-integra-
structural change models. J Appl Econ 2003, 18:1–22.
tion models for koyna and warna reservoirs, India. Int
32. Perron P. The great crash, the oil price shock, and the J Geosci 2015:1173–1178.
unit root hypothesis. Econometrica 1989,
57:1361–1401. 46. Vargas C, Kastle E. Does the sun trigger earthquakes?
Nature 2012:595–600.
33. Lee J, Strazicich MC. Minimum lm unit root test with
one structural break. Working Papers 04-17, Depart- 47. Oluwole OSA. Climate regimes, El Niño-southern
ment of Economics, Appalachian State Univer- oscillation, and meningococcal meningitis epidemics.
sity; 2004. Front Public Health 2015:187.
34. Lee J, Strazicich MC. Minimum Lagrange multiplier 48. Skrastins A, Lauks G, Jeinskis J. Testing the null
unit root test with two structural breaks. Oxf Bull hypothesis of stationarity of internet traffic. Electron
Econ Stat 2003, 85:1082–1089. Elect Eng 2011:29–32.
35. Diethelm W, et al. fUnitRoots: Trends and Unit Roots, 49. Lee J, Strazicich MC. Break point estimation and spu-
r package version 3010.78, 2013. Available at: https:// rious rejections with endogenous unit root tests. Rev
[Link]/package=fUnitRoots. Econ Stat 2001, 63:535–558.