Closed hfrick closed 2 years ago
update: I'll make this return a survival probability of 1 for time -Inf and 0 for time Inf
This pull request 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.
Part of #146
This refactors the calculation of the survival probabilities for mboost models based on their
survFit
objects.This changes behavior for the edge cases of predicting before or after event times. Do you think this is the right behavior? At time Inf it currently returns the survival probability at the last event but I'm inclined to think it should always be 0. Similarly, should we make return a probability of 1 for -Inf? And if so, do we make sure this also happens for other engines?
Created on 2022-09-19 by the reprex package (v2.0.1)