You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this amazing methodology and package! Please, I have a question about .ancombc_global_LRT.
From the source code, .ancombc_global_LRT seems to be doing a LRT between full and reduced models using two corresponding lmerTest::lmerModLmerTest objects.
From my understanding of the lmerTest paper and corresponding docs, the authors suggest using the anova.lmerModLmerTest method on the full model directly so that you can benefit from the implemented F tests with approximately correct degrees of freedom, avoiding the anti-conservativeness of the LRT in this setting.
Is this compatible with the ANCOMBC2 methodology? It seems to be a matter of removing the reduced model from .ancombc_global_LRT and adjusting downstream parsing accordingly (happy to PR if needed).
My motivation for this question is that I wanted to test the significance of interaction effects. I planned to implement this by running a global test using a model matrix from a fixed-effects formula of the form ~ x + time_point + x:time_point, where I would append a prefix "interaction" on the interaction terms and set group="interaction". Does this make sense? (sorry for the double question).
Thank you very much!
The text was updated successfully, but these errors were encountered:
Thanks for your question. I'm not sure if I fully understand your question. Are you wondering how to test if the interaction term is significant or not? You can specify full model as the one including interaction term and reduced model as the one without that interaction term. The LRT will tell you if the interaction term is significant or not.
Hello!
Thank you for this amazing methodology and package! Please, I have a question about
.ancombc_global_LRT
.From the source code,
.ancombc_global_LRT
seems to be doing a LRT between full and reduced models using two correspondinglmerTest::lmerModLmerTest
objects.From my understanding of the lmerTest paper and corresponding docs, the authors suggest using the
anova.lmerModLmerTest
method on the full model directly so that you can benefit from the implemented F tests with approximately correct degrees of freedom, avoiding the anti-conservativeness of the LRT in this setting.Is this compatible with the ANCOMBC2 methodology? It seems to be a matter of removing the reduced model from
.ancombc_global_LRT
and adjusting downstream parsing accordingly (happy to PR if needed).My motivation for this question is that I wanted to test the significance of interaction effects. I planned to implement this by running a global test using a model matrix from a fixed-effects formula of the form
~ x + time_point + x:time_point
, where I would append a prefix"interaction"
on the interaction terms and setgroup="interaction"
. Does this make sense? (sorry for the double question).Thank you very much!
The text was updated successfully, but these errors were encountered: