The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


tips:computing_adjusted_effects

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
tips:computing_adjusted_effects [2020/05/27 21:03] – created Wolfgang Viechtbauertips:computing_adjusted_effects [2020/08/18 19:53] Wolfgang Viechtbauer
Line 1: Line 1:
-===== Adjusted Effects in Meta-Regression =====+===== Computing Adjusted Effects Based on Meta-Regression Models =====
  
-After fitting a random-effects model and finding heterogeneity in the observed effects, meta-analysts often want to examine whether one or multiple moderator variables (i.e., predictors) are able to account for the heterogeneity (or at least part of it). Meta-regression models can be used for this purpose. A question that frequently arises in this context is how to compute an 'adjusted effect' based on such a model. This tutorial describes how to compute such adjusted effects for meta-regression models involving continuous and categorical moderators.+After fitting a random-effects model and finding heterogeneity in the effects, meta-analysts often want to examine whether one or multiple moderator variables (i.e., predictors) are able to account for the heterogeneity (or at least part of it). Meta-regression models can be used for this purpose. A question that frequently arises in this context is how to compute an 'adjusted effect' based on such a model. This tutorial describes how to compute such adjusted effects for meta-regression models involving continuous and categorical moderators.
  
 ==== Data Preparation / Inspection ==== ==== Data Preparation / Inspection ====
Line 66: Line 66:
 </code> </code>
 <code output> <code output>
- pred ci.lb ci.ub cr.lb cr.ub+ pred ci.lb ci.ub pi.lb pi.ub
  0.49  0.34  0.70  0.15  1.55  0.49  0.34  0.70  0.15  1.55
 </code> </code>
Line 122: Line 122:
 </code> </code>
 <code output> <code output>
- pred ci.lb ci.ub cr.lb cr.ub+ pred ci.lb ci.ub pi.lb pi.ub
  0.49  0.39  0.60  0.27  0.87  0.49  0.39  0.60  0.27  0.87
 </code> </code>
Line 188: Line 188:
 </code> </code>
 <code output> <code output>
-  pred ci.lb ci.ub cr.lb cr.ub+  pred ci.lb ci.ub pi.lb pi.ub
 1 0.60  0.25  1.41  0.14  2.57 1 0.60  0.25  1.41  0.14  2.57
 2 0.38  0.23  0.64  0.10  1.38 2 0.38  0.23  0.64  0.10  1.38
Line 212: Line 212:
 </code> </code>
 <code output> <code output>
- pred ci.lb ci.ub cr.lb cr.ub+ pred ci.lb ci.ub pi.lb pi.ub
  0.48  0.33  0.70  0.14  1.66  0.48  0.33  0.70  0.14  1.66
 </code> </code>
Line 226: Line 226:
 </code> </code>
 <code output> <code output>
- pred ci.lb ci.ub cr.lb cr.ub+ pred ci.lb ci.ub pi.lb pi.ub
  0.53  0.35  0.79  0.15  1.84  0.53  0.35  0.79  0.15  1.84
 </code> </code>
Line 271: Line 271:
 </code> </code>
 <code output> <code output>
- pred ci.lb ci.ub cr.lb cr.ub+ pred ci.lb ci.ub pi.lb pi.ub
  0.47  0.36  0.62  0.22  1.05  0.47  0.36  0.62  0.22  1.05
 </code> </code>
tips/computing_adjusted_effects.txt · Last modified: 2023/09/11 16:10 by Wolfgang Viechtbauer