SlideShare a Scribd company logo
1 of 42
Download to read offline
Investigating heterogeneity:
Subgroup analysis and
meta-regression
Cochrane Statistical Methods Group Training course
Cardiff, 4 March 2010
Investigating heterogeneity:
Subgroup analysis and
meta-regression
Cochrane Statistical Methods Group Training course
Cardiff, 4 March 2010
Roger Harbord
Department of Social Medicine, University of Bristol
Plan of sessionPlan of session
• Presentation
• Exercises
• Discussion
AcknowledgementsAcknowledgements
Many of these slides were written or designed by:
• Julian Higgins (MRC Biostatistics Unit, Cambridge)
• Georgia Salanti (U. of Ioannina School of Medicine)
• Judith Anzures (ex MRC BSU, now Roche)
• Jonathan Sterne (U. of Bristol)
• Much of this talk will be based on the Cochrane
Handbook for Systematic Reviews of Interventions, in
particular sections 9.5 “Heterogeneity” and 9.6
“Investigating heterogeneity”.
• I will make it clear when I express a personal viewpoint.
Outline of presentationOutline of presentation
• What is heterogeneity?
• What can we do about it?
• Measuring and presenting heterogeneity
– I2, ², predictive intervals
• Subgroup analysis & meta-regression
– How are they are related?
– Fixed- or random-effects?
– Problems and pitfalls
– Practical guidance
– Extensions
• Summary
What is (statistical) heterogeneity?What is (statistical) heterogeneity?
• Variation in the true effects underlying the studies
• Observed effects more variable than would
expect by chance (sampling error) alone
May be due to:
• Clinical diversity (variation in participants,
interventions, outcomes)
• Methodological diversity (varying degrees of
bias)
Hbk: 9.5.1
What can we do about heterogeneity?What can we do about heterogeneity?
• Check the data Incorrect data extraction,
unit of analysis errors
• Ignore it Don’t do that!
• Resign to it Do no meta-analysis
• Adjust for it Random effects meta-analysis
• Explore it Subgroup analyses,
meta-regression
• Change effect measure OR, RR, RR(non-event)…
• Exclude studies As sensitivity analysis
Only if an obvious reason –
preferably prespecified
Hbk: 9.5.3
Measuring heterogeneityMeasuring heterogeneity
• Cochran’s Q gives a test for heterogeneity
– Follows a chi-squared distribution under the null
• I 2 quantifies the degree of inconsistency
I 2 = (Q – df) / Q × 100%
(if negative, set to zero)
– % of variability due to heterogeneity rather than
chance
– Variability due to chance depends on study size
– So I 2 depends on size of studies as well as between-
study variability
Hbk: 9.5.2
Presenting heterogeneity in random-
effects meta-analysis
Presenting heterogeneity in random-
effects meta-analysis
• ² is the between-study variance
• So is the between-study standard deviation
– Therefore is measured on the analysis scale
– This will be on the log scale for ratio estimates
(OR, RR)
so can be hard to interpret
Hbk: 9.5.4
Prediction intervalsPrediction intervals
• If and μ were known, would expect 95% of the true
effects in future studies to lie within μ ± 1.96 τ
+ 1.96– 1.96
Hbk: 9.5.4
Prediction intervalsPrediction intervals
• In practice, both and μ are estimated
• Bayesian analysis would give a rigorous way of taking all
sources of uncertainty into account
• A reasonable approximation:
μ ± t √ τ² + SE(μ)²
– t is 97.5 percentile of a t-distribution (instead of 1.96)
– df debateable: compromise on df = #studies – 2
– Needs at least 3 studies!
• Implemented in the metan command in Stata
– rfdist option
• Not in RevMan yet but may be in future
Meta-regression and subgroup analysisMeta-regression and subgroup analysis
• Methods for investigating possible explanations of
heterogeneity in a meta-analysis
• Used to examine associations between study-level
characteristics and treatment effects
• Assume the treatment effect is related to one or more
covariates
• Estimate the interaction between the covariate and the
treatment effect,
i.e. how the treatment effect is modified by the covariate
• Test whether this interaction is zero
Hbk: 9.6
However…However…
• Typically unlikely to obtain useful results (low power)
• Risk of wrong results by chance (false positives)
• Risk of wrong results due to nature of data (confounding)
• Potential for biases
• Meta-regression can’t be done in RevMan
Undertaking subgroup analysisUndertaking subgroup analysis
• Tempting to compare effect estimates between
subgroups by considering results from each subgroup
separately
• Ok to compare magnitudes of effect informally
• Not ok to compare statistical significance or
p-values!
• “It is extremely misleading to compare the statistical
significance of the results [in different subgroups]”
Hbk: 9.6.3
Example: exercise for depressionExample: exercise for depression
-2 -1 0 1
Study
Mutrie
McNeil
Reuter
Doyne
Hess-Homeier
Epstein
Martinsen
Singh
Klein
Veale
Favours exercise
Standardized mean difference
Favours control
Estimates and 95% confidence intervals
Lawlor DA, Hopker SW.
BMJ 2001; 322: 763-7
Example: HeterogeneityExample: Heterogeneity
• Test whether different
SMDs underlie different
studies:
Q = 35.4 (9 d.f.)
(p = 0.00005)
I 2 = 75%
-2 -1 0 1
Study
Mutrie
McNeil
Reuter
Doyne
Hess-Homeier
Epstein
Martinsen
Singh
Klein
Veale
Favours exercise
Standardized mean difference
Favours control
Estimates and 95% confidence intervals
Example: random-effects meta-analysisExample: random-effects meta-analysis
• Recognizes that true
effects differ between
studies but does not
explain why
• Summary estimate is the
centre of a distribution of
true effects
-2 -1 0 1
Study
Mutrie
McNeil
Reuter
Doyne
Hess-Homeier
Epstein
Martinsen
Singh
Klein
Veale
Favours exercise
Standardized mean difference
Favours control
Estimates and 95% confidence intervals
-1.06 (-1.53 to -0.59)
Can we explain some
or all of the between-
study heterogeneity?
Meta-regression: fixed or random
effects?
Meta-regression: fixed or random
effects?
• “In general, it is an unwarranted assumption that all the
heterogeneity is explained by the covariate, and the between-
trial variance should be included as well, corresponding to a
“random-effects” analysis.”
(Thompson 2001 Systematic Reviews in Health Care Ch. 9)
• “Fixed effect meta-regression is likely to produce seriously
misleading results in the presence of heterogeneity”
(Higgins and Thompson 2004 Statistics in Medicine)
• Fixed-effect meta-regression should not be used!
Hbk: 9.6.4
Tests for subgroup effectsTests for subgroup effects
• Cochrane Handbook section 9.6.3.1 describes a test for
differences between two or more subgroups based on an
ANOVA-like partitioning of Cochran’s Q statistic
• Reported by RevMan 5 for fixed-effect meta-analysis with
subgroups
• Equivalent to fixed-effect meta-regression with an
indicator (dummy) variable for each group
• Therefore, in my view,
this method should not be used either!
• A better method (allowing for unexplained heterogeneity)
is likely to be introduced in the next version of RevMan
Random-effects meta-regressionRandom-effects meta-regression
• Allows for heterogeneity beyond that explained by the
explanatory variable(s)
• Allow for a variance component  2 which accounts for
unexplained heterogeneity between studies
• Like a random-effects meta-analysis
• By comparing a random-effects meta-analysis with a
random-effects meta-regression, can determine
how much of the heterogeneity (between-study variance)
is explained by the explanatory variable(s)
Hbk: 9.6.4
Subgroup analysisSubgroup analysis
• Divide up the studies
• For example, by duration
of trial
• Compare effects
between subgroups
• NB do not compare p-
values!
Mutrie
McNeil
Doyne
Hess-Homeier
Epstein
4-8 weeks follow-up
-1.33 (-1.99 to -0.67)
-2 -1 0 1
Reuter
Martinsen
Singh
Klein
Veale
Favours exercise
Standardized mean difference
Favours control
Estimates and 95% confidence intervals
> 8 weeks follow-up
-0.82 (-1.46 to -0.19)
Meta-regression to compare subgroupsMeta-regression to compare subgroups
• Assumes the between-study variance  2 is the same in
all subgroups
– Sensible when some or all subgroups have few studies
• Estimates the difference in treatment effect between
subgroups
• Example: Long duration vs. short duration
Difference in SMD = 0.5 (95%CI: –0.5 to 1.5) p = 0.32
– longer duration trials have a less negative SMD
– i.e. treatment effect is smaller in long duration trials
• Weak statistical evidence for this being a true effect
– but dichotomization reduces statistical power
Meta-regression with a continuous study
characteristic
Meta-regression with a continuous study
characteristic
-2 -1 0 1
Favours exercise
Standardized mean difference
Favours control
Estimates and 95% confidence intervals
4
12
8
10
6
Follow-up
• Predict effect according
to length of follow-up
• SMD decreases by 0.18
(95%CI: 0.02 to 0.34)
for each extra week of
treatment
• (p = 0.008)
‘Bubble plots’‘Bubble plots’
• Circle sizes vary with inverse of within-study variance
(weight in a fixed-effect meta-analysis)
Has effectiveness of fluoride gels changed
over time? Marinho et al (2004)
Has effectiveness of fluoride gels changed
over time? Marinho et al (2004)
-1-.50.51
Preventedfraction
1960 1970 1980 1990 2000
Year
Problems and pitfallsProblems and pitfalls
• We shall consider
– Choice of explanatory variables and spurious findings
– Confounding
– Lack of power
– Aggregation bias
Selecting study characteristicsSelecting study characteristics
• There are typically many study characteristics that might
be used as explanatory variables
– Heterogeneity can always be explained if you look at enough of
them
– Great risk of spurious findings
• Beware ‘prognostic factors’
– things that predict clinical outcome don’t necessarily affect
treatment effects
– e.g. age may be strongly prognostic, but risk ratios may well be
the same irrespective of age
• Explanatory variable data may be missing
– e.g. no information on dose; unable to assess quality, etc
Hbk: 9.6.5
ConfoundingConfounding
• Meta-regression looks at observational relationships
– even if the studies are randomized controlled trials
• A relationship may not be causal
• Confounding (due to co-linearity) is common
Treatment
effect
Year of
randomization
Quality
Confounder
(associated with
treatment effect and
year)Hbk: 9.6.5.6
Lack of powerLack of power
• Unfortunately most meta-analyses in Cochrane reviews
do not have many studies
• Meta-regression typically has low power to detect
relationships
• Model diagnostics / adequacy difficult to assess
Aggregation bias (ecological fallacy)Aggregation bias (ecological fallacy)
• Think about study characteristics that
summarize patients within a study, e.g.
– average age
– % females
– average duration of follow-up
– % drop out
Hbk: 9.6.5.5
Relationship between treatment effect and average age
SMD
Average age in each study
30 40 50 60 70
.01
.1
.5
1
2
10
Relationship between treatment effect and average age
SMD
Average age
30 40 50 60 70
.01
.1
.5
1
2
10
Average age in each study
Aggregation bias (ecological fallacy)Aggregation bias (ecological fallacy)
• Think about study characteristics that summarize patients
within a study, e.g.
– average age
– % females
– average duration of follow-up
– % drop out
• Relationships across studies may not reflect relationships
within studies
• The relationship between treatment effect and age, sex,
etc best measured within a study
– Collect individual patient data
Practical guidancePractical guidance
• How do I choose characteristics?
• How many studies do I need?
• How many characteristics can I look at?
• How do I do the meta-regression?
• How do I interpret the results?
• How do I incorporate meta-regression into a Cochrane
review?
Selecting explanatory variablesSelecting explanatory variables
• Specify a small number of characteristics in advance
• Ensure there is scientific rationale for investigating each
characteristic
• Make sure the effect of a characteristic can be identified
– does it differentiate studies?
– aggregation bias
• Think about whether the characteristic is closely related
to another characteristic
– confounding
Hbk: 9.6.5
How many studies / characteristics?How many studies / characteristics?
• Typical guidance for regression is to have at least 10
observations (in our case, studies) for each characteristic
examined
• Some say 5 studies is enough
SoftwareSoftware
RevMan
• Not available
Stata [recommended]
• metareg :random-effects meta-regression
• vwls :fixed-effect meta-regression
SAS
• See van Houwelingen et al (2002)
Comprehensive Meta-analysis
• Single covariate only in CMA 2; multiple in next version
Other software
• R, WinBUGS
Meta-regression in StataMeta-regression in Stata
• metareg is an easy-to-use Stata command
• For details of obtaining the command, type
findit metareg in Stata and click the links to install
• For explanation of command syntax, then type
help metareg in Stata
• For more explanation and discussion, see:
Harbord & Higgins Stata Journal 2008; 8(4):493-519
Should you believe meta-regression
results?
Should you believe meta-regression
results?
• Was the analysis pre-specified or post hoc?
• Is there indirect evidence in support of the
findings?
• Is the magnitude of the relationship of practical
importance?
• Is there strong statistical evidence of an effect
(small p-value) ?
Hbk: 9.6.6
Including meta-regression in a
Cochrane review
Including meta-regression in a
Cochrane review
• You are encouraged to use meta-regression if it is
appropriate
• ‘Bubble’ plots may be included as Additional Figures
• Results should be presented in Additional tables
• Consider presenting:
Explanatory
variable
Slope or
Exp(slope)
95%
confidence
interval
Proportion
of variation
explained
Interpretation
Duration OR = 1.3 0.9 to 1.8 14% Weak evidence that
odds ratio increases
with duration
ExtensionsExtensions
• Baseline risk of the studied population (measured in the
Control group) might be considered as an explanatory
variable
– Beware! It is inherently correlated with treatment effects
– Special methods are needed (Thompson et al 1997)
• If a statistically significant result is obtained, consider
using a permutation test to obtain the ‘correct’ p-value
– also can be used to ‘adjust’ for multiple testing of several
explanatory variables (Higgins and Thompson 2004)
– implemented as permute() option to metareg
Hbk: 9.6.7
Key messagesKey messages
• Meta-regression and subgroup analysis examine the
relationship between treatment effects and one or more
study-level characteristics
• Using meta-regression to explain heterogeneity sounds
great in theory, and is straightforward to perform in Stata
• In practice subgroup analysis and meta-regression
should be undertaken and interpreted with caution
– observational relationships
– few studies
– many potential sources of heterogeneity
– confounding and aggregation bias
ReferencesReferences
• Berkey CS, Hoaglin DC, Mosteller F and Colditz GA. A random-
effects regression model for meta-analysis. Statistics in Medicine
1995; 14: 395-411
• Harbord RM,Higgins JPT. Meta-regression in Stata. Stata Journal
2008; 8(4): 493-519
• Higgins J, Thompson S, Altman D and Deeks J. Statistical
heterogeneity in systematic reviews of clinical trials: a critical
appraisal of guidelines and practice. Journal of Health Services
Research and Policy 2002; 7: 51-61
• Higgins JPT, Thompson SG. Controlling the risk of spurious results
from meta-regression. Statistics in Medicine 2004; 23: 1663-1682
• Marinho VCC, Higgins JPT, Logan S, Sheiham A. Fluoride gels for
preventing dental caries in children and adolescents (Cochrane
Review). In: The Cochrane Library, Issue 3, 2004. Chichester, UK:
John Wiley & Sons, Ltd
More referencesMore references
• Thompson SG, Smith TC and Sharp SJ. Investigation underlying risk
as a source of heterogeneity in meta-analysis. Statistics in Medicine
1997; 16: 2741-2758
• Thompson SG, Sharp SJ. Explaining heterogeneity in meta-analysis:
a comparison of methods. Statistics in Medicine 1999; 18: 2693-2708
• Thompson SG, Higgins JPT. How should meta-regression analyses
be undertaken and interpreted? Statistics in Medicine 2002; 21:
1559-1574
• Thompson SG and Higgins JPT. Can meta-analysis help target
interventions at individuals most likely to benefit? The Lancet 2005;
365: 341-346,.
• van Houwelingen HC, Arends LR, Stijnen T. Tutorial in Biostatistics:
Advanced methods in meta-analysis: multivariate approach and
meta-regression. Statistics in Medicine 2002; 21: 589–624

