Dear {predRupdate} team,
Thank you for developing this (much needed) package!
Not an issue but more of a suggestion (sorry if this is the wrong place..): as part of a paper on validating competing risks prediction models, we also thought about this question of validating an existing model/how one would go about sharing an existing model (without sharing the data the model was developed on).. so we made a short script showing how this could be done.
The idea is pretty much the same as the one in this package, with our model_info list analogous to a pred_input_info object, and predictRisk_shared_CSC() is basically what you would need inside pred_predict() if you were to extend to models based on cause-specific proportional hazards. We also thought that sharing the terms attribute of a model was better than sharing the formula, since the former is much more useful when splines are used in the model (it has the knots locations, and is easy to use with model.matrix on new data).
I guess it is a bit early in the development on the package, but hopefully some of this is useful if you are eventually considering extending to accommodate competing risks.
Thanks!
Dear
{predRupdate}team,Thank you for developing this (much needed) package!
Not an issue but more of a suggestion (sorry if this is the wrong place..): as part of a paper on validating competing risks prediction models, we also thought about this question of validating an existing model/how one would go about sharing an existing model (without sharing the data the model was developed on).. so we made a short script showing how this could be done.
The idea is pretty much the same as the one in this package, with our
model_infolist analogous to apred_input_infoobject, andpredictRisk_shared_CSC()is basically what you would need insidepred_predict()if you were to extend to models based on cause-specific proportional hazards. We also thought that sharing thetermsattribute of a model was better than sharing the formula, since the former is much more useful when splines are used in the model (it has the knots locations, and is easy to use with model.matrix on new data).I guess it is a bit early in the development on the package, but hopefully some of this is useful if you are eventually considering extending to accommodate competing risks.
Thanks!