Hi everyone,
I am currently working on a multiple linear regression model and need to include a three-way interaction. I want to make sure I am specifying and interpreting it correctly in Stata, as this specific constellation is giving me some trouble.
Here is the setup of my variables:
I want to test if the two-way interaction between the two hobbies (jogging and reading) on Y differs by gender.
Currently, my regression code looks like this: regress Y i.gender##c.jogging##c.reading
Is it generally possible to model it this way?
Can anyone recommend methodological papers, textbooks, or articles that explicitly discuss three-way interactions involving one categorical and two continuous variables? Most literature I find focuses either on three categorical variables, or two categorical and one continuous variable.
Thank you.
I am currently working on a multiple linear regression model and need to include a three-way interaction. I want to make sure I am specifying and interpreting it correctly in Stata, as this specific constellation is giving me some trouble.
Here is the setup of my variables:
- gender: Categorical (0 = Male, 1 = Female)
- jogging: Continuous/Metric (Measured on a 1 to 7 scale)
- reading: Continuous/Metric (Measured on a 1 to 7 scale)
- Y: Continuous dependent variable
I want to test if the two-way interaction between the two hobbies (jogging and reading) on Y differs by gender.
Currently, my regression code looks like this: regress Y i.gender##c.jogging##c.reading
Is it generally possible to model it this way?
Can anyone recommend methodological papers, textbooks, or articles that explicitly discuss three-way interactions involving one categorical and two continuous variables? Most literature I find focuses either on three categorical variables, or two categorical and one continuous variable.
Thank you.

Comment