outlierProbs: Calculate outlier probabilities for each study.

Description Usage Arguments Details Value Author(s) Examples

Description

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.

Usage

1
2
## S3 method for class 'metaplus'
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 study being an outlier based on the fitted mixture model.

Value

outlier.prob

Posterior probability that each study is an outlier

slab

Labels corresponding to each study

Author(s)

Ken Beath <ken.beath@mq.edu.au>

Examples

1
2
3
4
data(cdp)
cdp3 <- metaplus(yi, sei, plotci = TRUE, slab = study, random = "mixture", cores = 1, data = cdp)
cdp3.outlierProbs <- outlierProbs(cdp3)
plot(cdp3.outlierProbs)

metaplus documentation built on June 12, 2021, 9:07 a.m.