
Last chance! 50% off unlimited learning
Sale ends in
readZ(Z = Z, B = NULL, crit = c("none", "R2", "F", "sigmaX"),
varnames = NULL, output = c("index", "names", "all"), X = NULL,
order = 1)
data<-mtcars
#we first search a sub-regression structure
res=structureFinder(X = data,nbini = 30,verbose=0)
#then we can try to interpret it
readZ(Z = res$Z_opt,crit = "R2",output = "all",X = data)
#each component is a sub-regression
#First line : The adjusted R-squared is given
#Second line : the name of the covariate that is regressed by others
#other lines : Coefficients of sub-regression and name of the associated covariate
Run the code above in your browser using DataLab