The metafor Package

A Meta-Analysis Package for R

User Tools

Site Tools


analyses:berkey1995

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
analyses:berkey1995 [2021/11/08 15:59] Wolfgang Viechtbaueranalyses:berkey1995 [2022/10/19 18:55] (current) Wolfgang Viechtbauer
Line 4: Line 4:
  
 Berkey et al. (1995) describe the meta-analytic random- and mixed-effects models and provide the equation for the empirical Bayes estimator for the amount of (residual) heterogeneity (p. 398). The models and methods are illustrated with the BCG vaccine dataset (Colditz et al., 1994). The data are provided in Table 1 in the article and can be loaded with: Berkey et al. (1995) describe the meta-analytic random- and mixed-effects models and provide the equation for the empirical Bayes estimator for the amount of (residual) heterogeneity (p. 398). The models and methods are illustrated with the BCG vaccine dataset (Colditz et al., 1994). The data are provided in Table 1 in the article and can be loaded with:
 +
 <code rsplus> <code rsplus>
 library(metafor) library(metafor)
 dat.bcg dat.bcg
 </code> </code>
-The contents of the dataset are: +The contents of the dataset are:
 <code output> <code output>
    trial               author year tpos  tneg cpos  cneg ablat      alloc    trial               author year tpos  tneg cpos  cneg ablat      alloc
Line 55: Line 56:
 Model Results: Model Results:
  
-estimate      se     zval    pval    ci.lb    ci.ub  +estimate      se     zval    pval    ci.lb    ci.ub 
- -0.5429  0.1842  -2.9474  0.0032  -0.9040  -0.1819  ** + -0.5429  0.1842  -2.9474  0.0032  -0.9040  -0.1819  **
  
 --- ---
Line 87: Line 88:
 Model Results: Model Results:
  
-                  estimate      se     zval    pval    ci.lb    ci.ub  +                  estimate      se     zval    pval    ci.lb    ci.ub 
-intrcpt            -0.6303  0.1591  -3.9630  <.0001  -0.9421  -0.3186  ***  +intrcpt            -0.6303  0.1591  -3.9630  <.0001  -0.9421  -0.3186  *** 
-I(ablat - 33.46)   -0.0268  0.0110  -2.4294  0.0151  -0.0484  -0.0052    * +I(ablat - 33.46)   -0.0268  0.0110  -2.4294  0.0151  -0.0484  -0.0052    *
  
 --- ---
Line 102: Line 103:
 <code output> <code output>
         df     AIC     BIC    AICc   logLik    LRT   pval      QE  tau^2      R^2         df     AIC     BIC    AICc   logLik    LRT   pval      QE  tau^2      R^2
-Full     3 29.3011 30.9960 31.9678 -11.6506               35.8827 0.1572         +Full     3 29.3011 30.9960 31.9678 -11.6506               35.8827 0.1572
 Reduced  2 32.2578 33.3877 33.4578 -14.1289 4.9566 0.0260 85.8625 0.2682 41.3844% Reduced  2 32.2578 33.3877 33.4578 -14.1289 4.9566 0.0260 85.8625 0.2682 41.3844%
 </code> </code>
Line 138: Line 139:
 Model Results: Model Results:
  
-                  estimate      se     zval    pval    ci.lb    ci.ub  +                  estimate      se     zval    pval    ci.lb    ci.ub 
-intrcpt            -0.5949  0.0696  -8.5462  <.0001  -0.7314  -0.4585  ***  +intrcpt            -0.5949  0.0696  -8.5462  <.0001  -0.7314  -0.4585  *** 
-I(ablat - 33.46)   -0.0282  0.0040  -7.0696  <.0001  -0.0360  -0.0204  *** +I(ablat - 33.46)   -0.0282  0.0040  -7.0696  <.0001  -0.0360  -0.0204  ***
  
 --- ---
-Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1 +Signif. codes:  0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1
 </code> </code>
  
Line 151: Line 152:
 </code> </code>
 <code output> <code output>
-  pred ci.lb ci.ub  +  pred ci.lb ci.ub 
-1 0.55  0.48  0.63 +1 0.55  0.48  0.63
 2 0.43  0.36  0.52 2 0.43  0.36  0.52
 </code> </code>
analyses/berkey1995.txt · Last modified: 2022/10/19 18:55 by Wolfgang Viechtbauer