Skip to content
Prev 4222 / 5636 Next

[R-meta] Subgroup analysis results are different if I conducted each subgroup separately in metarate in R

Mohamed,

Using the current CRAN versions from meta and metafor, I get exactly the 
same results in the subgroup meta-analysis and separate meta-analyses 
(see attached R script). Furthermore, results from meta and metafor are 
identical.

The test for subgroup differences checks whether the random effects 
estimates in the two subgroups differ. You could use metagen() or 
rma.uni() to calculate the Q statistic and p-value (see end of attached 
R script).

Best,

Guido

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: metarate02.R
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20220929/8d8f4958/attachment.ksh>