outlierTest {robmixglm} | R Documentation |
Uses the parametric bootstrap to test for the presence of outliers.
outlierTest(object, R = 999, cores = max(detectCores() %/% 2, 1))
object |
A robmixglm object with a mixture (robust) random effects distribution. |
R |
number of bootstrap replications |
cores |
Number of cores to be used in parallel. Default is one less than available. |
Performs a parametric bootstrap to compare models with and without outliers.
An outlierTest object which is the object of class “boot” returned by the call to boot
.
Ken Beath <ken.beath@mq.edu.au>
hospcosts.robustmix <- robmixglm(costs~adm+age+dest+ins+loglos+sex, family = "gamma",
data = hospcosts, cores = 1)
summary(hospcosts.robustmix)
summary(outlierTest(hospcosts.robustmix, cores = 1))