calcMSRDensityConstHaz.Rd
Calculate the expected probability density function for the Martingale Survival Residual (MSR). This assumes constant transition intensities (haard) for both event occurrence and censoring.
calcMSRDensityConstHaz(D, rho, component = "both")
D | A vector of locations at which to calculate the probability density |
---|---|
rho | The censoring ratio |
component | The component of the probability density to return. "both" yields the full density. "event" yields the component due to event occurrence. "censored" yields the component due to censoring. The default is "both". |
A vector of probability densities that is the same length as D
https://www.biorxiv.org/content/early/2017/01/31/104406
calcMSR