Map Predicted Hazard to Predicted Density for a Single Observation
Source:R/utils.R
map_hazard_to_density.Rd
Map Predicted Hazard to Predicted Density for a Single Observation
Arguments
- hazard_pred_single_obs
A
numeric
vector of predicted hazard of failure in a given bin (under a given partitioning of the support) for a single observational unit based on a long format data structure (fromformat_long_hazards
). This is the probability that a given value falls in a corresponding bin, given that it has not yet failed (fallen in a preceding bin), as per Díaz I, van der Laan MJ (2011). “Super learner based conditional density estimation with application to marginal structural models.” International Journal of Biostatistics, 7(1), 1–20. doi:10.2202/1557-4679.1356 . .