Learn R Programming

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

rms

Regression Modeling Strategies

Current Goals

  • A non-downward compatible change will occur in the next release of the package
  • The survfit.formula function (seen by the user as just survfit) for obtaining nonparametric survival estimates will be replaced by the npsurv function
  • The purpose is to avoid conflicts with the survival package
  • survfit.coxph has a new id option that generalizes individual=TRUE; need to change survfit.cph and survest.cph to use that

Web Sites

To Do

  • Fix survplot so that explicitly named adjust-to values are still in subtitles. See tests/cph2.s.
  • Fix fit.mult.impute to average sigma^2 and then take square root, instead of averaging sigma

Copy Link

Version

Install

install.packages('rms')

Monthly Downloads

27,840

Version

5.0-0

License

GPL (>= 2)

Maintainer

Frank E Harrell Jr

Last Published

November 3rd, 2016

Functions in rms (5.0-0)

bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
datadist

Distribution Summaries for Predictor Variables
cph

Cox Proportional Hazards Model and Extensions
anova.rms

Analysis of Variance (Wald and F Statistics)
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
bj

Buckley-James Multiple Regression Model
calibrate

Resampling Model Calibration
cr.setup

Continuation Ratio Ordinal Logistic Setup
contrast.rms

General Contrasts of Regression Coefficients
bplot

3-D Plots Showing Effects of Two Continuous Predictors in a Regression Model Fit
hazard.ratio.plot

Hazard Ratio Plot
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
Glm

rms Version of glm
Gls

Fit Linear Model Using Generalized Least Squares
Function

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

Generate Data Frame with Predictor Combinations
ExProb

Function Generator For Exceedance Probabilities
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
fastbw

Fast Backward Variable Selection
gIndex

Calculate Total and Partial g-indexes for an rms Fit
lrm.fit

Logistic Model Fitter
ols

Linear Model Estimation Using Ordinary Least Squares
ie.setup

Intervening Event Setup
npsurv

Nonparametric Survival Estimates for Censored Data
orm.fit

Ordinal Regression Model Fitter
latexrms

LaTeX Representation of a Fitted Model
latex.cph

LaTeX Representation of a Fitted Cox Model
lrm

Logistic Regression Model
matinv

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

Draw a Nomogram Representing a Regression Fit
predab.resample

Predictive Ability using Resampling
predictrms

Predicted Values from Model Fit
pentrace

Trace AIC and BIC vs. Penalty
pphsm

Parametric Proportional Hazards form of AFT Models
orm

Ordinal Regression Model
print.cph

Print cph Results
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
Predict

Compute Predicted Values and Confidence Limits
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
print.ols

Print ols
rms

rms Methods and Generic Functions
residuals.ols

Residuals for ols
rmsMisc

Miscellaneous Design Attributes and Utility Functions
rms-internal

Internal rms functions
rms.trans

rms Special Transformation Functions
psm

Parametric Survival Model
residuals.cph

Residuals for a cph Fit
residuals.lrm

Residuals from an lrm or orm Fit
robcov

Robust Covariance Matrix Estimates
setPb

Progress Bar for Simulations
survfit.cph

Cox Predicted Survival
survest.cph

Cox Survival Estimates
sensuc

Sensitivity to Unmeasured Covariables
specs.rms

rms Specifications for Models
summary.rms

Summary of Effects in Model
survplot

Plot Survival Curves and Hazard Functions
val.prob

Validate Predicted Probabilities
survest.psm

Parametric Survival Estimates
Rq

rms Package Interface to quantreg Package
val.surv

Validate Predicted Probabilities Against Observed Survival Times
validate

Resampling Validation of a Fitted Model's Indexes of Fit
vif

Variance Inflation Factors
validate.ols

Validation of an Ordinary Linear Model
validate.lrm

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

Dxy and Mean Squared Error by Cross-validating a Tree Sequence
validate.Rq

Validation of a Quantile Regression Model
validate.cph

Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fit
which.influence

Which Observations are Influential
rmsOverview

Overview of rms Package