Cyclops icon indicating copy to clipboard operation
Cyclops copied to clipboard

Add test for proportionality assumption

Open schuemie opened this issue 3 years ago • 2 comments

As part of our suite of study diagnostics, it would be good to evaluate whether the proportionality assumption holds when performing a Cox regression. Could we add something like Schoenfeld residuals to Cyclops?

schuemie avatar Nov 30 '21 09:11 schuemie

We may be able to directly use the code from the survival package (with an Rcpp wrapper from Cyclops): https://github.com/therneau/survival/blob/b45e1d20d2ac286424cf68f86a426b55bbb057f2/src/coxscho.c#L36

I'll try to carve out some time to look further. Do you have a required time-frame in mind?

msuchard avatar Nov 30 '21 16:11 msuchard

No, there's no required time-frame. It would just be good to have this eventually.

schuemie avatar Dec 01 '21 06:12 schuemie