Skip to content
Prev 3674 / 5636 Next

[R-meta] Specifying V in nested subgroup analysis (rma.mv + clubSandwich)

Dear James,

Thanks for your reply. I wanted my single model (gg) to be equivalent
to gg1 and gg2 (below). But if you use: print(gg, digits = 7);
print(gg1, digits = 7) ;  print(gg2, digits = 7), you realize the
variance components don't quite match.

Now, if you change the first random term in gg1 and gg2 from: ~1 |
study to: ~study_type | study, we get a better match.

Also, James, neither reporting levels nor study_type levels co-occur
in any study.

Thanks,
Tim M

gg1=rma.mv(yi ~ 0+reporting, V, random = list(~1 | study, ~ reporting | obs),
           struct = c("DIAG","DIAG"),
           subset = study_type=="alternative", data = dat1)

gg2=rma.mv(yi ~ 0+reporting, V, random = list(~1 | study, ~ reporting | obs),
            struct = c("DIAG","DIAG"),
            subset = include=="yes" & study_type=="standard", data = dat1)
On Tue, Dec 7, 2021 at 10:03 PM James Pustejovsky <jepusto at gmail.com> wrote: