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

Version

6.0-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

June 4th, 2020

Functions in rms (6.0-0)

PostF

PostF
HPDint

HPDint
Mean.blrm

Mean.blrm
Gls

Fit Linear Model Using Generalized Least Squares
ExProb.blrm

ExProb.blrm
ExProb

Function Generator For Exceedance Probabilities
Quantile.blrm

Quantile.blrm
Predict

Compute Predicted Values and Confidence Limits
Glm

rms Version of glm
blrmStats

blrmStats
Function

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

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

Bootstrap Covariance and Distribution for Regression Coefficients
coef.rmsb

coef.rmsb
anova.rms

Analysis of Variance (Wald and F Statistics)
bj

Buckley-James Multiple Regression Model
calibrate

Resampling Model Calibration
blrm

blrm
gIndex

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

BCa Bootstrap on Existing Bootstrap Replicates
compareBmods

compareBmods
Rq

rms Package Interface to quantreg Package
hazard.ratio.plot

Hazard Ratio Plot
gendata

Generate Data Frame with Predictor Combinations
fastbw

Fast Backward Variable Selection
contrast.rms

General Contrasts of Regression Coefficients
ie.setup

Intervening Event Setup
datadist

Distribution Summaries for Predictor Variables
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
npsurv

Nonparametric Survival Estimates for Censored Data
cph

Cox Proportional Hazards Model and Extensions
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
latex.cph

LaTeX Representation of a Fitted Cox Model
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
distSym

distSym
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
nomogram

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

plot.contrast.rms
cr.setup

Continuation Ratio Ordinal Logistic Setup
pentrace

Trace AIC and BIC vs. Penalty
lrm.fit

Logistic Model Fitter
print.predict.blrm

print.predict.blrm
latexrms

LaTeX Representation of a Fitted Model
print.rmsb

print.rmsb
survplot

Plot Survival Curves and Hazard Functions
orm.fit

Ordinal Regression Model Fitter
ols

Linear Model Estimation Using Ordinary Least Squares
plot.PostF

plot.PostF
tauFetch

tauFetch
lrm

Logistic Regression Model
predict.blrm

predict.blrm
predab.resample

Predictive Ability using Resampling
plot.rmsb

plot.rmsb
pdensityContour

pdensity2d
print.blrmStats

print.blrmStats
print.blrm

print.blrm
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
validate.ols

Validation of an Ordinary Linear Model
residuals.lrm

Residuals from an lrm or orm Fit
validate.rpart

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

Predicted Values from Model Fit
stanDxplot

stanDxplot
stanGet

stanGet
orm

Ordinal Regression Model
print.ols

Print ols
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
residuals.ols

Residuals for ols
rms

rms Methods and Generic Functions
rmsMisc

Miscellaneous Design Attributes and Utility Functions
rms-internal

Internal rms functions
print.cph

Print cph Results
sensuc

Sensitivity to Unmeasured Covariables
rms.trans

rms Special Transformation Functions
stackMI

Bayesian Model Fitting and Stacking for Multiple Imputation
setPb

Progress Bar for Simulations
psm

Parametric Survival Model
validate

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

Compile Stan Code
pphsm

Parametric Proportional Hazards form of AFT Models
stanDx

stanDx
specs.rms

rms Specifications for Models
validate.Rq

Validation of a Quantile Regression Model
val.prob

Validate Predicted Probabilities
residuals.cph

Residuals for a cph Fit
validate.cph

Validation of a Fitted Cox or Parametric Survival Model's Indexes of Fit
survfit.cph

Cox Predicted Survival
which.influence

Which Observations are Influential
vcov.rmsb

vcov.rmsb
selectedQr

selectedQr
val.surv

Validate Predicted Probabilities Against Observed Survival Times
survest.psm

Parametric Survival Estimates
rmsOverview

Overview of rms Package
survest.cph

Cox Survival Estimates
summary.rms

Summary of Effects in Model
robcov

Robust Covariance Matrix Estimates
vif

Variance Inflation Factors
validate.lrm

Resampling Validation of a Logistic or Ordinal Regression Model