- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
It means a man is 0.86 times as likely to experience the event/outcome as a female.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
a.k.a
Prob of _approvalD=1 for Female is 0.862 times of Prob of _approvalD=1 for Male.
Female have lower Prob than Male.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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....
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
@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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content