Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interaction in group setting #8

Open
pmeiners opened this issue Mar 5, 2021 · 4 comments
Open

Interaction in group setting #8

pmeiners opened this issue Mar 5, 2021 · 4 comments

Comments

@pmeiners
Copy link

pmeiners commented Mar 5, 2021

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

@lzy318
Copy link
Collaborator

lzy318 commented Mar 8, 2021

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.

@pmeiners
Copy link
Author

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?

@lzy318
Copy link
Collaborator

lzy318 commented Mar 18, 2021 via email

@pmeiners
Copy link
Author

pmeiners commented Mar 24, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants