glmnetcr-package: Penalized Constrained Continuation Ratio Models for Ordinal...

Description Details Author(s) References See Also Examples

Description

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.

Details

Package: glmnetcr
Type: Package
Version: 1.0.3
Date: 2017-09-05
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 <archer.43@osu.edu>

References

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

See also glmnet ~~

Examples

1
2
3
4
5
6
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)

glmnetcr documentation built on Sept. 8, 2017, 1:09 a.m.