Description Usage Arguments Value See Also
Selection of the tuning parameter of a nominal model with penalty using cross-validation.
1 |
object |
output of function |
K |
Number of folds. |
trace |
Trace information. |
A list with components:
est |
list containing the parameter estimates on the training sets. Each component corresponds to a different value of lambda, and it is a matrix with K (= number of folds) rows and J (= number of parameters) columns. |
lik |
list containing the negative log-likelihood (not penalized) computed on the validation set. Each component corresponds to a different value of lambda, and it is a vector with length K. |
lambda |
vector of tuning parameters. |
sel |
integer value indicating the selection. |
lambdasel |
value of lambda selected. |
par |
matrix of parameter estimates obtained with function nominalmod. Columns correspond to different values of lambda. |
data |
dataset. |
D |
number of dimensions. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.