Learn R Programming

baggr (version 0.2.0)

pooling: Pooling metrics for baggr

Description

Compute pooling metrics given a baggr meta-analysis model

Usage

pooling(bg, metric = "gelman-hill", summary = TRUE)

Arguments

bg

output of a baggr() function

metric

for now we use "gelman-hill", other options will be added in the future

summary

logical; if FALSE a whole vector of pooling statistics is returned, otherwise only the means and intervals

Value

Matrix with mean and intervals for chosen pooling metric, each row corresponding to one meta-analysis group.

Details

Pooling statistic describes the extent to which group-level estimates of treatment effect are shrunk toward average treatment effect in the meta-analysis model.