demo/VARselect.R

# simulate data
ex <- simulData(p=100,n=100,r=0.8,rSN=5)

ex1.Vselect <- VARselect(ex$Y,ex$X,exhaustive.dmax=2)

load(system.file("extdata", "diabetes.rda", package="LINselect"))
attach(diabetes)
ex.diab <- VARselect(y,x2,exhaustive.dmax=5)
detach(diabetes)

Try the LINselect package in your browser

Any scripts or data that you put into this service are public.

LINselect documentation built on Aug. 30, 2023, 9:10 a.m.