Generate density, probability, quantile and random generation functions for (scaled) empirical mortality distribution
Source:R/generate_mortality_funs.R
generate_mortality_funs.Rd
The cumulative mortality functions is modelled over that of the CLASSIC trial (see details), but can be scaled to achieve a desired mortality at end of follow-up
Arguments
- cum_mortality
scalar in
[0, 1]
, the cumulative mortality at end of follow-up (= time of censoring)- censoring_value
the value assigned when a patient is censored, default is
NA
Value
A list with the four functions, named d
, p
, q
and r
to follow
R conventions (see, e.g., ?rnorm
)
Details
The built-in cumulative mortality function is based on results from the standard arm in the Conservative versus Liberal Approach to Fluid Therapy of Septic Shock in Intensive Care (CLASSIC) trial (see references below).
References
Meyhoff TS et al. (2022). Restriction of Intravenous Fluid in ICU Patients with Septic Shock. N Engl J Med (https://doi.org/10.1056/NEJMoa2202707).
Kjaer M-BN et al. (2023). Long-term effects of restriction of intravenous fluid in adult ICU patients with septic shock. Intensive Care Med (https://doi.org/10.1007/s00134-023-07114-8)