More Related Content

What's hot

Metanalysis Lecture
Metanalysis LectureMetanalysis Lecture
Metanalysis Lecture
drmomusa
 
Alternatives to t test
Alternatives to t testAlternatives to t test
Alternatives to t test
LONDIWE SHANGE
 
Statistical Significance Testing in Information Retrieval: An Empirical Analy...
Statistical Significance Testing in Information Retrieval: An Empirical Analy...Statistical Significance Testing in Information Retrieval: An Empirical Analy...
Statistical Significance Testing in Information Retrieval: An Empirical Analy...
Julián Urbano
 

What's hot (20)

Imran rizvi statistics in meta analysis
Imran rizvi statistics in meta analysisImran rizvi statistics in meta analysis
Imran rizvi statistics in meta analysis
 
Meta-analysis when the normality assumptions are violated (2008)
Meta-analysis when the normality assumptions are violated (2008)Meta-analysis when the normality assumptions are violated (2008)
Meta-analysis when the normality assumptions are violated (2008)
 
Network meta-analysis & models for inconsistency
Network meta-analysis & models for inconsistencyNetwork meta-analysis & models for inconsistency
Network meta-analysis & models for inconsistency
 
Intent-to-Treat (ITT) Analysis in Randomized Clinical Trials
Intent-to-Treat (ITT) Analysis in Randomized Clinical TrialsIntent-to-Treat (ITT) Analysis in Randomized Clinical Trials
Intent-to-Treat (ITT) Analysis in Randomized Clinical Trials
 
