Learn R Programming

⚠️There's a newer version (6.8-2) 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

26,057

Version

6.5-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

February 9th, 2023

Functions in rms (6.5-0)

bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
Predict

Compute Predicted Values and Confidence Limits
Gls

Fit Linear Model Using Generalized Least Squares
ExProb

Function Generator For Exceedance Probabilities
Function

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

rms Package Interface to quantreg Package
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
bj

Buckley-James Multiple Regression Model
Glm

rms Version of glm
anova.rms

Analysis of Variance (Wald and F Statistics)
fastbw

Fast Backward Variable Selection
gendata

Generate Data Frame with Predictor Combinations
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
cph

Cox Proportional Hazards Model and Extensions
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
cr.setup

Continuation Ratio Ordinal Logistic Setup
gIndex

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

General Contrasts of Regression Coefficients
ie.setup

Intervening Event Setup
lrm.fit.bare

lrm.fit.bare
latexrms

LaTeX Representation of a Fitted Model
latex.cph

LaTeX Representation of a Fitted Cox Model
impactPO

Impact of Proportional Odds Assumpton
matinv

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

Logistic Regression Model
lrm.fit

Logistic Model Fitter
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
hazard.ratio.plot

Hazard Ratio Plot
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
plot.contrast.rms

plot.contrast.rms
orm.fit

Ordinal Regression Model Fitter
nomogram

Draw a Nomogram Representing a Regression Fit
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
print.Glm

print.glm
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
predictrms

Predicted Values from Model Fit
npsurv

Nonparametric Survival Estimates for Censored Data
print.cph

Print cph Results
ols

Linear Model Estimation Using Ordinary Least Squares
pentrace

Trace AIC and BIC vs. Penalty
predab.resample

Predictive Ability using Resampling
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
residuals.Glm

residuals.Glm
print.impactPO

Print Result from impactPO
rms-internal

Internal rms functions
residuals.cph

Residuals for a cph Fit
rms.trans

rms Special Transformation Functions
rmsMisc

Miscellaneous Design Attributes and Utility Functions
print.ols

Print ols
pphsm

Parametric Proportional Hazards form of AFT Models
rms

rms Methods and Generic Functions
psm

Parametric Survival Model
orm

Ordinal Regression Model
poma

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

Residuals from an lrm or orm Fit
robcov

Robust Covariance Matrix Estimates
sensuc

Sensitivity to Unmeasured Covariables
residuals.ols

Residuals for ols
val.surv

Validate Predicted Probabilities Against Observed Survival Times
validate

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

Progress Bar for Simulations
survplot

Plot Survival Curves and Hazard Functions
val.prob

Validate Predicted Probabilities
survfit.cph

Cox Predicted Survival
survest.psm

Parametric Survival Estimates
summary.rms

Summary of Effects in Model
survest.cph

Cox Survival Estimates
specs.rms

rms Specifications for Models
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model
which.influence

Which Observations are Influential
validate.rpart

Dxy and Mean Squared Error by Cross-validating a Tree Sequence
rmsOverview

Overview of rms Package
vif

Variance Inflation Factors
validate.ols

Validation of an Ordinary Linear Model
validate.Rq

Validation of a Quantile Regression Model
validate.cph

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