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.7-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

May 8th, 2023

Functions in rms (6.7-0)

bj

Buckley-James Multiple Regression Model
ExProb

Function Generator For Exceedance Probabilities
Function

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

LRupdate
anova.rms

Analysis of Variance (Wald, LR, and F Statistics)
Rq

rms Package Interface to quantreg Package
Predict

Compute Predicted Values and Confidence Limits
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
Glm

rms Version of glm
Gls

Fit Linear Model Using Generalized Least Squares
calibrate

Resampling Model Calibration
gIndex

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

General Contrasts of Regression Coefficients
datadist

Distribution Summaries for Predictor Variables
gendata

Generate Data Frame with Predictor Combinations
cph

Cox Proportional Hazards Model and Extensions
fastbw

Fast Backward Variable Selection
cr.setup

Continuation Ratio Ordinal Logistic Setup
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
bplot

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

LaTeX Representation of a Fitted Cox Model
impactPO

Impact of Proportional Odds Assumpton
hazard.ratio.plot

Hazard Ratio Plot
latexrms

LaTeX Representation of a Fitted Model
importedexported

Exported Functions That Were Imported From Other Packages
lrm

Logistic Regression Model
ggplot.Predict

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

Intervening Event Setup
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
ols

Linear Model Estimation Using Ordinary Least Squares
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
lrm.fit

Logistic Model Fitter
nomogram

Draw a Nomogram Representing a Regression Fit
plot.contrast.rms

plot.contrast.rms
orm.fit

Ordinal Regression Model Fitter
pentrace

Trace AIC and BIC vs. Penalty
orm

Ordinal Regression Model
npsurv

Nonparametric Survival Estimates for Censored Data
lrm.fit.bare

lrm.fit.bare
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
predab.resample

Predictive Ability using Resampling
predictrms

Predicted Values from Model Fit
print.cph

Print cph Results
poma

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

Print Result from impactPO
residuals.ols

Residuals for ols
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
psm

Parametric Survival Model
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
residuals.Glm

residuals.Glm
plotp.Predict

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

Residuals for a cph Fit
rms-internal

Internal rms functions
residuals.lrm

Residuals from an lrm or orm Fit
print.Glm

print.glm
processMI

processMI
survest.cph

Cox Survival Estimates
rms

rms Methods and Generic Functions
specs.rms

rms Specifications for Models
sensuc

Sensitivity to Unmeasured Covariables
rms.trans

rms Special Transformation Functions
setPb

Progress Bar for Simulations
processMI.fit.mult.impute

processMI.fit.mult.impute
summary.rms

Summary of Effects in Model
survest.psm

Parametric Survival Estimates
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
rmsMisc

Miscellaneous Design Attributes and Utility Functions
pphsm

Parametric Proportional Hazards form of AFT Models
print.ols

Print ols
validate.ols

Validation of an Ordinary Linear Model
validate

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

prmiInfo
robcov

Robust Covariance Matrix Estimates
survfit.cph

Cox Predicted Survival
validate.rpart

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

Plot Survival Curves and Hazard Functions
validate.Rq

Validation of a Quantile Regression Model
vif

Variance Inflation Factors
rmsOverview

Overview of rms Package
val.prob

Validate Predicted Probabilities
val.surv

Validate Predicted Probabilities Against Observed Survival Times
which.influence

Which Observations are Influential