Network meta-analysis with integrated nested Laplace approximations
Network meta-analysis with integrated nested Laplace approximationsNetwork meta-analysis with integrated nested Laplace approximations
Network meta-analysis with integrated nested Laplace approximations
 
Bowen & Neill (2013) Adventure Therapy Meta-Analysis Presentation
Bowen & Neill (2013) Adventure Therapy Meta-Analysis PresentationBowen & Neill (2013) Adventure Therapy Meta-Analysis Presentation
Bowen & Neill (2013) Adventure Therapy Meta-Analysis Presentation
 
Biostatistics in cancer RCTs
Biostatistics in cancer RCTsBiostatistics in cancer RCTs
Biostatistics in cancer RCTs
 
Metanalysis Lecture
Metanalysis LectureMetanalysis Lecture
Metanalysis Lecture
 
Meta analysis
Meta analysisMeta analysis
Meta analysis
 
Cochrane Collaboration
Cochrane CollaborationCochrane Collaboration
Cochrane Collaboration
 
Analyzing the randomised control trial (rct)
Analyzing the randomised control trial (rct)Analyzing the randomised control trial (rct)
Analyzing the randomised control trial (rct)
 
Alternatives to t test
Alternatives to t testAlternatives to t test
Alternatives to t test
 
Statistical test
Statistical testStatistical test
Statistical test
 
