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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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