outlierProbs {robmixglm} | R Documentation |
Calculate outlier probabilities for each observation.
Description
For the normal mixture random effect calculates the probability that each observation is an outlier based on the posterior probability of it being an outlier.
Usage
outlierProbs(object)
Arguments
object |
A metaplus object with a mixture (robust) random effects distribution. |
Details
The outlier probabilities are obtained as the posterior probabilities of each observation being an outlier based on the fitted mixture model.
Value
outlier.prob |
Posterior probability that each observation is an outlier |
Author(s)
Ken Beath <ken.beath@mq.edu.au>
Examples
library(MASS)
data(forbes)
forbes.robustmix <- robmixglm(bp~pres, data = forbes, cores = 1)
outlierProbs(forbes.robustmix)
[Package robmixglm version 1.2-3 Index]