Journal of Statistical Software | 卷:94 |
PResiduals: An R Package for Residual Analysis Using Probability-Scale Residuals | |
关键词: residual; diagnostics; correlation; association; covariate-adjustment; rank statistics; | |
DOI : 10.18637/jss.v094.i12 | |
来源: DOAJ |
【 摘 要 】
We present the R package PResiduals for residual analysis using the probability-scale residual. This residual is well defined for a wide variety of outcome types and models, including some settings where other popular residuals are not applicable. It can be used for model diagnostics, tests of conditional associations, and covariate-adjustment for Spearman's rank correlation. These tests and measures of conditional association are applicable to any orderable variable. They use order information but do not require assigning scores to ordered categorical variables or transforming continuous variables, and therefore, can achieve a good balance between robustness and efficiency. We illustrate the usage of the PResiduals package with a publicly available dataset.
【 授权许可】
Unknown