x has
a unit root. The general regression
equation which incorporates a constant and a linear trend is used and
the corrected t-statistic for a first order autoregressive coefficient
equals one is computed. To estimate sigma^2 the Newey-West
estimator is used. If shortl is TRUE, then the
truncation lag parameter is set to trunc(4*(n/100)^0.25),
otherwise trunc(12*(n/100)^0.25) is used. The p-values are
interpolated from Table 4.2, p. 103 of Banerjee et al. (1993).
Missing values are not handled.pp.test (x, lshort = TRUE)"htest" containing the following components:x <- rnorm (1000)
pp.test (x)
y <- intgrt (x)
pp.test (y)Run the code above in your browser using DataLab