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,601

Version

6.8-1

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

May 27th, 2024

Functions in rms (6.8-1)

anova.rms

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

Xcontrast
Rq

rms Package Interface to quantreg Package
contrast.rms

General Contrasts of Regression Coefficients
cph

Cox Proportional Hazards Model and Extensions
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
ie.setup

Intervening Event Setup
hazard.ratio.plot

Hazard Ratio Plot
ExProb

Function Generator For Exceedance Probabilities
gIndex

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

Exported Functions That Were Imported From Other Packages
lrm.fit

Logistic Model Fitter
lrm.fit.bare

lrm.fit.bare
pphsm

Parametric Proportional Hazards form of AFT Models
print.cph

Print cph Results
fastbw

Fast Backward Variable Selection
Glm

rms Version of glm
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
Function

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

Buckley-James Multiple Regression Model
npsurv

Nonparametric Survival Estimates for Censored Data
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
latex.cph

LaTeX Representation of a Fitted Cox Model
cr.setup

Continuation Ratio Ordinal Logistic Setup
datadist

Distribution Summaries for Predictor Variables
predictrms

Predicted Values from Model Fit
print.Glm

print.glm
LRupdate

LRupdate
residuals.Glm

residuals.Glm
Predict

Compute Predicted Values and Confidence Limits
val.prob

Validate Predicted Probabilities
print.rexVar

print.rexVar
residuals.cph

Residuals for a cph Fit
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
val.surv

Validate Predicted Probabilities Against Observed Survival Times
impactPO

Impact of Proportional Odds Assumpton
rexVar

rexVar
print.impactPO

Print Result from impactPO
ols

Linear Model Estimation Using Ordinary Least Squares
latexrms

LaTeX Representation of a Fitted Model
rms-internal

Internal rms functions
processMI.fit.mult.impute

processMI.fit.mult.impute
survest.cph

Cox Survival Estimates
poma

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

Parametric Survival Estimates
rms

rms Methods and Generic Functions
validate.cph

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

Validation of an Ordinary Linear Model
pentrace

Trace AIC and BIC vs. Penalty
sensuc

Sensitivity to Unmeasured Covariables
lrm

Logistic Regression Model
calibrate

Resampling Model Calibration
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
psm

Parametric Survival Model
rms.trans

rms Special Transformation Functions
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model
validate

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

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

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

Fit Linear Model Using Generalized Least Squares
plotp.Predict

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

Ordinal Regression Model
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
orm.fit

Ordinal Regression Model Fitter
validate.Rq

Validation of a Quantile Regression Model
plot.contrast.rms

plot.contrast.rms
vif

Variance Inflation Factors
rmsMisc

Miscellaneous Design Attributes and Utility Functions
gendata

Generate Data Frame with Predictor Combinations
prmiInfo

prmiInfo
processMI

processMI
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
survfit.cph

Cox Predicted Survival
nomogram

Draw a Nomogram Representing a Regression Fit
predab.resample

Predictive Ability using Resampling
plot.rexVar

plot.rexVar
which.influence

Which Observations are Influential
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
residuals.lrm

Residuals from an lrm or orm Fit
robcov

Robust Covariance Matrix Estimates
survplot

Plot Survival Curves and Hazard Functions
print.ols

Print ols
residuals.ols

Residuals for ols
rmsOverview

Overview of rms Package
setPb

Progress Bar for Simulations
specs.rms

rms Specifications for Models
summary.rms

Summary of Effects in Model