coef.GIC.compCL: get coefficients or make coefficient predictions from a...

Description Usage Arguments Value

Description

This function gets coefficients or makes coefficient predictions from a regulaized fitting compCL model, using the stored "compCL.fit" object, and the optimal value chosen for lam.

Usage

1
2
## S3 method for class 'GIC.compCL'
coef(object, s = "lam.min", ...)

Arguments

object

fitted GIC.compCL object.

s

value(s) of the penalty parameter lam at which predictions are required. Default is the value s="lam.min" stored on the CV object, it is the optimal value of lam that gives minimum. Alternatively s="lambda.min" can be used, it is the largest value of lam such that error is within 1 standard error of the minimum. If s is numeric, it is taken as the value(s) of lam to be used.

...

not used. Other arguments to predict.

Value

The coefficients at the requested values for lam.


Zhe-Research/compReg documentation built on May 28, 2019, 8:38 a.m.