I would like to estimate the effect size of an interaction term in a linear mixed model.
The syntax for my model is:
mixed y a##b || id:, var reml
Following the idre UCLA web page "How can I estimate effect size for xtmixed?" I came up with the following formula to estimate Cohen's f, though I am not sure it is correct:
f2a#b =
R2a##b - R2ab
------------
1 - R2a##b
Could somebody confirm that this is correct?
Furthermore, a has two levels and b has 7 levels. Would it be possible to estimate the effect size per interaction level? If so, how.
Thanks for your help.
The syntax for my model is:
mixed y a##b || id:, var reml
Following the idre UCLA web page "How can I estimate effect size for xtmixed?" I came up with the following formula to estimate Cohen's f, though I am not sure it is correct:
f2a#b =
R2a##b - R2ab
------------
1 - R2a##b
Could somebody confirm that this is correct?
Furthermore, a has two levels and b has 7 levels. Would it be possible to estimate the effect size per interaction level? If so, how.
Thanks for your help.
Comment