cv.sglpath: Sorts cross-validation output

View source: R/cv.sglfit.R

cv.sglpathR Documentation

Sorts cross-validation output

Description

Computes cvm and cvsd based on cross-validation fit.

Usage

cv.sglpath(outlist, lambda, x, y, foldid, ...)

Arguments

outlist

list of cross-validation fits.

lambda

a sequence of λ parameter.

x

regressors

y

response

foldid

the fold assignment.

...

other arguments passed to predict.sgl

Value

cvm and cvsd.


midasml documentation built on April 29, 2022, 9:06 a.m.