Penalized Constrained Continuation Ratio Models for Ordinal Response Prediction using glmnet

Share:

Description

This package provides a function glmnet.cr 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.

Details

Package: glmnetcr
Type: Package
Version: 1.0
Date: 2011-03-02
License: GPL2.0
LazyLoad: yes

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.

Author(s)

Kellie J. Archer

Maintainer: Kellie J. Archer <kjarcher@vcu.edu>

References

Kellie J. Archer and Andre A.A. Williams (2011) Technical Report.

See Also

See also glmnet ~~

Examples

1
2
3
4
5
6
data(diabetes)
x <- diabetes[, 2:dim(diabetes)[2]]
y <- diabetes$y
glmnet.fit <- glmnet.cr(x, y)
AIC <- select.glmnet.cr(glmnet.fit, which="AIC")
fitted(glmnet.fit, s=AIC)