[R-meta] Replicating robumeta package output by metafor package in R

Reza Norouzian rnorouz|@n @end|ng |rom gm@||@com
Mon Nov 4 22:15:08 CET 2019


I was wondering if there might be a way to replicate the output from
library robumenta by library metafor in R?

Both package state that they use the same estimation method for robust
variance estimation.

*Here is reproducible data and the code I tried with no success:*

d <- read.csv("https://raw.githubusercontent.com/izeh/m/master/e.csv",
h = T) # DATA

library(robumeta)
robu(y~factor(time), data = d, studynum = study.name, var = SD^2, small = F)


library(metafor)
robust(rma(y~factor(time), sei = SD, data = d), cluster = d$id, adjust = F)

	[[alternative HTML version deleted]]



More information about the R-sig-meta-analysis mailing list