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

27,322

Version

6.8-2

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Last Published

August 23rd, 2024

Functions in rms (6.8-2)

ExProb

Function Generator For Exceedance Probabilities
Glm

rms Version of glm
LRupdate

LRupdate
Gls

Fit Linear Model Using Generalized Least Squares
Rq

rms Package Interface to quantreg Package
Predict

Compute Predicted Values and Confidence Limits
Function

Compose an S Function to Compute X beta from a Fit
anova.rms

Analysis of Variance (Wald, LR, and F Statistics)
cr.setup

Continuation Ratio Ordinal Logistic Setup
bplot

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

Xcontrast
bj

Buckley-James Multiple Regression Model
bootBCa

BCa Bootstrap on Existing Bootstrap Replicates
datadist

Distribution Summaries for Predictor Variables
groupkm

Kaplan-Meier Estimates vs. a Continuous Variable
hazard.ratio.plot

Hazard Ratio Plot
fastbw

Fast Backward Variable Selection
calibrate

Resampling Model Calibration
gIndex

Calculate Total and Partial g-indexes for an rms Fit
ie.setup

Intervening Event Setup
bootcov

Bootstrap Covariance and Distribution for Regression Coefficients
contrast.rms

General Contrasts of Regression Coefficients
latexrms

LaTeX Representation of a Fitted Model
lrm

Logistic Regression Model
matinv

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

Draw a Nomogram Representing a Regression Fit
gendata

Generate Data Frame with Predictor Combinations
cph

Cox Proportional Hazards Model and Extensions
poma

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

Exported Functions That Were Imported From Other Packages
impactPO

Impact of Proportional Odds Assumpton
pphsm

Parametric Proportional Hazards form of AFT Models
predictrms

Predicted Values from Model Fit
prmiInfo

prmiInfo
npsurv

Nonparametric Survival Estimates for Censored Data
processMI

processMI
pentrace

Trace AIC and BIC vs. Penalty
latex.cph

LaTeX Representation of a Fitted Cox Model
rexVar

rexVar
orm

Ordinal Regression Model
ggplot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using ggplot2
lrm.fit

Logistic Model Fitter
lrm.fit.bare

lrm.fit.bare
plot.Predict

Plot Effects of Variables Estimated by a Regression Model Fit
print.ols

Print ols
plot.xmean.ordinaly

Plot Mean X vs. Ordinal Y
ols

Linear Model Estimation Using Ordinary Least Squares
rms-internal

Internal rms functions
plot.contrast.rms

plot.contrast.rms
orm.fit

Ordinal Regression Model Fitter
print.Glm

print.glm
predab.resample

Predictive Ability using Resampling
plotp.Predict

Plot Effects of Variables Estimated by a Regression Model Fit Using plotly
print.cph

Print cph Results
survfit.cph

Cox Predicted Survival
print.rexVar

print.rexVar
plot.rexVar

plot.rexVar
predict.lrm

Predicted Values for Binary and Ordinal Logistic Models
survplot

Plot Survival Curves and Hazard Functions
validate.ols

Validation of an Ordinary Linear Model
processMI.fit.mult.impute

processMI.fit.mult.impute
residuals.Glm

residuals.Glm
psm

Parametric Survival Model
residuals.cph

Residuals for a cph Fit
residuals.lrm

Residuals from an lrm or orm Fit
rms

rms Methods and Generic Functions
print.impactPO

Print Result from impactPO
rms.trans

rms Special Transformation Functions
sensuc

Sensitivity to Unmeasured Covariables
survest.cph

Cox Survival Estimates
rmsMisc

Miscellaneous Design Attributes and Utility Functions
residuals.ols

Residuals for ols
validate.rpart

Dxy and Mean Squared Error by Cross-validating a Tree Sequence
survest.psm

Parametric Survival Estimates
specs.rms

rms Specifications for Models
robcov

Robust Covariance Matrix Estimates
summary.rms

Summary of Effects in Model
vif

Variance Inflation Factors
setPb

Progress Bar for Simulations
which.influence

Which Observations are Influential
validate

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

Validation of a Quantile Regression Model
val.prob

Validate Predicted Probabilities
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
val.surv

Validate Predicted Probabilities Against Observed Survival Times
rmsOverview

Overview of rms Package