
Dependent-censoring diagnostic
Source:R/survival_extra_native.R
morie_dependent_censoring_hazard.RdFits a Cox model with CENSORING as the outcome. Covariates that predict censoring are covariates whose censoring is informative, and the fitted coefficients say which ones and how strongly.
Details
What no diagnostic can do is detect censoring that depends on the unobserved event time itself – the quantity being censored is by definition not there to correlate with. A null result here is therefore not evidence of independent censoring; it only rules out the dependence that runs through the measured covariates.