Skip to content
Prev 4041 / 5632 Next

[R-meta] Queries re: rma.mv

Hi Adelina,

I agree with Wolfgang that looking at the between-study and within-study
variation in the predictor would probably be a helpful step for diagnosing
what's going on here. To do so, try calculating group means of the
predictor and a group-centered version of the predictor, for instance as
follows:

trend_dat_Inci <- escalc(measure="IRLN", xi=cases, ti=prs_yrs_100,
data=Inci_trends)
trend_dat_Inci_centered <-
  trend_dat_Inci %>%
  group_by(slab) %>%
  mutate(
    midpoint_b = mean(midpoint),
    midpoint_w = midpoint - midpoint_b
  )

Then include both predictors in the meta-regression model:

rma.mv(yi = yi,
             V = vi,
             slab = author,
             data = trend_dat_Inci,
             random = ~ 1 |slab/ID,
             test = "z",
             method = "REML",
             mods = ~ midpoint_b + midpoint_w)

In your original meta-regression model, the coefficient on midpoint is
actually a weighted average of the coefficients on midpoint_b and
midpoint_w. So, if there is a big difference (especially a sign difference)
in the coefficients on midpoint_b and midpoint_w, then that would help to
explain why the visual appearance of the bubble plot doesn't match up with
the meta-regression result.

James




On Fri, May 13, 2022 at 5:33 AM Viechtbauer, Wolfgang (NP) <
wolfgang.viechtbauer at maastrichtuniversity.nl> wrote: