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

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 665 views
  • 0 likes
  • 3 in conversation