Start with one study
In Aronson (1948), the data are:
| Group | Tuberculosis cases | Total participants |
|---|---|---|
| Vaccinated | 4 | 123 |
| Control | 11 | 139 |
The total includes people with and without tuberculosis. In the vaccinated group, 4 cases + 119 non-cases = 123 participants.
In the workspace: open Papers to define your question and group names. Then open Extract & review, choose binary outcomes, and add a comparison. Enter the cases and totals in the same group order as the table.
Record the source, outcome and assessment time, then check the verification box only after comparing the row with the paper. One study is enough to understand an effect size; you need at least two eligible independent comparisons to run the synthesis.
Calculate the risk ratio
Vaccinated risk is 4/123 ≈ 3.3%; control risk is 11/139 ≈ 7.9%. Dividing these risks gives RR ≈ 0.41. The observed risk in the first group is about 41% of that in the control group.
Try it yourself
Change these practice counts. This calculator does not change your saved project.
RR = (cases₁ / total₁) / (cases₂ / total₂). This practice calculator uses observed risks without a continuity correction or confidence interval.
Whether fewer events is beneficial depends on the outcome: fewer infections and fewer recoveries have different practical meanings.
Choose an effect for your research question
| What the studies report | Method supported here | What to check |
|---|---|---|
| Events and totals in two independent groups | Risk ratio | The same event definition, group order and defensible assessment time. |
| Group means, SDs and sample sizes | Hedges’ g | The same construct and direction; use SD, not SE. |
| Independent Pearson correlations and sample sizes | Fisher-z correlation pooling | The same pair of constructs and consistent variable coding. |
For fungal germination, a paper might report counts or replicate-level means and SDs. The correct input and sample size depend on the experimental design. Spores nested within one plate should not automatically be treated as independent experimental replicates.
In the workspace: use Extract & review for risk ratios or Hedges’ g, or Correlations for Pearson r. This site does not currently fit raw mean differences, odds ratios, hazard ratios, or dependent-effects models.
Choose the model for the question
Choose based on the scientific question and design, before comparing which model gives a smaller p value. A random-effects model cannot repair incompatible outcomes or dependent observations.
In the workspace: open Analyse, review the comparability statement, choose a model, and click Run checked dataset. The random-effects option uses DerSimonian–Laird (DL) with normal confidence intervals.
Validate with the published BCG counts
When all 13 published study tables are entered correctly, the DL reanalysis gives a pooled RR ≈ 0.49 (95% CI 0.34–0.70), with Q ≈ 152.2330, I² ≈ 92.12%, and τ² ≈ 0.3088.
For a precise numerical comparison, the pooled log risk ratio is approximately −0.71411722, SE 0.17874209, and τ² 0.30876026. The metafor command is rma(yi, vi, data=dat, method="DL"), after calculating log risk ratios from the published counts.
The REML example in metafor’s documentation has slightly different variance and heterogeneity estimates. This site’s original Analyse page uses DL, so compare like with like. The trial follow-up periods and study designs differ; reproducing a benchmark is not a substitute for assessing eligibility and comparability.
Understand the forest plot
| What you see | What it represents |
|---|---|
| One row | One study’s effect. |
| Square | The study estimate; a larger square has greater weight. |
| Horizontal line | The study’s 95% confidence interval. |
| Diamond | The pooled estimate and its confidence interval. |
| No-effect reference | 1 for a risk ratio; 0 for Hedges’ g or a correlation. |
The BCG example’s pooled risk ratio of about 0.49 indicates roughly half the risk in vaccinated groups compared with control groups, on average under the model. The confidence interval describes uncertainty around the average, rather than the full spread of study effects.
Look at the variation too
I² around 92% indicates substantial heterogeneity in this example. It does not mean that 92% of studies are wrong. Consider differences in study populations, methods and outcomes before interpreting the average.
Q summarises heterogeneity around the common-effect estimate; τ² estimates between-study variance on the analysis scale. In the original workspace, I² uses the Q-based convention, and a DL τ² estimate is reported even when the common-effect weights use no added variance.
The funnel plot, shown with at least ten checked studies, displays effects against their standard errors. Asymmetry has several possible causes and does not prove publication bias.
Save and reproduce the analysis
Export project JSON as a backup, and export the data CSV from Extract & review. After running a checked analysis, use its result controls to save the calculation results, forest SVG and R reproduction script.
Read the Methods section for the formulas and limitations. The R script describes the calculations; a complete scientific report also needs your literature-search methods, eligibility decisions, quality assessment and interpretation.
Before using your own studies: define a question, verify every value, check dependence and effect direction, select a defensible model, then inspect and export the result.
Project data stays in this browser and does not automatically sync to another device. Uploaded PDFs and correlation projects need separate backups. Loading a synthetic example replaces the current two-group dataset after confirmation, so export existing work first.
Source of the published example
Colditz et al. (1994). Efficacy of BCG vaccine in the prevention of tuberculosis: Meta-analysis of the published literature. JAMA, 271, 698–702. The counts are distributed as metadat::dat.bcg (also named dat.colditz1994).