Calculates the probability of dropout before an event by a follow-up time, for exponential dropout and exponential or piecewise exponential event times.
.getDropoutIncidence(time, piecewiseLambda, piecewiseSurvivalTime, phi)A numeric vector of dropout incidences, with one entry per time.
Vector of follow-up times since enrollment. Negative times give zero incidence; missing times remain missing.
Normalized nonnegative event hazards, one per interval.
Normalized interval start times, starting at zero. Ignored when there is a single event hazard.
Nonnegative exponential dropout hazard.
Integrates the dropout hazard times joint event-free and dropout-free survival analytically over the event-hazard intervals. Inputs are normalized by the survival model before this internal helper is called.