Viechtbauer 2010 - Effect Size Measures and escalc

Summary

Before any model is fitted a meta-analyst needs, for every study, an effect size and its sampling variance . escalc() computes these for 2x2 tables (RR, OR, RD, arcsine RD, Peto), raw/standardized mean differences, correlations (raw, unbiased, Fisher ) and proportions (raw, logit, arcsine, Freeman-Tukey), including zero-cell adjustments. Log or variance-stabilising transformations make the normality and known-variance assumptions of the model more plausible.

Overview

The models of Viechtbauer 2010 - Fixed, Random and Mixed-Effects Models take as data. Section 3.1 documents how these are produced. Signature:

escalc(measure, ai, bi, ci, di, n1i, n2i, m1i, m2i, sd1i, sd2i, xi, mi, ri, ni, data=NULL, add=1/2, to="only0", vtype="LS", append=FALSE)

with a second formula interface escalc(measure, formula, weights, data, add, to, vtype).

Main Content

2x2 table data

Each study gives cells (group 1: outcome 1, outcome 2), (group 2), with , . Designs: RCT (treatment/control), case-control, cross-sectional. Inputs: either or .

measureDefinitionNotes
"RR"log relative risk
"OR"log odds ratio
"RD"risk difference
"AS"arcsine-transformed RD (Rucker et al. 2009)
"PETO", , , Peto log OR; assumes true OR = 1 in all tables

Logs make RR and OR symmetric around 0 and closer to normal.

Zero cells

add (default 1/2) and to control continuity corrections: to="all" adds in all tables; "only0" (default) adds only in tables with a zero cell; "if0all" adds in all tables only if any table has a zero; "none" or add=0 means no adjustment (division by zero is recoded NA).

Mean differences

measureDefinitionNotes
"MD"raw mean difference
"SMD"pooled SD ; automatically corrected for slight positive bias (Hedges and Olkin 1985); vtype="LS" large-sample variance, "UB" unbiased

Correlations

measureDefinition
"COR"raw ; vtype LS or approximately unbiased UB (Hedges 1989)
"UCOR"unbiased , correcting slight negative bias (Olkin and Pratt 1958, eq. 2.7)
"ZCOR"Fisher : variance-stabilising and normalising (Fisher 1921)

Proportions (single-group data, events of )

measureDefinition
"PR"
"PLO" (logit)
"PAS"
"PFT"Freeman-Tukey double arcsine:

Zero-handling (add, to) applies to and .

Standard error formulas used elsewhere in this folder

The paper does not print the variance formulas; two standard large-sample ones appear in the companion paper (Roever 2020 - Pediatric Liver Transplant Worked Example): log odds ratio and log relative risk .

Formula interface

For 2x2 data in long format the formula is outcome ~ group | study with weights = cell frequencies (multipart formula via the Formula package). Long format required: one row per cell, columns study (k-level factor), grp (two-level factor), out (two-level factor) and freq. The advantage is generality for future multi-arm and multi-outcome structures; for ordinary one-row-per-study data the default interface is easier.

Examples

Log relative risk for BCG trial 1 (Aronson 1948)

Cells: treated TB+ , TB- (); control , (). . Variance , matching the printed yi=-0.88931133, vi=0.325584765. Negative values mean lower infection risk in the vaccinated group.

Connections

  • In marketing measurement, the analogue of escalc is turning each experiment into a (lift estimate, standard error) pair on a scale where normality is credible: log relative lift, or iROAS with a delta-method SE. Meta-analysing raw ratios without a log transform is the same mistake as pooling raw odds ratios.
  • The variance-stabilising transformations (Fisher , arcsine) are what make “known ” a reasonable approximation, an assumption discussed in Viechtbauer 2010 - Technical Details, Validation and Package Comparison.

See Also