Hello, and thank you very much for your generous sharing. I have encountered an issue while using dynamicLM to build a supermodel. Specifically, when I set the outcome event (event) values to survival (0) and death (1), I would perform external validation, the following error is reported:
scores_external <- score(list("csc" = supermodel3), cause=1,data = validation_test, lms = "LM")
Error in predict.dynamicLM(o, data, lms, cause) :
No cause should be specified for a coxph model.
I tried to remove the parameter cause and it still reports an error,for example
scores_external <- score(list("csc" = supermodel3),data = validation_test,lms = 'LM')
Error in predict.dynamicLM(o, data, lms, cause) :
No cause should be specified for a coxph model.
Hello, and thank you very much for your generous sharing. I have encountered an issue while using dynamicLM to build a supermodel. Specifically, when I set the outcome event (event) values to survival (0) and death (1), I would perform external validation, the following error is reported:
I tried to remove the parameter cause and it still reports an error,for example
Could I trouble you for help? Thank you.