Skip to content

How to handle interactions? #5

Closed Answered by jluchman
MarcRieraDominguez asked this question in Q&A
Discussion options

You must be logged in to vote

Understand what you are asking and there is an approach in the methodological literature to do just that.

The article below outlines it.

LeBreton, J. M., Tonidandel, S., & Krasikova, D. V. (2013). Residualized relative importance analysis: A technique for the comprehensive decomposition of variance in higher order regression models. Organizational Research Methods, 16(3), 449-473.

In short, the idea is to residualize the interaction and estimate it as a separate variable. I might recommend using the datawizard::adjust() function to obtain the residual interaction term. For example:

mtcars_w_inter <- 
  mtcars |>
  transform(cyl_am = cyl*am,
            cyl_carb = cyl*carb) |>
  datawizard…

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by MarcRieraDominguez
Comment options

You must be logged in to vote
2 replies
@fmg-jluchman
Comment options

@MarcRieraDominguez
Comment options

Comment options

You must be logged in to vote
1 reply
@jluchman
Comment options

Comment options

You must be logged in to vote
1 reply
@fmg-jluchman
Comment options

Comment options

You must be logged in to vote
2 replies
@MarcRieraDominguez
Comment options

@MarcRieraDominguez
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4 on October 01, 2023 01:18.