BookmarkSubscribeRSS Feed
jsimmo02
Calcite | Level 5

Does anyone know if there is a way to perform a logistical regression but not have the results use a reference variable to determine the results. For example I am modeling the likelihood of requiring an intervention in patients with a disease and I want to control for race gender and location:

 

proc surveylogistic data=kid.prs03;
class race female hosp_division / param=ref;
model intervention (event='1') = race female hosp_division ;
weight discwt;
title 'Likelihood of Bronch by insurance ctrl for gender, location';
where age < 19 and disease=1;
run;

 

The results are given as such:

RACE Asian vs White RACE Black vs White RACE Hispanic vs White
0.4900.2580.928
1.9111.5452.362
0.9630.7581.223

But instead of getting a result for one race compared to another (rate of intervention in african-americans = 1.911 (1.545-2.362) compared to caucasians) I am hoping to get results that compare a race to all other races (instead of a reference race). That way, my results would be, 'compared to other races, African-Americans are more likely to undergo the intervention with an OR of ***'.

 

Anyone know how to do this?

1 REPLY 1
StatDave
SAS Super FREQ

Effects parameterization (or coding) compares each level to the average of all of the levels.  Reference parameterization, which you used, compares each level to the reference level.  To use effects coding, specify PARAM=EFFECT.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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
  • 1549 views
  • 0 likes
  • 2 in conversation