# rms: Regression Modeling Strategies

Regression modeling, testing, estimation, validation, graphics, prediction, and typesetting by storing enhanced model design attributes in the fit. 'rms' is a collection of functions that assist with and streamline modeling. It also contains functions for binary and ordinal logistic regression models, ordinal models for continuous Y with a variety of distribution families, and the Buckley-James multiple regression model for right-censored responses, and implements penalized maximum likelihood estimation for logistic and ordinary linear models. 'rms' works with almost any regression model, but it was especially written to work with binary or ordinal regression models, Cox regression, accelerated failure time models, ordinary linear models, the Buckley-James model, generalized least squares for serially or spatially correlated observations, generalized linear models, and quantile regression.

- Author
- Frank E Harrell Jr <f.harrell@vanderbilt.edu>
- Date of publication
- 2016-11-03 10:54:52
- Maintainer
- Frank E Harrell Jr <f.harrell@vanderbilt.edu>
- License
- GPL (>= 2)
- Version
- 5.0-0
- URLs

## Man pages

- anova.rms
- Analysis of Variance (Wald and F Statistics)
- bj
- Buckley-James Multiple Regression Model
- bootBCa
- BCa Bootstrap on Existing Bootstrap Replicates
- bootcov
- Bootstrap Covariance and Distribution for Regression...
- bplot
- 3-D Plots Showing Effects of Two Continuous Predictors in a...
- calibrate
- Resampling Model Calibration
- contrast
- General Contrasts of Regression Coefficients
- cph
- Cox Proportional Hazards Model and Extensions
- cr.setup
- Continuation Ratio Ordinal Logistic Setup
- datadist
- Distribution Summaries for Predictor Variables
- ExProb
- Function Generator For Exceedance Probabilities
- fastbw
- Fast Backward Variable Selection
- Function
- Compose an S Function to Compute X beta from a Fit
- gendata
- Generate Data Frame with Predictor Combinations
- ggplot.Predict
- Plot Effects of Variables Estimated by a Regression Model Fit...
- gIndex
- Calculate Total and Partial g-indexes for an rms Fit
- Glm
- rms Version of glm
- Gls
- Fit Linear Model Using Generalized Least Squares
- groupkm
- Kaplan-Meier Estimates vs. a Continuous Variable
- hazard.ratio.plot
- Hazard Ratio Plot
- ie.setup
- Intervening Event Setup
- latex.cph
- LaTeX Representation of a Fitted Cox Model
- latexrms
- LaTeX Representation of a Fitted Model
- lrm
- Logistic Regression Model
- lrm.fit
- Logistic Model Fitter
- matinv
- Total and Partial Matrix Inversion using Gauss-Jordan Sweep...
- nomogram
- Draw a Nomogram Representing a Regression Fit
- 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.Predict
- Plot Effects of Variables Estimated by a Regression Model Fit
- plot.xmean.ordinaly
- Plot Mean X vs. Ordinal Y
- pphsm
- Parametric Proportional Hazards form of AFT Models
- predab.resample
- Predictive Ability using Resampling
- Predict
- Compute Predicted Values and Confidence Limits
- predict.lrm
- Predicted Values for Binary and Ordinal Logistic Models
- predictrms
- Predicted Values from Model Fit
- print.cph
- Print cph Results
- print.ols
- Print ols
- psm
- Parametric Survival Model
- residuals.cph
- Residuals for a cph Fit
- residuals.lrm
- Residuals from an 'lrm' or 'orm' Fit
- residuals.ols
- Residuals for ols
- rms
- rms Methods and Generic Functions
- rms-internal
- Internal rms functions
- rmsMisc
- Miscellaneous Design Attributes and Utility Functions
- rms.trans
- rms Special Transformation Functions
- robcov
- Robust Covariance Matrix Estimates
- Rq
- rms Package Interface to quantreg Package
- sensuc
- Sensitivity to Unmeasured Covariables
- setPb
- Progress Bar for Simulations
- specs.rms
- rms Specifications for Models
- summary.rms
- Summary of Effects in Model
- survest.cph
- Cox Survival Estimates
- survest.psm
- Parametric Survival Estimates
- survfit.cph
- Cox Predicted Survival
- survplot
- Plot Survival Curves and Hazard Functions
- validate
- Resampling Validation of a Fitted Model's Indexes of Fit
- validate.cph
- Validation of a Fitted Cox or Parametric Survival Model's...
- validate.lrm
- Resampling Validation of a Logistic or Ordinal Regression...
- validate.ols
- Validation of an Ordinary Linear Model
- validate.rpart
- Dxy and Mean Squared Error by Cross-validating a Tree...
- validate.Rq
- Validation of a Quantile Regression Model
- val.prob
- Validate Predicted Probabilities
- val.surv
- Validate Predicted Probabilities Against Observed Survival...
- vif
- Variance Inflation Factors
- which.influence
- Which Observations are Influential
- zzzrmsOverview
- Overview of rms Package

