calcMartResid.Rd
Calculate Martingale Residuals for a vector of cumulative hazards and status indicators (0/FALSE for censoring and 1/TRUE for events)
calcMartResid(cumHaz, status)
cumHaz | A vector of cumulative hazards for the event of interest (length N) |
---|---|
status | A vector of status indicators (length N) |
A vector of Martingale Residuals (length N)
https://www.biorxiv.org/content/early/2017/01/31/104406
calcMSR