The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


analyses:morris2008

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
analyses:morris2008 [2021/08/27 07:27] Wolfgang Viechtbaueranalyses:morris2008 [2022/08/03 11:19] Wolfgang Viechtbauer
Line 99: Line 99:
 ==== The Actual Meta-Analysis ==== ==== The Actual Meta-Analysis ====
  
-For the actual meta-analysis part, we simply pass the ''yi'' and ''vi'' values to the ''rma()'' function. For example, a fixed-effects model can be fitted with:+For the actual meta-analysis part, we simply pass the ''yi'' and ''vi'' values to the ''rma()'' function. For example, an equal-effects model can be fitted with:
 <code rsplus> <code rsplus>
-rma(yi, vi, data=dat, method="FE", digits=2)+rma(yi, vi, data=dat, method="EE", digits=2)
 </code> </code>
 <code output> <code output>
-Fixed-Effects Model (k = 5)+Equal-Effects Model (k = 5)
  
-Test for Heterogeneity: +I^2 (total heterogeneity / total variability):   9.69% 
 +H^2 (total variability / sampling variability):  1.11 
 + 
 +Test for Heterogeneity:
 Q(df = 4) = 4.43, p-val = 0.35 Q(df = 4) = 4.43, p-val = 0.35
  
 Model Results: Model Results:
  
-estimate       se     zval     pval    ci.lb    ci.ub           +estimate    se  zval  pval  ci.lb  ci.ub 
-    0.95     0.14     6.62     <.01     0.67     1.23      *** +    0.95  0.14  6.62  <.01   0.67   1.23  ***
  
 --- ---
-Signif. codes: ***’ 0.001 **’ 0.01 *’ 0.05 .’ 0.1 ‘ ’ 1+Signif. codes: '***0.001 '**0.01 '*0.05 '.0.1 ' ' 1
 </code> </code>
 Note that these results are slightly different than the ones in Table 5 due to the different ways of estimating the sampling variances. Note that these results are slightly different than the ones in Table 5 due to the different ways of estimating the sampling variances.
analyses/morris2008.txt · Last modified: 2022/08/03 17:05 by Wolfgang Viechtbauer