## Files in this package

rms |

rms/inst |

rms/inst/tests |

rms/inst/tests/survplot.s |

rms/inst/tests/ggplotly.Rmd |

rms/inst/tests/lrm.s |

rms/inst/tests/sampledf.rda |

rms/inst/tests/orm4.r |

rms/inst/tests/predictrms.s |

rms/inst/tests/bj.r |

rms/inst/tests/psm3.s |

rms/inst/tests/psm.s |

rms/inst/tests/bootcov.r |

rms/inst/tests/contrast.r |

rms/inst/tests/latex.r |

rms/inst/tests/orm-residuals.r |

rms/inst/tests/offset.r |

rms/inst/tests/rms2.r |

rms/inst/tests/ggplot2-without-ggplot.Predict.r |

rms/inst/tests/cph.s |

rms/inst/tests/lrmMean.s |

rms/inst/tests/lrm.ols.penalty.r |

rms/inst/tests/orm-profile.r |

rms/inst/tests/ggplot.Predict.Rd.timing.r |

rms/inst/tests/cph3.r |

rms/inst/tests/nomogram.r |

rms/inst/tests/cph4.r |

rms/inst/tests/plotly-Predict.r |

rms/inst/tests/validate.ols.r |

rms/inst/tests/cphtdc.r |

rms/inst/tests/examples.Rmd |

rms/inst/tests/anova-ols-mult-impute.r |

rms/inst/tests/rcs.r |

rms/inst/tests/orm-example.r |

rms/inst/tests/Glm.s |

rms/inst/tests/validate.cph.s |

rms/inst/tests/pentrace.s |

rms/inst/tests/lrm.ordinal.s |

rms/inst/tests/val.prob.r |

rms/inst/tests/survfit.cph.s |

rms/inst/tests/plot.Predict.s |

rms/inst/tests/rms.r |

rms/inst/tests/summary.r |

rms/inst/tests/simult.s |

rms/inst/tests/survplot2.r |

rms/inst/tests/val.surv.s |

rms/inst/tests/orm.s |

rms/inst/tests/ggplot3.r |

rms/inst/tests/ols.penalty.r |

rms/inst/tests/scale.r |

rms/inst/tests/cph2.s |

rms/inst/tests/ols.r |

rms/inst/tests/psm2.s |

rms/inst/tests/survest.r |

rms/inst/tests/qt50.rda |

rms/inst/tests/ggplot2b.r |

rms/inst/tests/orm3.r |

rms/inst/tests/robcov2.r |

rms/inst/tests/model.matrix.s |

rms/inst/tests/orm2.s |

rms/inst/tests/orm-bootcov.r |

rms/inst/tests/survplotp.r |

rms/inst/tests/survfit.timedep.s |

rms/inst/tests/strat.model.matrix.r |

rms/inst/tests/Predict.s |

rms/inst/tests/perlcode.s |

rms/inst/tests/Rq2.s |

rms/inst/tests/validate.rpart.r |

rms/inst/tests/mice.r |

rms/inst/tests/survplotCompete.r |

rms/inst/tests/ggplot2.r |

rms/inst/tests/robcov.r |

rms/inst/tests/Gls.s |

rms/inst/tests/Rq.s |

rms/inst/tests/bplot.r |

rms/src |

rms/src/ormuv.f |

rms/src/lrmfit.f |

rms/src/robcovf.f |

rms/src/mlmats.f |

rms/src/ratfor |

rms/src/ratfor/ormuv.r |

rms/src/ratfor/robcovf.r |

rms/NAMESPACE |

rms/demo |

rms/demo/all.R |

rms/demo/00Index |

rms/NEWS |

rms/R |

rms/R/lrm.s |

rms/R/summary.rms.s |

rms/R/predictrms.s |

rms/R/survreg.distributions.s |

rms/R/specs.rms.s |

rms/R/ols.s |

rms/R/Function.rms.s |

rms/R/calibrate.psm.s |

rms/R/psm.s |

rms/R/lrm.fit.strat.s |

rms/R/validate.Rq.s |

rms/R/latex.ols.s |

rms/R/hazard.ratio.plot.s |

rms/R/ia.operator.s |

rms/R/anova.rms.s |

rms/R/validate.ols.s |

rms/R/cph.s |

rms/R/gIndex.s |

rms/R/validate.psm.s |

rms/R/robcov.s |

rms/R/residuals.cph.s |

rms/R/bj.s |

rms/R/Glm.s |

