Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upcvrisk for CoxPH models broken #85
Comments
|
Here the relevant code: Lines 40 to 68 in b6c6827 The dummyfct is the (most) relevant function. |
|
@mschmid25 correctly stated that it should of course read - lplk + mod$risk()[grid]However, this fix also does not solve the issue. The functionality thus will eventually be removed. |






Using the cross-validation approach for Cox PH models as described in Verweij and van Houwelingen (1993) (
cvrisk(..., correted = TRUE)) does not seem to work:Using the "uncorrected" version seems fine