Learn R Programming

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.9-0

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

December 12th, 2024

Functions in rms (6.9-0)

ExProb

Function Generator For Exceedance Probabilities
LRupdate

LRupdate
Rq

rms Package Interface to quantreg Package
Xcontrast

Xcontrast
anova.rms

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

Compute Predicted Values and Confidence Limits
Function

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

Buckley-James Multiple Regression Model
contrast.rms

General Contrasts of Regression Coefficients
fastbw

Fast Backward Variable Selection
bplot

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

Resampling Model Calibration
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
cph

Cox Proportional Hazards Model and Extensions
gIndex

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

rms Version of glm
importedexported

Exported Functions That Were Imported From Other Packages
latex.cph

LaTeX Representation of a Fitted Cox Model
Gls

Fit Linear Model Using Generalized Least Squares
latexrms

LaTeX Representation of a Fitted Model
lrm

Logistic Regression Model
orm.fit

Ordinal Regression Model Fitter
pentrace

Trace AIC and BIC vs. Penalty
ols

Linear Model Estimation Using Ordinary Least Squares
orm

Ordinal Regression Model
npsurv

Nonparametric Survival Estimates for Censored Data
nomogram

Draw a Nomogram Representing a Regression Fit
plotp.Predict

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

Bootstrap Covariance and Distribution for Regression Coefficients
ie.setup

Intervening Event Setup
pphsm

Parametric Proportional Hazards form of AFT Models
poma

Examine proportional odds and parallelism assumptions of `orm` and `lrm` model fits.
residuals.Glm

residuals.Glm
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
cr.setup

Continuation Ratio Ordinal Logistic Setup
predictrms

Predicted Values from Model Fit
residuals.cph

Residuals for a cph Fit
impactPO

Impact of Proportional Odds Assumpton
datadist

Distribution Summaries for Predictor Variables
predab.resample

Predictive Ability using Resampling
lrm.fit

lrm.fit
rmsMisc

Miscellaneous Design Attributes and Utility Functions
residuals.lrm

Residuals from an lrm or orm Fit
matinv

Total and Partial Matrix Inversion using Gauss-Jordan Sweep Operator
processMI

processMI
residuals.ols

Residuals for ols
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
gendata

Generate Data Frame with Predictor Combinations
specs.rms

rms Specifications for Models
robcov

Robust Covariance Matrix Estimates
processMI.fit.mult.impute

processMI.fit.mult.impute
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
rexVar

rexVar
plot.rexVar

plot.rexVar
val.prob

Validate Predicted Probabilities
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
plot.contrast.rms

plot.contrast.rms
print.Glm

print.glm
psm

Parametric Survival Model
recode2integer

recode2integer
print.impactPO

Print Result from impactPO
print.ols

Print ols
hazard.ratio.plot

Hazard Ratio Plot
vif

Variance Inflation Factors
rms-internal

Internal rms functions
print.cph

Print cph Results
survfit.cph

Cox Predicted Survival
rms

rms Methods and Generic Functions
rms.trans

rms Special Transformation Functions
summary.rms

Summary of Effects in Model
val.surv

Validate Predicted Probabilities Against Observed Survival Times
print.rexVar

print.rexVar
rmsOverview

Overview of rms Package
prmiInfo

prmiInfo
validate

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

Validation of a Quantile Regression Model
validate.ols

Validation of an Ordinary Linear Model
validate.rpart

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

Plot Survival Curves and Hazard Functions
sensuc

Sensitivity to Unmeasured Covariables
setPb

Progress Bar for Simulations
survest.cph

Cox Survival Estimates
survest.psm

Parametric Survival Estimates
validate.cph

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

Resampling Validation of a Logistic or Ordinal Regression Model
which.influence

Which Observations are Influential