Learn R Programming

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

rms

Regression Modeling Strategies

Current Goals

  • Implement estimation and prediction methods for the Bayesian partial proportional odds model blrm function

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
  • Implement user-added distributions in psm - see https://github.com/harrelfe/rms/issues/41

Copy Link

Version

Install

install.packages('rms')

Monthly Downloads

31,669

Version

6.6-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Frank Harrell Jr

Last Published

April 9th, 2023

Functions in rms (6.6-0)

bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
Predict

Compute Predicted Values and Confidence Limits
Rq

rms Package Interface to quantreg Package
Glm

rms Version of glm
anova.rms

Analysis of Variance (Wald and F Statistics)
bj

Buckley-James Multiple Regression Model
ExProb

Function Generator For Exceedance Probabilities
Gls

Fit Linear Model Using Generalized Least Squares
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
Function

Compose an S Function to Compute X beta from a Fit
cr.setup

Continuation Ratio Ordinal Logistic Setup
contrast.rms

General Contrasts of Regression Coefficients
ggplot.Predict

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

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

Resampling Model Calibration
bplot

3-D Plots Showing Effects of Two Continuous Predictors in a Regression Model Fit
datadist

Distribution Summaries for Predictor Variables
fastbw

Fast Backward Variable Selection
gendata

Generate Data Frame with Predictor Combinations
cph

Cox Proportional Hazards Model and Extensions
lrm.fit

Logistic Model Fitter
importedexported

Exported Functions That Were Imported From Other Packages
lrm.fit.bare

lrm.fit.bare
ie.setup

Intervening Event Setup
hazard.ratio.plot

Hazard Ratio Plot
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
impactPO

Impact of Proportional Odds Assumpton
latexrms

LaTeX Representation of a Fitted Model
latex.cph

LaTeX Representation of a Fitted Cox Model
lrm

Logistic Regression Model
plot.contrast.rms

plot.contrast.rms
npsurv

Nonparametric Survival Estimates for Censored Data
ols

Linear Model Estimation Using Ordinary Least Squares
orm

Ordinal Regression Model
orm.fit

Ordinal Regression Model Fitter
pentrace

Trace AIC and BIC vs. Penalty
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
matinv

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

Draw a Nomogram Representing a Regression Fit
print.impactPO

Print Result from impactPO
pphsm

Parametric Proportional Hazards form of AFT Models
print.Glm

print.glm
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
print.cph

Print cph Results
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
print.ols

Print ols
predictrms

Predicted Values from Model Fit
predab.resample

Predictive Ability using Resampling
poma

Examine proportional odds and parallelism assumptions of `orm` and `lrm` model fits.
residuals.ols

Residuals for ols
processMI

processMI
residuals.cph

Residuals for a cph Fit
processMI.fit.mult.impute

processMI.fit.mult.impute
rms

rms Methods and Generic Functions
residuals.lrm

Residuals from an lrm or orm Fit
rms.trans

rms Special Transformation Functions
rms-internal

Internal rms functions
psm

Parametric Survival Model
residuals.Glm

residuals.Glm
specs.rms

rms Specifications for Models
survfit.cph

Cox Predicted Survival
survest.cph

Cox Survival Estimates
summary.rms

Summary of Effects in Model
setPb

Progress Bar for Simulations
sensuc

Sensitivity to Unmeasured Covariables
survest.psm

Parametric Survival Estimates
rmsMisc

Miscellaneous Design Attributes and Utility Functions
robcov

Robust Covariance Matrix Estimates
survplot

Plot Survival Curves and Hazard Functions
vif

Variance Inflation Factors
validate.ols

Validation of an Ordinary Linear Model
validate.cph

Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fit
validate.lrm

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

Dxy and Mean Squared Error by Cross-validating a Tree Sequence
which.influence

Which Observations are Influential
validate

Resampling Validation of a Fitted Model's Indexes of Fit
validate.Rq

Validation of a Quantile Regression Model
val.prob

Validate Predicted Probabilities
val.surv

Validate Predicted Probabilities Against Observed Survival Times
rmsOverview

Overview of rms Package