Meta-Analysis: Subgroup (Q-between)
VerifiedMeta (legacy hub)
Run this test straight away on a free built-in teaching dataset — no data of your own needed — or bring your own. Either opens the guided workspace: variable setup, assumption diagnostics, results with effect sizes and confidence intervals, figures, and APA-ready reporting.
Loading teaching datasets…
Or use your own dataset
Loading your datasets…
Tests whether the pooled meta-analytic effect differs across study subgroups.
Splits studies into subgroups (e.g. by dose or population) and tests whether their pooled effects differ (Q-between), explaining part of the heterogeneity.
Worked example
Does the treatment effect differ between adults and children?
18 trials were pooled and split by age group; a subgroup analysis tests the between-group difference.
The effect was larger in adults (SMD = 0.51) than children (0.19), Q-between(1) = 11.1, p = .001.
Subgroup analysis showed a larger effect in adults than children, Q-between(1) = 11.1, p = .001.
Try it yourself: Load this ready-made sample and follow the run above.
When to use it
- A categorical study-level moderatorStudies split naturally into groups. e.g. adult vs paediatric trials, high vs low dose.
- You want to explain heterogeneityHeterogeneity is present and you have an a-priori reason it might differ by group.
- Enough studies per subgroupEach subgroup is itself a small meta-analysis and needs several studies to pool credibly.
When NOT to — use instead
- The moderator is continuousCarving a continuous variable (dose, year) into bins throws away information and depends on arbitrary cut-points. → Meta-regression
- Very few studies overallSplitting a small set into subgroups leaves each too sparse to pool; the Q_between test has almost no power.
Hypotheses
Parameter tested: the difference between subgroup pooled effects, tested via Q_between; each subgroup also has its own pooled effect and CI
Assumptions (and what to do if they fail)
Check: The grouping is pre-specified, not chosen after seeing which split gives p < .05.
If violated: Post-hoc subgrouping is a fishing expedition; any 'significant' difference is likely spurious.
Check: Q_between should compare each subgroup pool against the overall weighted grand mean (Borenstein), not against an arbitrary reference subgroup.
If violated: A wrong reference distorts the between-groups statistic — this exact bug was fixed in the runner; the note documents why the reference matters.
Check: A subgroup of 1–2 studies has an unstable pooled effect and τ².
If violated: A 'difference' can be an artefact of one small subgroup's noise.
Check: Subgroups are compared across studies, so the contrast is observational even when the studies are randomised trials.
If violated: A subgroup difference is suggestive, not causal — it is confounded by everything else that differs between the groups of studies.
Ready to run a Meta-Analysis: Subgroup (Q-between) on your own data?
Guided setup, automatic assumption checks, effect sizes, figures and an APA write-up.
Run this test →