Chapter 6 Ranksumtest
Chapter 6 RanksumtestChapter 6 Ranksumtest
Chapter 6 Ranksumtest
 
Network meta analysis
Network meta analysisNetwork meta analysis
Network meta analysis
 
Sample Size Estimation and Statistical Test Selection
Sample Size Estimation  and Statistical Test SelectionSample Size Estimation  and Statistical Test Selection
Sample Size Estimation and Statistical Test Selection
 
Parmetric and non parametric statistical test in clinical trails
Parmetric and non parametric statistical test in clinical trailsParmetric and non parametric statistical test in clinical trails
Parmetric and non parametric statistical test in clinical trails
 
2010 JSM - Meta Stat Issue Medical Devices
2010 JSM - Meta Stat Issue Medical Devices2010 JSM - Meta Stat Issue Medical Devices
2010 JSM - Meta Stat Issue Medical Devices
 
Statistical Significance Testing in Information Retrieval: An Empirical Analy...
Statistical Significance Testing in Information Retrieval: An Empirical Analy...Statistical Significance Testing in Information Retrieval: An Empirical Analy...
Statistical Significance Testing in Information Retrieval: An Empirical Analy...
 
Statistics in meta analysis
Statistics in meta analysisStatistics in meta analysis
Statistics in meta analysis
 

Viewers also liked

2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith
2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith
2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith
rgveroniki
 
2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbison2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbison
rgveroniki
 
2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie
2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie
2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie
rgveroniki
 
2010 smg training_cardiff_day1_session1(2 of 3) altman
2010 smg training_cardiff_day1_session1(2 of 3) altman2010 smg training_cardiff_day1_session1(2 of 3) altman
2010 smg training_cardiff_day1_session1(2 of 3) altman
rgveroniki
 
Can narratives and Cochrane reviews work together?
Can narratives and Cochrane reviews work together?Can narratives and Cochrane reviews work together?
Can narratives and Cochrane reviews work together?
Tamara Rader
 
The cochrane library an introduction for rheumatologists - 17 feb 2014
The cochrane library   an introduction for rheumatologists - 17 feb 2014The cochrane library   an introduction for rheumatologists - 17 feb 2014
The cochrane library an introduction for rheumatologists - 17 feb 2014
Tamara Rader
 
How to read a forest plot?
How to read a forest plot?How to read a forest plot?
How to read a forest plot?
Samir Haffar
 
