sparsereg3D.sel: Model Selection based on Cross-Validation

Description Usage Arguments Value

View source: R/sparsereg3D.sel.r

Description

Model Selection based on Cross-Validation

Usage

1
sparsereg3D.sel(sparse.reg, lambda = 0, ols = FALSE, step = FALSE)

Arguments

sparse.reg

output from pre.sparsereg3D function

lambda

vector of regularization parameter values for lasso regression

ols

logical. If TRUE model will be fitted with OLS insted of using lasso

step

logical. If TRUE stepwise procedure will be used when fitting OLS model

seed

random number generator

Value

List of objects including:

@keywords Model selection


pejovic/sparsereg3D documentation built on Feb. 23, 2018, 9:18 a.m.