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.

AuthorFrank E Harrell Jr <f.harrell@vanderbilt.edu>
Date of publication2017-01-01 23:44:17
MaintainerFrank E Harrell Jr <f.harrell@vanderbilt.edu>
LicenseGPL (>= 2)
Version5.1-0
http://biostat.mc.vanderbilt.edu/rms

View on CRAN

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

plotp.Predict: Plot Effects of Variables Estimated by a Regression Model Fit...

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

Functions

AIC.rms Man page
annotateAnova Man page
anova.rms Man page
asis Man page
bj Man page
bj.fit Man page
bjplot Man page
bootBCa Man page
bootcov Man page
bootplot Man page
bootplot.bootcov Man page
bplot Man page
calibrate Man page
calibrate.cph Man page
calibrate.default Man page
calibrate.psm Man page
calibrate.rms Man page
catg Man page
combineRelatedPredictors Man page
confplot Man page
confplot.bootcov Man page
contrast Man page
contrast.rms Man page
coxphFit Man page
cph Man page
cr.setup Man page
datadist Man page
Design Man page
dxy.cens Man page
effective.df Man page
ExProb Man page
ExProb.orm Man page
fastbw Man page
formatNP Man page
Function.cph Man page
Function.rms Man page
gendata Man page
Getlim Man page
Getlimi Man page
ggplot.Predict Man page
gIndex Man page
Glm Man page
Gls Man page
groupkm Man page
Hazard Man page
Hazard.psm Man page
hazard.ratio.plot Man page
histdensity Man page
html.anova.rms Man page
html.naprint.delete Man page
html.summary.rms Man page
html.validate Man page
\%ia\% Man page
ie.setup Man page
interactions.containing Man page
latex.anova.rms Man page
latex.bj Man page
latex.cph Man page
latex.Glm Man page
latex.Gls Man page
latex.lrm Man page
latex.naprint.delete Man page
latex.ols Man page
latex.orm Man page
latex.pphsm Man page
latex.psm Man page
latexrms Man page
latex.Rq Man page
latex.summary.rms Man page
latex.validate Man page
legend.nomabbrev Man page
lines.residuals.psm.censored.normalized Man page
lm.pfit Man page
logLik.Gls Man page
logLik.ols Man page
logLik.rms Man page
lrm Man page
lrm.fit Man page
lrtest Man page
lsp Man page
matinv Man page
matrx Man page
Mean.cph Man page
Mean.lrm Man page
Mean.orm Man page
Mean.psm Man page
Newlabels Man page
Newlabels.rms Man page
Newlevels Man page
Newlevels.rms Man page
nobs.rms Man page
nomogram Man page
npsurv Man page
ols Man page
ols.influence Man page
oos.loglik Man page
oos.loglik.cph Man page
oos.loglik.Glm Man page
oos.loglik.lrm Man page
oos.loglik.ols Man page
oos.loglik.psm Man page
orm Man page
orm.fit Man page
pantext Man page
param.order Man page
Penalty.matrix Man page
Penalty.setup Man page
pentrace Man page
perimeter Man page
perlcode Man page
plot.anova.rms Man page
plot.calibrate Man page
plot.calibrate.default Man page
plot.ExProb Man page
plot.gIndex Man page
plot.lrm.partial Man page
plotmathAnova Man page
plot.nomogram Man page
plotp Man page
plot.pentrace Man page
plotp.Predict Man page
plot.Predict Man page
plot.sensuc Man page
plot.summary.rms Man page
plot.validate.rpart Man page
plot.val.prob Man page
plot.val.surv Man page
plot.val.survh Man page
plot.xmean.ordinaly Man page
pol Man page
pphsm Man page
predab.resample Man page
Predict Man page
predict.bj Man page
predict.cph Man page
predict.Glm Man page
predict.Gls Man page
predict.lrm Man page
predict.ols Man page
predict.orm Man page
predict.psm Man page
predictrms Man page
predict.rms Man page
predict.Rq Man page
print.anova.rms Man page
print.bj Man page
print.calibrate Man page
print.calibrate.default Man page
print.contrast.rms Man page
print.cph Man page
print.datadist Man page
print.fastbw Man page
print.gIndex Man page
print.Glm Man page
print.Gls Man page
print.lrm Man page
print.lrtest Man page
print.nomogram Man page
print.ols Man page
print.orm Man page
print.pentrace Man page
print.pphsm Man page
print.Predict Man page
print.psm Man page
print.rms Man page
print.Rq Man page
print.specs.rms Man page
print.summary.rms Man page
print.survest.psm Man page
print.validate Man page
print.validate.rpart Man page
print.val.prob Man page
print.val.survh Man page
prModFit Man page
prStats Man page
prType Man page
psm Man page
Quantile.cph Man page
Quantile.orm Man page
Quantile.psm Man page
rbind.Predict Man page
rcs Man page
related.predictors Man page
reListclean Man page
removeFormulaTerms Man page
residuals.bj Man page
residuals.cph Man page
residuals.lrm Man page
residuals.ols Man page
residuals.orm Man page
residuals.psm Man page
rms Man page
rmsArgs Man page
rmsMisc Man page
rmsOverview Man page
rms.Overview Man page
rms.trans Man page
robcov Man page
Rq Man page
RqFit Man page
sascode Man page
scored Man page
sensuc Man page
setPb Man page
show.influence Man page
specs Man page
specs.rms Man page
strat Man page
summary.rms Man page
survdiffplot Man page
survest Man page
survest.cph Man page
survest.psm Man page
survest.rms Man page
survfit.cph Man page
Survival Man page
Survival.cph Man page
Survival.psm Man page
survplot Man page
survplot.npsurv Man page
survplotp Man page
survplotp.npsurv Man page
survplot.residuals.psm.censored.normalized Man page
survplot.rms Man page
survreg.auxinfo Man page
univarLR Man page
validate Man page
validate.bj Man page
validate.cph Man page
validate.lrm Man page
validate.ols Man page
validate.orm Man page
validate.psm Man page
validate.rpart Man page
validate.Rq Man page
val.prob Man page
val.probg Man page
val.surv Man page
vcov.cph Man page
vcov.Glm Man page
vcov.Gls Man page
vcov.lrm Man page
vcov.ols Man page
vcov.orm Man page
vcov.pphsm Man page
vcov.psm Man page
vcov.rms Man page
vif Man page
which.influence Man page

Files

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/plotp.Predict.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/plotp.Predict.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

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.