Skip to content
Prev 1732 / 5636 Next

[R-meta] Testing interaction term of categorical moderators in rma.mv

Please always cc the mailing list when replying.

1) There are 6 combinations, but the interaction is given by those 2 model coefficients. Please reread http://www.metafor-project.org/doku.php/tips:multiple_factors_interactions which covers exactly this case (two factors with 2 and 3 levels, respectively). So, yes, btt=5:6 tests whether there is an interaction.

2) One can mix, but it can also lead to inconsistencies. For testing fixed effects, the Wald-type test is often preferred anyway.

Best,
Wolfgang

-----Original Message-----
From: Ju Lee [mailto:juhyung2 at stanford.edu] 
Sent: Tuesday, 17 September, 2019 17:33
To: Viechtbauer, Wolfgang (SP)
Subject: Re: Testing interaction term of categorical moderators in rma.mv

Dear Wolfgang,

Thank you very much for your response.

I wanted to follow up from my previous question to clarify:

1) So my model should produce total of 6 categorical groups of interaction term (low:primary, low:secondary, low:tertiary, high:primary, high:secondary, high:tertiary). And what is shown in my mixed model below 5th and 6th coefficient is just subset of these. If I use "btt=5:6" argument, will the model still be testing the main interaction effect of "latitude x trophic level" which produces 6 interaction categories as stated above?

2) It's great to know that it is more advisable not to mix REML and ML estimation in the same study.

I deeply appreciate your time and effort, and everything you've don and are doing for this community.
I sincerely hope to hear from you!
Best wishes,
JU