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: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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