outlierProbs | R Documentation |
For the normal mixture random effect calculates the probability that each study is an outlier based on the posterior probability of it being an outlier.
## S3 method for class 'metaplus'
outlierProbs(object)
object |
A metaplus object with a mixture (robust) random effects distribution. |
The outlier probabilities are obtained as the posterior probabilities of each study being an outlier based on the fitted mixture model.
outlier.prob |
Posterior probability that each study is an outlier |
slab |
Labels corresponding to each study |
Ken Beath <ken@kjbeath.id.au>
data(mag)
mag3 <- metaplus(yi, sei, plotci = TRUE, slab = study, random = "mixture", cores = 1, data = mag)
mag3.outlierProbs <- outlierProbs(mag3)
plot(mag3.outlierProbs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.