Cochrane Library Training
Cochrane Library TrainingCochrane Library Training
Cochrane Library Training
Tamara Rader
 

Viewers also liked (17)

2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith
2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith
2010 smg training_cardiff_day1_session2a (1 of 1) tudur-smith
 
2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbison2010 smg training_cardiff_day1_session2b (2 of 2) herbison
2010 smg training_cardiff_day1_session2b (2 of 2) herbison
 
2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie
2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie
2010 smg training_cardiff_day1_session1 (1 of 3)_mckenzie
 
2010 smg training_cardiff_day1_session1(2 of 3) altman
2010 smg training_cardiff_day1_session1(2 of 3) altman2010 smg training_cardiff_day1_session1(2 of 3) altman
2010 smg training_cardiff_day1_session1(2 of 3) altman
 
Can narratives and Cochrane reviews work together?
Can narratives and Cochrane reviews work together?Can narratives and Cochrane reviews work together?
Can narratives and Cochrane reviews work together?
 
Defining and assessing heterogeneity of effects interaction
Defining and assessing heterogeneity of effects interactionDefining and assessing heterogeneity of effects interaction
Defining and assessing heterogeneity of effects interaction
 
Data Extraction
Data ExtractionData Extraction
Data Extraction
 
The cochrane library an introduction for rheumatologists - 17 feb 2014
The cochrane library   an introduction for rheumatologists - 17 feb 2014The cochrane library   an introduction for rheumatologists - 17 feb 2014
The cochrane library an introduction for rheumatologists - 17 feb 2014
 
Cochrane Workshop Picos
Cochrane Workshop PicosCochrane Workshop Picos
Cochrane Workshop Picos
 
Systematic review and meta analaysis course - part 1
Systematic review and meta analaysis course - part 1Systematic review and meta analaysis course - part 1
Systematic review and meta analaysis course - part 1
 
Data Extraction
Data ExtractionData Extraction
Data Extraction
 
Systematic review and meta analaysis course - part 2
Systematic review and meta analaysis course - part 2Systematic review and meta analaysis course - part 2
Systematic review and meta analaysis course - part 2
 
How to read a forest plot?
How to read a forest plot?How to read a forest plot?
How to read a forest plot?
 
Systematic review: teams, processes, experiences
Systematic review: teams, processes, experiencesSystematic review: teams, processes, experiences
Systematic review: teams, processes, experiences
 
How to write a biomedical research paper
How to write a biomedical research paperHow to write a biomedical research paper
How to write a biomedical research paper
 
Cochrane Library Training
Cochrane Library TrainingCochrane Library Training
Cochrane Library Training
 
Using Social Media in (Evidence-Based Emergency) Medicine: A Primer for Pract...
Using Social Media in (Evidence-Based Emergency) Medicine: A Primer for Pract...Using Social Media in (Evidence-Based Emergency) Medicine: A Primer for Pract...
Using Social Media in (Evidence-Based Emergency) Medicine: A Primer for Pract...
 

Similar to 2010 smg training_cardiff_day1_session4_harbord

Therapeutic Study 7-10-2020.pdf
Therapeutic Study 7-10-2020.pdfTherapeutic Study 7-10-2020.pdf
Therapeutic Study 7-10-2020.pdf
llewKhwangmuang
 

Similar to 2010 smg training_cardiff_day1_session4_harbord (20)

David Moher - MedicReS World Congress 2012
David Moher - MedicReS World Congress 2012David Moher - MedicReS World Congress 2012
David Moher - MedicReS World Congress 2012
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and size
 
Validity andreliability
Validity andreliabilityValidity andreliability
Validity andreliability
 
Meta Analysis in Agriculture by Aman Vasisht
Meta Analysis in Agriculture by Aman VasishtMeta Analysis in Agriculture by Aman Vasisht
Meta Analysis in Agriculture by Aman Vasisht
 
Chapter 28 clincal trials
Chapter 28 clincal trials Chapter 28 clincal trials
Chapter 28 clincal trials
 
Meta analysis
Meta analysisMeta analysis
Meta analysis
 
When to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptxWhen to use, What Statistical Test for data Analysis modified.pptx
When to use, What Statistical Test for data Analysis modified.pptx
 
scope and need of biostatics
scope and need of  biostaticsscope and need of  biostatics
scope and need of biostatics
 
Overview of systematic review and meta analysis
Overview of systematic review and meta  analysisOverview of systematic review and meta  analysis
Overview of systematic review and meta analysis
 
6. Randomised controlled trial
6. Randomised controlled trial6. Randomised controlled trial
6. Randomised controlled trial
 
Epidemological methods
Epidemological methodsEpidemological methods
Epidemological methods
 
Meta analysis
Meta analysisMeta analysis
Meta analysis
 
Weinberg-study-design-full-set.ppt
Weinberg-study-design-full-set.pptWeinberg-study-design-full-set.ppt
Weinberg-study-design-full-set.ppt
 
Clinical trial design
Clinical trial designClinical trial design
Clinical trial design
 
Avoid overfitting in precision medicine: How to use cross-validation to relia...
Avoid overfitting in precision medicine: How to use cross-validation to relia...Avoid overfitting in precision medicine: How to use cross-validation to relia...
Avoid overfitting in precision medicine: How to use cross-validation to relia...
 
Therapeutic Study 7-10-2020.pdf
Therapeutic Study 7-10-2020.pdfTherapeutic Study 7-10-2020.pdf
Therapeutic Study 7-10-2020.pdf
 
