BookmarkSubscribeRSS Feed
Ruth
Fluorite | Level 6

I used logistic regression to run a model. An explanatory variable called 'location' has 3 levels (1, 2, 3). Level 3 is the reference group. For this analysis, the estimated regression coefficients for level 1 and level 2 are 1.102 and 1.111 respectively. As the values are very close, is it sensible to combine these two levels into a single level to make the model simpler? Or it is better to keep the two levels as what they are separate?

1 REPLY 1
Reeza
Super User

Depends on the context of the data.

If for example level 1 is age<30 and level 2 is age between 31 and 60 and level 3 is age >60 then you're simply recoding to age <30 and age>30 which is okay, as long as you don't introduce a bias into your data.

If you're combining things that don't make sense ie level 1 is unknown and level 2 is Grade 1 then there it doesn't make sense.

Basically, check if it makes logistic sense to collapse them from a business or interpretative perspective and check if the distribution is significantly different with the predictor ( a chi square usually works) to make sure you interpret things correctly.

I work in Health Care and we routinely do this.

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

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