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

조회 수: 12 (최근 30일)
deejt
deejt 2021년 6월 3일
편집: deejt 2021년 6월 3일
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에서 Spreadsheets에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by