data(macro)
y=macro[,"INF"]
pp(y,
type=c("none","const","trend")[3],
lags = c("short", "long", "nil")[2],
use=c("nw","ba")) # If argument "use" is NOT NULL, argument lags will be ignored.
pp(y,lags = c("short", "long", "nil")[2],
type=c("none","const","trend")[3],
use=NULL)
pp(y,lags = c("short", "long", "nil")[2],
type=c("none","const","trend")[3],
use=18)
Run the code above in your browser using DataLab