You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Something is wrong with the survival probabilities for the stratified Cox model (for both the "survival" and the "glmnet" engine): The prediction for time = 20 for the first observation is missing.
interpolate_km_values() relies on the event times (.time) in the KM estimator to be the same for all observations in new_data so that the join via .cuts works properly. For the stratified Cox model that is the case only within each stratum, thus we need to group/nest by strata.
For the glmnet engine, we already have the info of which observation in new_data is in which stratum and it speeds things up a lot compared to going back to the (slow but correct) nesting by observation. For the survival engine, we still need to access/generate that info.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
Something is wrong with the survival probabilities for the stratified Cox model (for both the "survival" and the "glmnet" engine): The prediction for
time = 20
for the first observation is missing.Created on 2021-06-08 by the reprex package (v2.0.0)
The text was updated successfully, but these errors were encountered: