`gcv()' Methods for `l1ce' and `l1celist' Objects.
This is a method for the function
gcv() for objects inheriting
# S3 method for l1ce gcv(object, type = c("OPT", "Tibshirani"), gen.inverse.diag = 0, …) # S3 method for l1celist gcv(object, type = c("OPT", "Tibshirani"), gen.inverse.diag = 0, …)
an object of class
character (string) indicating whether to use the covariance formula of Osborne, Presnell and Turlach or the formula of Tibshirani.
if Tibshirani's formula for the covariance matrix is used, this value is used for the diagonal elements of the generalised inverse that appears in the formula that corresponds to parameters estimated to be zero. The default is 0, i.e. use the Moore-Penrose inverse. Tibshirani's code uses
gen.inverse.diag = 1e11.
further potential arguments passed to methods.