The Random-Effects Model


Slides

Keywords: Tau, RevMan, Comprehensive Meta-Analysis, Restricted Maximum Likelihood, Inverse-Variance Method, Knapp-Hartung Adjustment



Code


# This data set contains effects of studies examining
# the effects of suicide prevention interventions
# Copy and paste the entire code below into your Console.
# Then hit Enter.
data <- structure(
            list(
                study = c("Berry et al.", "DeVries et al.", 
                          "Fleming et al.", "Hunt & Burke", 
                          "McCarthy et al.", "Meijer et al.", 
                          "Rivera et al.", "Watkins et al.", 
                          "Zaytsev et al."), 
                es = c(-0.143, -0.608, -0.111, -0.127, -0.392, 
                       -0.268, 0.012, -0.245, -0.126), 
                se = c(0.147, 0.17, 0.258, 0.176, 0.202, 
                       0.135, 0.183, 0.224, 0.194)), 
                row.names = c(NA, -9L), 
            class = "data.frame")

# Random-Effects Model
# If necessary, install the meta package
install.packages("meta")

# Load the meta package
library(meta)

# Using our 'data' dataset, run metagen:
rem <- metagen(es, se, study, data)
summary(rem)
forest(rem)
Zurück
Weiter