[R-meta] [R meta] How to print z score for subgroup analysis

Guido Schwarzer @c @end|ng |rom |mb|@un|-|re|burg@de
Mon May 20 11:21:16 CEST 2019


Joanne,

The z-scores for the individual subgroup effects (if this is what you 
are looking for) are not shown in the output, however, they are part of 
the meta-analysis object.

You can use the following command to extract the z-scores and p-values 
for the fixed effect and random effects model:

with(post_cb2_es.subgroup,
      data.frame(bylevs, zval.fixed.w, pval.fixed.w,
                 zval.random.w, pval.random.w))

However, you should abstain from selectively reporting significant 
subgroup results. Instead, the Cochrane Handbook 
(https://handbook-5-1.cochrane.org/) gives the following advice (among 
other things) on subgroup analyses: (1) conduct a test for subgroup 
differences (section 9.6.3.1) which Michael already mentioned and (2) do 
not compare the statistical significance of the results within separate 
subgroup analyses (section 9.6.6).

Best wishes, Guido

-- 
Dr. Guido Schwarzer
Institute of Medical Biometry and Statistics,
Faculty of Medicine and Medical Center - University of Freiburg

Postal address: Stefan-Meier-Str. 26, D-79104 Freiburg

Phone: +49/761/203-6668
Mail: sc using imbi.uni-freiburg.de
Homepage: http://www.imbi.uni-freiburg.de



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