# NOT RUN {
dataSim <- carxSimCenTS(nObs=100)
fmls <- list(M1=y~X1,M2=y~X1+X2,M3=y~X1+X2-1)
# }
# NOT RUN {
cs = carxSelect(y~X1,max.ar=3,data=dataSim)
# }
# NOT RUN {
cs = carxSelect(formulas=fmls,max.ar=3,data=dataSim)
# }
# NOT RUN {
#To compute confidence intervals for the selected model, call with CI.compute=TRUE.
cs = carxSelect(formulas=fmls,max.ar=3,data=dataSim,CI.compute=TRUE)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab