| hresid | Obtain the heuristic residuals. |
| inpat_bg | Inpatient blood glucose data for 2487 patients |
| loglikhresid | The negative log likelihood function for obtaining heuristic residuals |
| qqplot.EVT1 | Make Q-Q plot for residual diagnostics. |
| rologit | Fit RO-logit model and obtain heuristic residuals |
| rologit.coxph | Fit RO-logit model using Cox-PH |
| summary.rologit | Summarise RO-Logit Model |