BookmarkSubscribeRSS Feed
shahd
Quartz | Level 8

Hi all,

If I have three dummy variables as independent variables in my regression model. Should I include interaction term?

3 REPLIES 3
PGStats
Opal | Level 21

Proc glm, glimmix, genmod and many other regression procs will generate dummy variables for all variables described as class variables. You should add interaction terms to your model if you have the least doubt that there might be some interaction (i.e. that the effect of a variable might not be the same in every category of another variable).

PG
shahd
Quartz | Level 8
Could you please guided me how can I determine if there is interaction between variables

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1044 views
  • 0 likes
  • 3 in conversation