GLME analysis - how to compute the interaction effects between two variables?

2 次查看(过去 30 天)
I have a dat set with two independent variables (predictor variables) with 3 levels each:
  • IV 1 (time) = pre, during, post
  • IV 2 (treat) = A, B, C
I used this formula to set my GLME
GLM_tbl_all.subject = nominal(GLM_tbl_all.subject);
GLM_tbl_all.time = categorical(GLM_tbl_all.time);
GLM_tbl_all.treat = categorical(GLM_tbl_all.treat);
GLM_outcome = fitglme(GLM_tbl_all, 'DV ~ time*treat + (1|subject)')% setting the subject as the grouping variable
However, because my variables have 3 levels each, I am having trouble understanding the outcome table.
i am interested to see whether there was a significant difference between time*treat interaction. But I only receive an output with the first column (names) looking like this:
(intercept)
during
post
B
C
during:B
post:B
during:C
Now I wonder, where can I find the field. that simply says time:treat ?
And I do not mean the specific pairwise comparisson, that I will do in the post hoc test. But in general whethere there is an interaction effect to begin with.
I think the problem is, that my factors have more than two levels maybe?
I appreaciate any help to learn!
Thank you

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by