Interaction in group setting
Opened this issue · 4 comments
Thank you for the great package.
It is possible to compute non-linear interaction effects between treatments and a group-level moderator?
Currently, both inter.raw and interflex only produce the error message:
"Can't subset columns that don't exist.
x Location 2 doesn't exist.
ℹ There are only 1 column."
Using version 1.1.3
Hi,
By now the package only allows group-level treatments (D) but not a group-level moderator (X). And in the setting of the paper, the moderator should be continuous. If both of your treatment and moderator are categorical, maybe a group-by-group comparison is enough.
I see, thanks for the info. I was looking at a situation with a group level continuous moderator.
Do you know if there is any specific reason, group level-moderators are not allowed?
I'm sorry, let me be more clear. I am interested in the interaction between a group level moderator and an individual level covariate. You could also call it a cross-level interaction.