chjackson / flexsurv

The flexsurv R package for flexible parametric survival and multi-state modelling
http://chjackson.github.io/flexsurv/
53 stars 28 forks source link

Calibrating and validating flexsurvspline model #158

Closed lgondara closed 1 year ago

lgondara commented 1 year ago

Is there any extension of this package or any other function that someone is aware of for calibrating and validating the flexsurvspline models? Similar to calibrate and validate in rms package for Cox model. Or should we just use the KM based binning approach for calibration? Same for any time-dependent AUC measures for these models.

chjackson commented 1 year ago

I am not familiar with this style of modelling, but SurvMetrics might do something like what you want.

Also flexsurv is supported by the tidymodels ecosystem via the censored package, and I think there are standard tools within that ecosystem for cross-validation. https://www.tidymodels.org/start/resampling/ might be a good place to start, but I have not used these tools.

lgondara commented 1 year ago

Thanks for the quick response. I will give these a shot.