Hello Everyone, I have this code:
proc logistic data=B_FINAL PLOTS = (ROC) Descending ;
class _genderD _childrenD _educlevelD _trainingD
_amountinvestedD / param=ref;
model _approvalD (event='1') = _genderD _childrenD _educlevelD _trainingD
_amountinvestedD
/ link=logit technique=fisher ctable pprob=0.25 pprob=0.5 pprob=0.75 rsquare expb lackfit;
run;
The odds ratio table shows as result: _genderD 0 vs 1 = 0.862 (point estimate). How can I interpret this result for the gender variable (the variable is coded '1' for female and '0' for male) Thanks for any help
It means a man is 0.86 times as likely to experience the event/outcome as a female.
Hello Everyone,
I have this code:
proc logistic data=B_FINAL PLOTS = (ROC) Descending ;
class _genderD _childrenD _educlevelD _trainingD
_amountinvestedD / param=ref;
model _approvalD (event='1') = _genderD _childrenD _educlevelD _trainingD
_amountinvestedD
/ link=logit technique=fisher ctable pprob=0.25 pprob=0.5 pprob=0.75 rsquare expb lackfit;
run;
The odds ratio table shows as result: _genderD 0 vs 1 = 0.862 (point estimate).
How can I interpret this result for the gender variable (the variable is coded '1' for female and '0' for male)
Thanks for any help
Thanks for helping guys, but I am still confusing, both answers seems to me different. In the first answer, female has greater chance, in the second answer seens the opposite.
Sorry, but I am a first time SAS user....
I'm going to assume that the event is loan approval.
The odds ratio is stating that a Sex=0 is 86% times as likely to get a loan compared to a Sex=1 or 14% less likely. Assuming a Sex=1 chance of getting a loan is 100% (not true) relatively, the Sex=0 would be 86% instead, or 14% less likely.
Looking at it in reverse,
1 vs 0 is 1/0.86 = 1.160 => a Sex=1 is 16% more likely to get a loan compared to a women.
This has nothing to do with understanding SAS and has to do with understanding logistical regression models.
It's a statistical concept that is the same regardless of whatever language you use.
Here's a tutorial on Odd's Ratio specifically.
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2938757/
Odds ratios are hard to understand the first time but make sense once you get the hang of it.
EDIT: Replaced male/female with SEX=# to help clarify.
@RosieSAS wrote:
1 is for female, not male. So I would say a female is 16% more likely to get a loan compared to a male.
Not what the original post says so I would clarify that for sure. I've updated my previous answer to refer to it generically, ie Sex=1 compared to Sex=0.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.