glmpathcr-package | R Documentation |
This package provides a function glmpathcr for fitting a penalized L1 continuation ratio model for predicting an ordinal response and associated methods for plotting, getting predicted values, estimating coefficients for selected models.
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 a penalized continuation ratio model 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 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 glmpath
data(diabetes)
x <- diabetes[, 2:dim(diabetes)[2]]
y <- diabetes$y
fit <- glmpathcr(x, y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.