The auxiliar regression is defined as, $\delta y_t = \rho y_{t-1} + \epsilon_t,$
where $\delta$ is the first order operator. Hence, under the null hypothesis $\rho=0$ and the
long run unit root 1 exists.
Three types of subsamples are considered: "backw", the statistic is computed for the last nsub
observations and then one year backwards is added until the beginning of the sample; "forw", the
statistic is computed for the first nsub
observations and then one year forwards is added until
the end of the sample; "moving", the statistic is computed over moving subsamples of length nsub
.
Available methods are the following. "aic"
and "bic"
follows a top-down strategy based on
the Akaike's and Schwarz's information criteria, and "signf"
removes the non-significant lags at
the 10% level of significance until all the selected lags are significant. By default, the maximum
number of lags considered is $round(10*log10(n))$, where $n$ is the number of observations.
It is also possible to set the argument selectlags
equals to a vector, mode=c(1,3,4)
, then
those lags are directly included in the auxiliar regression and Pmax
is ignored.
Regressor variables are not considered in this procedure.