glmpathcr-package {glmpathcr}R Documentation

Fit a Penalized Continuation Ratio Model for Predicting an Ordinal Response: Penalized L1 continuation Ratio Models for Ordinal Response Prediction in High-dimensional Data Settings

Description

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.

Details

The DESCRIPTION file:

Package: glmpathcr
Type: Package
Title: Fit a Penalized Continuation Ratio Model for Predicting an Ordinal Response
Version: 1.0.10
Date: 2024-01-24
Authors@R: c(person(c("Kellie", "J."), "Archer", email = "archer.43@osu.edu", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-1555-5781")), person("Andre", "Williams", role = "aut"))
Maintainer: Kellie J. Archer <archer.43@osu.edu>
Description: Provides a function for fitting a penalized constrained continuation ratio model using the glmpath algorithm and methods for extracting coefficient estimates, predicted class, class probabilities, and plots as described by Archer and Williams (2012) <doi:10.1002/sim.4484>.
License: GPL-2
Depends: R (>= 4.2.0), glmpath
Suggests: tools
BuildResaveData: best
LazyLoad: yes
NeedsCompilation: no
Author: Kellie J. Archer [aut, cre] (<https://orcid.org/0000-0003-1555-5781>), Andre Williams [aut]

Index of help topics:

coef.glmpathcr          Extract All Model Coefficients
diabetes                Gene Expression in Normal, Impaired Fasting
                        Glucose, and Type II Diabetic Males
glmpathcr               Fit Penalized Continuation Ratio Model
glmpathcr-package       Fit a Penalized Continuation Ratio Model for
                        Predicting an Ordinal Response: Penalized L1
                        continuation Ratio Models for Ordinal Response
                        Prediction in High-dimensional Data Settings
model.select            Step of Optimal Fitted AIC or BIC CR Model.
nonzero.coef            Extract Non-Zero Model Coefficients
plot.glmpathcr          Plots the Regularization Path Computed from
                        glmpathcr
predict.glmpathcr       Predicted Class and Fitted Probabilities from
                        glmpathcr Object
summary.glmpathcr       Summarize a glmpathcr Object

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.

Author(s)

Kellie J. Archer [aut, cre] (<https://orcid.org/0000-0003-1555-5781>), Andre Williams [aut] Kellie J. Archer <archer.43@osu.edu>

Maintainer: Kellie J. Archer <archer.43@osu.edu> 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 glmpath

Examples

   data(diabetes)
   x <- diabetes[, 2:dim(diabetes)[2]]
   y <- diabetes$y
   fit <- glmpathcr(x, y)

[Package glmpathcr version 1.0.10 Index]