Biomedical statistics
Biomedical statisticsBiomedical statistics
Biomedical statistics
 
Confounding.pptx
Confounding.pptxConfounding.pptx
Confounding.pptx
 
Confounding.pptx
Confounding.pptxConfounding.pptx
Confounding.pptx
 
experimental research
experimental researchexperimental research
experimental research
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
heathfieldcps1
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 

2010 smg training_cardiff_day1_session4_harbord

  • 1. Investigating heterogeneity: Subgroup analysis and meta-regression Cochrane Statistical Methods Group Training course Cardiff, 4 March 2010 Investigating heterogeneity: Subgroup analysis and meta-regression Cochrane Statistical Methods Group Training course Cardiff, 4 March 2010 Roger Harbord Department of Social Medicine, University of Bristol
  • 2. Plan of sessionPlan of session • Presentation • Exercises • Discussion
  • 3. AcknowledgementsAcknowledgements Many of these slides were written or designed by: • Julian Higgins (MRC Biostatistics Unit, Cambridge) • Georgia Salanti (U. of Ioannina School of Medicine) • Judith Anzures (ex MRC BSU, now Roche) • Jonathan Sterne (U. of Bristol) • Much of this talk will be based on the Cochrane Handbook for Systematic Reviews of Interventions, in particular sections 9.5 “Heterogeneity” and 9.6 “Investigating heterogeneity”. • I will make it clear when I express a personal viewpoint.
  • 4. Outline of presentationOutline of presentation • What is heterogeneity? • What can we do about it? • Measuring and presenting heterogeneity – I2, ², predictive intervals • Subgroup analysis & meta-regression – How are they are related? – Fixed- or random-effects? – Problems and pitfalls – Practical guidance – Extensions • Summary
  • 5. What is (statistical) heterogeneity?What is (statistical) heterogeneity? • Variation in the true effects underlying the studies • Observed effects more variable than would expect by chance (sampling error) alone May be due to: • Clinical diversity (variation in participants, interventions, outcomes) • Methodological diversity (varying degrees of bias) Hbk: 9.5.1
  • 6. What can we do about heterogeneity?What can we do about heterogeneity? • Check the data Incorrect data extraction, unit of analysis errors • Ignore it Don’t do that! • Resign to it Do no meta-analysis • Adjust for it Random effects meta-analysis • Explore it Subgroup analyses, meta-regression • Change effect measure OR, RR, RR(non-event)… • Exclude studies As sensitivity analysis Only if an obvious reason – preferably prespecified Hbk: 9.5.3
  • 7. Measuring heterogeneityMeasuring heterogeneity • Cochran’s Q gives a test for heterogeneity – Follows a chi-squared distribution under the null • I 2 quantifies the degree of inconsistency I 2 = (Q – df) / Q × 100% (if negative, set to zero) – % of variability due to heterogeneity rather than chance – Variability due to chance depends on study size – So I 2 depends on size of studies as well as between- study variability Hbk: 9.5.2
  • 8. Presenting heterogeneity in random- effects meta-analysis Presenting heterogeneity in random- effects meta-analysis • ² is the between-study variance • So is the between-study standard deviation – Therefore is measured on the analysis scale – This will be on the log scale for ratio estimates (OR, RR) so can be hard to interpret Hbk: 9.5.4
  • 9. Prediction intervalsPrediction intervals • If and μ were known, would expect 95% of the true effects in future studies to lie within μ ± 1.96 τ + 1.96– 1.96 Hbk: 9.5.4
  • 10. Prediction intervalsPrediction intervals • In practice, both and μ are estimated • Bayesian analysis would give a rigorous way of taking all sources of uncertainty into account • A reasonable approximation: μ ± t √ τ² + SE(μ)² – t is 97.5 percentile of a t-distribution (instead of 1.96) – df debateable: compromise on df = #studies – 2 – Needs at least 3 studies! • Implemented in the metan command in Stata – rfdist option • Not in RevMan yet but may be in future
  • 11. Meta-regression and subgroup analysisMeta-regression and subgroup analysis • Methods for investigating possible explanations of heterogeneity in a meta-analysis • Used to examine associations between study-level characteristics and treatment effects • Assume the treatment effect is related to one or more covariates • Estimate the interaction between the covariate and the treatment effect, i.e. how the treatment effect is modified by the covariate • Test whether this interaction is zero Hbk: 9.6
  • 12. However…However… • Typically unlikely to obtain useful results (low power) • Risk of wrong results by chance (false positives) • Risk of wrong results due to nature of data (confounding) • Potential for biases • Meta-regression can’t be done in RevMan
  • 13. Undertaking subgroup analysisUndertaking subgroup analysis • Tempting to compare effect estimates between subgroups by considering results from each subgroup separately • Ok to compare magnitudes of effect informally • Not ok to compare statistical significance or p-values! • “It is extremely misleading to compare the statistical significance of the results [in different subgroups]” Hbk: 9.6.3
  • 14. Example: exercise for depressionExample: exercise for depression -2 -1 0 1 Study Mutrie McNeil Reuter Doyne Hess-Homeier Epstein Martinsen Singh Klein Veale Favours exercise Standardized mean difference Favours control Estimates and 95% confidence intervals Lawlor DA, Hopker SW. BMJ 2001; 322: 763-7
  • 15. Example: HeterogeneityExample: Heterogeneity • Test whether different SMDs underlie different studies: Q = 35.4 (9 d.f.) (p = 0.00005) I 2 = 75% -2 -1 0 1 Study Mutrie McNeil Reuter Doyne Hess-Homeier Epstein Martinsen Singh Klein Veale Favours exercise Standardized mean difference Favours control Estimates and 95% confidence intervals
  • 16. Example: random-effects meta-analysisExample: random-effects meta-analysis • Recognizes that true effects differ between studies but does not explain why • Summary estimate is the centre of a distribution of true effects -2 -1 0 1 Study Mutrie McNeil Reuter Doyne Hess-Homeier Epstein Martinsen Singh Klein Veale Favours exercise Standardized mean difference Favours control Estimates and 95% confidence intervals -1.06 (-1.53 to -0.59) Can we explain some or all of the between- study heterogeneity?
  • 17. Meta-regression: fixed or random effects? Meta-regression: fixed or random effects? • “In general, it is an unwarranted assumption that all the heterogeneity is explained by the covariate, and the between- trial variance should be included as well, corresponding to a “random-effects” analysis.” (Thompson 2001 Systematic Reviews in Health Care Ch. 9) • “Fixed effect meta-regression is likely to produce seriously misleading results in the presence of heterogeneity” (Higgins and Thompson 2004 Statistics in Medicine) • Fixed-effect meta-regression should not be used! Hbk: 9.6.4
  • 18. Tests for subgroup effectsTests for subgroup effects • Cochrane Handbook section 9.6.3.1 describes a test for differences between two or more subgroups based on an ANOVA-like partitioning of Cochran’s Q statistic • Reported by RevMan 5 for fixed-effect meta-analysis with subgroups • Equivalent to fixed-effect meta-regression with an indicator (dummy) variable for each group • Therefore, in my view, this method should not be used either! • A better method (allowing for unexplained heterogeneity) is likely to be introduced in the next version of RevMan
  • 19. Random-effects meta-regressionRandom-effects meta-regression • Allows for heterogeneity beyond that explained by the explanatory variable(s) • Allow for a variance component  2 which accounts for unexplained heterogeneity between studies • Like a random-effects meta-analysis • By comparing a random-effects meta-analysis with a random-effects meta-regression, can determine how much of the heterogeneity (between-study variance) is explained by the explanatory variable(s) Hbk: 9.6.4
  • 20. Subgroup analysisSubgroup analysis • Divide up the studies • For example, by duration of trial • Compare effects between subgroups • NB do not compare p- values! Mutrie McNeil Doyne Hess-Homeier Epstein 4-8 weeks follow-up -1.33 (-1.99 to -0.67) -2 -1 0 1 Reuter Martinsen Singh Klein Veale Favours exercise Standardized mean difference Favours control Estimates and 95% confidence intervals > 8 weeks follow-up -0.82 (-1.46 to -0.19)
  • 21. Meta-regression to compare subgroupsMeta-regression to compare subgroups • Assumes the between-study variance  2 is the same in all subgroups – Sensible when some or all subgroups have few studies • Estimates the difference in treatment effect between subgroups • Example: Long duration vs. short duration Difference in SMD = 0.5 (95%CI: –0.5 to 1.5) p = 0.32 – longer duration trials have a less negative SMD – i.e. treatment effect is smaller in long duration trials • Weak statistical evidence for this being a true effect – but dichotomization reduces statistical power
  • 22. Meta-regression with a continuous study characteristic Meta-regression with a continuous study characteristic -2 -1 0 1 Favours exercise Standardized mean difference Favours control Estimates and 95% confidence intervals 4 12 8 10 6 Follow-up • Predict effect according to length of follow-up • SMD decreases by 0.18 (95%CI: 0.02 to 0.34) for each extra week of treatment • (p = 0.008)
  • 23. ‘Bubble plots’‘Bubble plots’ • Circle sizes vary with inverse of within-study variance (weight in a fixed-effect meta-analysis) Has effectiveness of fluoride gels changed over time? Marinho et al (2004) Has effectiveness of fluoride gels changed over time? Marinho et al (2004) -1-.50.51 Preventedfraction 1960 1970 1980 1990 2000 Year
  • 24. Problems and pitfallsProblems and pitfalls • We shall consider – Choice of explanatory variables and spurious findings – Confounding – Lack of power – Aggregation bias
  • 25. Selecting study characteristicsSelecting study characteristics • There are typically many study characteristics that might be used as explanatory variables – Heterogeneity can always be explained if you look at enough of them – Great risk of spurious findings • Beware ‘prognostic factors’ – things that predict clinical outcome don’t necessarily affect treatment effects – e.g. age may be strongly prognostic, but risk ratios may well be the same irrespective of age • Explanatory variable data may be missing – e.g. no information on dose; unable to assess quality, etc Hbk: 9.6.5
  • 26. ConfoundingConfounding • Meta-regression looks at observational relationships – even if the studies are randomized controlled trials • A relationship may not be causal • Confounding (due to co-linearity) is common Treatment effect Year of randomization Quality Confounder (associated with treatment effect and year)Hbk: 9.6.5.6
  • 27. Lack of powerLack of power • Unfortunately most meta-analyses in Cochrane reviews do not have many studies • Meta-regression typically has low power to detect relationships • Model diagnostics / adequacy difficult to assess
  • 28. Aggregation bias (ecological fallacy)Aggregation bias (ecological fallacy) • Think about study characteristics that summarize patients within a study, e.g. – average age – % females – average duration of follow-up – % drop out Hbk: 9.6.5.5
  • 29. Relationship between treatment effect and average age SMD Average age in each study 30 40 50 60 70 .01 .1 .5 1 2 10
  • 30. Relationship between treatment effect and average age SMD Average age 30 40 50 60 70 .01 .1 .5 1 2 10 Average age in each study
  • 31. Aggregation bias (ecological fallacy)Aggregation bias (ecological fallacy) • Think about study characteristics that summarize patients within a study, e.g. – average age – % females – average duration of follow-up – % drop out • Relationships across studies may not reflect relationships within studies • The relationship between treatment effect and age, sex, etc best measured within a study – Collect individual patient data
  • 32. Practical guidancePractical guidance • How do I choose characteristics? • How many studies do I need? • How many characteristics can I look at? • How do I do the meta-regression? • How do I interpret the results? • How do I incorporate meta-regression into a Cochrane review?
  • 33. Selecting explanatory variablesSelecting explanatory variables • Specify a small number of characteristics in advance • Ensure there is scientific rationale for investigating each characteristic • Make sure the effect of a characteristic can be identified – does it differentiate studies? – aggregation bias • Think about whether the characteristic is closely related to another characteristic – confounding Hbk: 9.6.5
  • 34. How many studies / characteristics?How many studies / characteristics? • Typical guidance for regression is to have at least 10 observations (in our case, studies) for each characteristic examined • Some say 5 studies is enough
  • 35. SoftwareSoftware RevMan • Not available Stata [recommended] • metareg :random-effects meta-regression • vwls :fixed-effect meta-regression SAS • See van Houwelingen et al (2002) Comprehensive Meta-analysis • Single covariate only in CMA 2; multiple in next version Other software • R, WinBUGS
  • 36. Meta-regression in StataMeta-regression in Stata • metareg is an easy-to-use Stata command • For details of obtaining the command, type findit metareg in Stata and click the links to install • For explanation of command syntax, then type help metareg in Stata • For more explanation and discussion, see: Harbord & Higgins Stata Journal 2008; 8(4):493-519
  • 37. Should you believe meta-regression results? Should you believe meta-regression results? • Was the analysis pre-specified or post hoc? • Is there indirect evidence in support of the findings? • Is the magnitude of the relationship of practical importance? • Is there strong statistical evidence of an effect (small p-value) ? Hbk: 9.6.6
  • 38. Including meta-regression in a Cochrane review Including meta-regression in a Cochrane review • You are encouraged to use meta-regression if it is appropriate • ‘Bubble’ plots may be included as Additional Figures • Results should be presented in Additional tables • Consider presenting: Explanatory variable Slope or Exp(slope) 95% confidence interval Proportion of variation explained Interpretation Duration OR = 1.3 0.9 to 1.8 14% Weak evidence that odds ratio increases with duration
  • 39. ExtensionsExtensions • Baseline risk of the studied population (measured in the Control group) might be considered as an explanatory variable – Beware! It is inherently correlated with treatment effects – Special methods are needed (Thompson et al 1997) • If a statistically significant result is obtained, consider using a permutation test to obtain the ‘correct’ p-value – also can be used to ‘adjust’ for multiple testing of several explanatory variables (Higgins and Thompson 2004) – implemented as permute() option to metareg Hbk: 9.6.7
  • 40. Key messagesKey messages • Meta-regression and subgroup analysis examine the relationship between treatment effects and one or more study-level characteristics • Using meta-regression to explain heterogeneity sounds great in theory, and is straightforward to perform in Stata • In practice subgroup analysis and meta-regression should be undertaken and interpreted with caution – observational relationships – few studies – many potential sources of heterogeneity – confounding and aggregation bias
  • 41. ReferencesReferences • Berkey CS, Hoaglin DC, Mosteller F and Colditz GA. A random- effects regression model for meta-analysis. Statistics in Medicine 1995; 14: 395-411 • Harbord RM,Higgins JPT. Meta-regression in Stata. Stata Journal 2008; 8(4): 493-519 • Higgins J, Thompson S, Altman D and Deeks J. Statistical heterogeneity in systematic reviews of clinical trials: a critical appraisal of guidelines and practice. Journal of Health Services Research and Policy 2002; 7: 51-61 • Higgins JPT, Thompson SG. Controlling the risk of spurious results from meta-regression. Statistics in Medicine 2004; 23: 1663-1682 • Marinho VCC, Higgins JPT, Logan S, Sheiham A. Fluoride gels for preventing dental caries in children and adolescents (Cochrane Review). In: The Cochrane Library, Issue 3, 2004. Chichester, UK: John Wiley & Sons, Ltd
  • 42. More referencesMore references • Thompson SG, Smith TC and Sharp SJ. Investigation underlying risk as a source of heterogeneity in meta-analysis. Statistics in Medicine 1997; 16: 2741-2758 • Thompson SG, Sharp SJ. Explaining heterogeneity in meta-analysis: a comparison of methods. Statistics in Medicine 1999; 18: 2693-2708 • Thompson SG, Higgins JPT. How should meta-regression analyses be undertaken and interpreted? Statistics in Medicine 2002; 21: 1559-1574 • Thompson SG and Higgins JPT. Can meta-analysis help target interventions at individuals most likely to benefit? The Lancet 2005; 365: 341-346,. • van Houwelingen HC, Arends LR, Stijnen T. Tutorial in Biostatistics: Advanced methods in meta-analysis: multivariate approach and meta-regression. Statistics in Medicine 2002; 21: 589–624