glmnetcr-package | R Documentation |
This package provides a function glmnetcr
for fitting penalized constrained continuation ratio models for predicting an ordinal response and associated methods for plotting, printing, extracting predicted classes and probabilities, and extracting estimated coefficients for selected models in the regularization path.
The DESCRIPTION file:
This package was not yet installed at build time.
Index: This package was not yet installed at build time.
This package contains functions for fitting penalized constrained continuation ratio models and extracting estimated coefficients, predicted class, and fitted probabilities. The model and methods can be used when the response to be predicted is ordinal, and is particularly relevant when there are more covariates than observations.
Kellie J. Archer [aut, cre] (<https://orcid.org/0000-0003-1555-5781>) Kellie J. Archer <archer.43@osu.edu>
Maintainer: Kellie J. Archer <archer.43@osu.edu> Kellie J. Archer <archer.43@osu.edu>
Archer K.J., Williams A.A.A. (2012) L1 penalized continuation ratio models for ordinal response prediction using high-dimensional datasets. Statistics in Medicine, 31(14), 1464-74.
See also glmnet
~~
data(diabetes)
x <- diabetes[, 2:dim(diabetes)[2]]
y <- diabetes$y
glmnet.fit <- glmnetcr(x, y)
AIC <- select.glmnetcr(glmnet.fit, which="AIC")
fitted(glmnet.fit, s=AIC)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.