rms/R/survest.cph.s |

rms/R/validate.cph.s |

rms/R/calibrate.default.s |

rms/R/predab.resample.s |

rms/R/pentrace.s |

rms/R/datadist.s |

rms/R/bootcov.s |

rms/R/orm.fit.s |

rms/R/calibrate.s |

rms/R/groupkm.s |

rms/R/residuals.ols.s |

rms/R/survfit.cph.s |

rms/R/plot.Predict.s |

rms/R/latex.cph.s |

rms/R/validate.lrm.s |

rms/R/val.prob.s |

rms/R/val.surv.s |

rms/R/survplot.npsurv.s |

rms/R/residuals.lrm.s |

rms/R/orm.s |

rms/R/sensuc.s |

rms/R/survplot.rms.s |

rms/R/calibrate.cph.s |

rms/R/contrast.s |

rms/R/cr.setup.s |

rms/R/survest.psm.s |

rms/R/rms.trans.s |

rms/R/print.psm.s |

rms/R/npsurv.s |

rms/R/plot.nomogram.s |

rms/R/survplotp.npsurv.s |

rms/R/lrm.fit.s |

rms/R/plot.xmean.ordinaly.s |

rms/R/rms.s |

rms/R/latex.rms.s |

rms/R/latex.pphsm.s |

rms/R/bplot.s |

rms/R/rmsMisc.s |

rms/R/fastbw.s |

rms/R/nomogram.s |

rms/R/validate.rpart.s |

rms/R/gendata.s |

rms/R/pphsm.s |

rms/R/predict.lrm.s |

rms/R/ggplot.Predict.s |

rms/R/latex.lrm.s |

rms/R/Predict.s |

rms/R/matinv.s |

rms/R/ie.setup.s |

rms/R/latex.psm.s |

rms/R/which.influence.s |

rms/R/Gls.s |

rms/R/Rq.s |

rms/README.md |

rms/MD5 |

rms/DESCRIPTION |

rms/man |

rms/man/lrm.fit.Rd |

rms/man/val.prob.Rd |

rms/man/Predict.Rd |

rms/man/ExProb.Rd |

rms/man/rms-internal.Rd |

rms/man/groupkm.Rd |

rms/man/nomogram.Rd |

rms/man/predictrms.Rd |

rms/man/anova.rms.Rd |

rms/man/vif.Rd |

rms/man/gendata.Rd |

rms/man/validate.Rd |

rms/man/zzzrmsOverview.Rd |

rms/man/survest.psm.Rd |

rms/man/setPb.Rd |

rms/man/validate.Rq.Rd |

rms/man/validate.rpart.Rd |

rms/man/fastbw.Rd |

rms/man/robcov.Rd |

rms/man/rms.trans.Rd |

rms/man/residuals.ols.Rd |

rms/man/gIndex.Rd |

rms/man/psm.Rd |

rms/man/print.ols.Rd |

rms/man/Glm.Rd |

rms/man/orm.fit.Rd |

rms/man/validate.lrm.Rd |

rms/man/bootBCa.Rd |

rms/man/summary.rms.Rd |

rms/man/specs.rms.Rd |

rms/man/predab.resample.Rd |

rms/man/Rq.Rd |

rms/man/val.surv.Rd |

rms/man/datadist.Rd |

rms/man/sensuc.Rd |

rms/man/pentrace.Rd |

rms/man/cr.setup.Rd |

rms/man/ols.Rd |

rms/man/rms.Rd |

rms/man/ggplot.Predict.Rd |

rms/man/residuals.cph.Rd |

rms/man/matinv.Rd |

rms/man/lrm.Rd |

rms/man/contrast.Rd |

rms/man/latex.cph.Rd |

rms/man/bootcov.Rd |

rms/man/survest.cph.Rd |

rms/man/hazard.ratio.plot.Rd |

rms/man/bj.Rd |

rms/man/survfit.cph.Rd |

rms/man/plot.Predict.Rd |

rms/man/bplot.Rd |

rms/man/npsurv.Rd |

rms/man/Function.Rd |

rms/man/rmsMisc.Rd |

rms/man/cph.Rd |

rms/man/validate.cph.Rd |

rms/man/residuals.lrm.Rd |

rms/man/ie.setup.Rd |

rms/man/print.cph.Rd |

rms/man/validate.ols.Rd |

rms/man/predict.lrm.Rd |

rms/man/plot.xmean.ordinaly.Rd |

rms/man/orm.Rd |

rms/man/latexrms.Rd |

rms/man/which.influence.Rd |

rms/man/survplot.Rd |

rms/man/calibrate.Rd |

rms/man/pphsm.Rd |

rms/man/Gls.Rd |

rms/INDEX |