# 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-04-04 08:37:12
- Maintainer
- Frank E Harrell Jr <f.harrell@vanderbilt.edu>
- License
- GPL (>= 2)
- Version
- 4.5-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/tests |

rms/tests/survplot.s |

rms/tests/lrm.s |

rms/tests/orm4.r |

rms/tests/predictrms.s |

rms/tests/bj.r |

rms/tests/psm3.s |

rms/tests/psm.s |

rms/tests/bootcov.r |

rms/tests/contrast.r |

rms/tests/latex.r |

rms/tests/orm-residuals.r |

rms/tests/offset.r |

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

rms/tests/cph.s |

rms/tests/lrmMean.s |

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

rms/tests/orm-profile.r |

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

rms/tests/cph3.r |

rms/tests/nomogram.r |

rms/tests/cph4.r |

rms/tests/validate.ols.r |

rms/tests/cphtdc.r |

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

rms/tests/rcs.r |

rms/tests/orm-example.r |

rms/tests/Glm.s |

rms/tests/validate.cph.s |

rms/tests/pentrace.s |

rms/tests/lrm.ordinal.s |

rms/tests/val.prob.r |

rms/tests/survfit.cph.s |

rms/tests/plot.Predict.s |

rms/tests/rms.r |

rms/tests/summary.r |

rms/tests/simult.s |

rms/tests/val.surv.s |

rms/tests/orm.s |

rms/tests/ols.penalty.r |

rms/tests/scale.r |

rms/tests/cph2.s |

rms/tests/psm2.s |

rms/tests/qt50.rda |

rms/tests/ggplot2b.r |

rms/tests/orm3.r |

rms/tests/model.matrix.s |

rms/tests/orm2.s |

rms/tests/orm-bootcov.r |

rms/tests/survfit.timedep.s |

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

rms/tests/Predict.s |

rms/tests/perlcode.s |

rms/tests/Rq2.s |

rms/tests/mice.r |

rms/tests/ggplot2.r |

rms/tests/robcov.r |

rms/tests/Gls.s |

rms/tests/Rq.s |

rms/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/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 |