Skip to content

ilias-nikolakopoulos/L1RMSTCOX

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

L1RMSTCOX

Quantifying and interpreting the prediction accuracy of models for the survival time using mean absolute differences (MAD)

(1) Fit the observed survival time with Cox PH model.

(2) Cauculate restricted mean survival time (RMST) based on the fitted model in (1).

(3) Calculate MAD using the “inverse probability of censoring weighting” (IPCW) technique.

There are two version of codes. One version uses the same data to build Cox model, estimate RMST, and caculate MAD. The other cross-validated version splits the dataset into two halves of equal sample size, uses one subset to build Cox model, and uses the other subset to estimate RMST and calculate MAD.

Reference

Quantifying and Interpreting the Prediction Accuracy of Models for the Time of a Cardiovascular Event-Moving Beyond C Statistic: A Review. DOI: 10.1001/jamacardio.2022.5279

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%