outlierProbs: Calculate outlier probabilities for each study.

outlierProbsR Documentation

Calculate outlier probabilities for each study.

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

## 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@kjbeath.id.au>

Examples


data(mag)
mag3 <- metaplus(yi, sei, plotci = TRUE, slab = study, random = "mixture", cores = 1, data = mag)
mag3.outlierProbs <- outlierProbs(mag3)
plot(mag3.outlierProbs)


metaplus documentation built on July 4, 2024, 5:08 p.m.