Residuals for the barrierALK object
1 2 |
object |
the barrierALK object to get the residuals of |
type |
the type of residual to return, either deviance, pearson or RQR,PSR |
... |
unused Residuals of the barrierALK object including support for randomized quantile residuals (RQR) and probability scale residuals (PRS). Note that for the deviance and pearson residuals there is one or more residuals for each observation from each level of the CRL they pass through. The replicated response that the pearson or deviance residuals actually refer to can be retrived from the model fit along with the indices of how observations were replicated from the original data using fit$yrep and fit$repind respectively. Randomized Quantile Residuals try to get a single residual for each observation that should be intereptable the same as residuals for a linear model. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.