BookmarkSubscribeRSS Feed
iressa131
Calcite | Level 5

Hello,

 

I fit a regression model that included categorical predictors. For one of the predictors, Race, the levels were white black and other. I made other my reference level. Now if I want to calculate the outcome variable with an individual who is categorized as 'other' what value do I plug into the equation? Do i plug in 0 for both race = black and race = white? 

 

This is the general equation

 

STA= α+β1(age)+β2(Gender) +β3(Race=Black) +β4(Race=White) +β5(Sys)

 

 

Thanks for any help!

1 REPLY 1
Reeza
Super User

Other would mean B3=0 and B4=0 so you only have the B1, B2 & B5 + intercept terms.

 

You may find the ODDSRATIO statement helpful, because you can specify the levels of interest easily.

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!

SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 695 views
  • 0 likes
  • 2 in conversation