Learn R Programming

⚠️There's a newer version (8.0-0) of this package.Take me there.

rms (version 4.1-0)

Regression Modeling Strategies

Description

Regression modeling, testing, estimation, validation, graphics, prediction, and typesetting by storing enhanced model design attributes in the fit. rms is a collection of functions that assist with and streamline modeling. It also contains functions for binary and ordinal logistic regression models, ordinal models for continuous Y with a variety of distribution families, and the Buckley-James multiple regression model for right-censored responses, and implements penalized maximum likelihood estimation for logistic and ordinary linear models. rms works with almost any regression model, but it was especially written to work with binary or ordinal regression models, Cox regression, accelerated failure time models, ordinary linear models, the Buckley-James model, generalized least squares for serially or spatially correlated observations, generalized linear models, and quantile regression.

Copy Link

Version

Install

install.packages('rms')

Monthly Downloads

31,669

Version

4.1-0

License

GPL (>= 2)

Maintainer

Frank E Harrell Jr

Last Published

December 5th, 2013

Functions in rms (4.1-0)

Glm

rms Version of glm
latex.cph

LaTeX Representation of a Fitted Cox Model
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
Gls

Fit Linear Model Using Generalized Least Squares
Function

Compose an S Function to Compute X beta from a Fit
nomogram

Draw a Nomogram Representing a Regression Fit
Srv

Front-end to survival package Surv function
Rq

rms Package Interface to quantreg Package
gIndex

Calculate Total and Partial g-indexes for an rms Fit
vif

Variance Inflation Factors
orm

Ordinal Regression Model
lrm.fit

Logistic Model Fitter
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
gendata

Generate Data Frame with Predictor Combinations
Predict

Compute Predicted Values and Confidence Limits
bj

Buckley-James Multiple Regression Model
psm

Parametric Survival Model
print.cph

Print cph Results
fastbw

Fast Backward Variable Selection
ie.setup

Intervening Event Setup
calibrate

Resampling Model Calibration
residuals.ols

Residuals for ols
which.influence

Which Observations are Influential
predictrms

Predicted Values from Model Fit
anova.rms

Analysis of Variance (Wald and F Statistics)
cr.setup

Continuation Ratio Ordinal Logistic Setup
contrast.rms

General Contrasts of Regression Coefficients
specs.rms

rms Specifications for Models
ols

Linear Model Estimation Using Ordinary Least Squares
bplot

3-D Plots Showing Effects of Two Continuous Predictors in a Regression Model Fit
orm.fit

Ordinal Regression Model Fitter
sensuc

Sensitivity to Unmeasured Covariables
rms-internal

Internal rms functions
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
survfit.cph

Cox Predicted Survival
val.prob

Validate Predicted Probabilities
residuals.lrm

Residuals from an lrm or orm Fit
pphsm

Parametric Proportional Hazards form of AFT Models
print.ols

Print ols
survplot

Plot Survival Curves and Hazard Functions
predab.resample

Predictive Ability using Resampling
survfit.formula

Compute a Survival Curve for Censored Data
robcov

Robust Covariance Matrix Estimates
lrm

Logistic Regression Model
validate.Rq

Validation of a Quantile Regression Model
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
pentrace

Trace AIC and BIC vs. Penalty
survest.psm

Parametric Survival Estimates
val.surv

Validate Predicted Probabilities Against Observed Survival Times
ExProb

Function Generator For Exceedance Probabilities
rmsMisc

Miscellaneous Design Attributes and Utility Functions
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
hazard.ratio.plot

Hazard Ratio Plot
rms.trans

rms Special Transformation Functions
setPb

Progress Bar for Simulations
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
validate.cph

Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fit
latexrms

LaTeX Representation of a Fitted Model
rms

rms Methods and Generic Functions
validate

Resampling Validation of a Fitted Model's Indexes of Fit
survest.cph

Cox Survival Estimates
cph

Cox Proportional Hazards Model and Extensions
rmsOverview

Overview of rms Package
summary.rms

Summary of Effects in Model
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model
validate.ols

Validation of an Ordinary Linear Model
datadist

Distribution Summaries for Predictor Variables
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
validate.rpart

Dxy and Mean Squared Error by Cross-validating a Tree Sequence
residuals.cph

Residuals for a cph Fit