Learn R Programming

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

26,601

Version

6.4-1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

January 23rd, 2023

Functions in rms (6.4-1)

Glm

rms Version of glm
anova.rms

Analysis of Variance (Wald and F Statistics)
ExProb

Function Generator For Exceedance Probabilities
Gls

Fit Linear Model Using Generalized Least Squares
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
Predict

Compute Predicted Values and Confidence Limits
Function

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

Bootstrap Covariance and Distribution for Regression Coefficients
Rq

rms Package Interface to quantreg Package
bj

Buckley-James Multiple Regression Model
fastbw

Fast Backward Variable Selection
gendata

Generate Data Frame with Predictor Combinations
cph

Cox Proportional Hazards Model and Extensions
ggplot.Predict

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

General Contrasts of Regression Coefficients
calibrate

Resampling Model Calibration
bplot

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

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

Continuation Ratio Ordinal Logistic Setup
datadist

Distribution Summaries for Predictor Variables
ie.setup

Intervening Event Setup
latex.cph

LaTeX Representation of a Fitted Cox Model
latexrms

LaTeX Representation of a Fitted Model
impactPO

Impact of Proportional Odds Assumpton
lrm.fit.bare

lrm.fit.bare
lrm

Logistic Regression Model
orm.fit

Ordinal Regression Model Fitter
pentrace

Trace AIC and BIC vs. Penalty
groupkm

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

Hazard Ratio Plot
predab.resample

Predictive Ability using Resampling
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
lrm.fit

Logistic Model Fitter
plotp.Predict

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

Predicted Values from Model Fit
ols

Linear Model Estimation Using Ordinary Least Squares
print.Glm

print.glm
print.cph

Print cph Results
print.impactPO

Print Result from impactPO
residuals.Glm

residuals.Glm
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
plot.Predict

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

Residuals for a cph Fit
nomogram

Draw a Nomogram Representing a Regression Fit
rms.trans

rms Special Transformation Functions
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
orm

Ordinal Regression Model
plot.contrast.rms

plot.contrast.rms
poma

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

Print ols
npsurv

Nonparametric Survival Estimates for Censored Data
psm

Parametric Survival Model
pphsm

Parametric Proportional Hazards form of AFT Models
rmsMisc

Miscellaneous Design Attributes and Utility Functions
residuals.lrm

Residuals from an lrm or orm Fit
residuals.ols

Residuals for ols
robcov

Robust Covariance Matrix Estimates
rms-internal

Internal rms functions
setPb

Progress Bar for Simulations
specs.rms

rms Specifications for Models
sensuc

Sensitivity to Unmeasured Covariables
rms

rms Methods and Generic Functions
survplot

Plot Survival Curves and Hazard Functions
summary.rms

Summary of Effects in Model
survest.cph

Cox Survival Estimates
survest.psm

Parametric Survival Estimates
val.prob

Validate Predicted Probabilities
survfit.cph

Cox Predicted Survival
validate.Rq

Validation of a Quantile Regression Model
val.surv

Validate Predicted Probabilities Against Observed Survival Times
which.influence

Which Observations are Influential
validate

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

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

Overview of rms Package
validate.lrm

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

Validation of an Ordinary Linear Model
validate.rpart

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

Variance Inflation Factors