Skip to content
Prev 3943 / 5636 Next

[R-meta] A possible bug in clubSandwich::Wald_test()

Dear James,

Thank you for your response. To answer your question, my goal was to
get a robust QM test.

Another doubt that I have is that in the model below, `anova.rma(res1,
X = c(-1,1,0,1,-1,0,0,0,0))` gives me the model-based contrast that I
want.

But to get the same contrast in Wald_test(), shall I use
`Wald_test(res, constrain=rbind(c(-1,1,0,1,-1,0,0,0,0)), "CR2")`?

res1 <- rma.mv(gi ~ 0 + teaching_level:time, vi, random = ~1|study/obs,
              data = dd)

anova.rma(res1, X = c(-1,1,0,1,-1,0,0,0,0))
Wald_test(res1, constrain=rbind(c(-1,1,0,1,-1,0,0,0,0)), "CR2")

Many thanks,
Stefanou
On Mon, Mar 14, 2022 at 2:09 PM James Pustejovsky <jepusto at gmail.com> wrote: