# NOT RUN {
x <- rnorm(1000)
Hu_Chen_Unit_Root(x, case = 1, lags = 6, lsm = 3)
y <- cumsum(rnorm(1000))
Hu_Chen_Unit_Root(y, 1, 3, 2)
data(IBM)
Hu_Chen_Unit_Root(IBM, case = 2,lags = 12, lsm = 2)
# }
Run the code above in your browser using DataLab