Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Logistic Regression Probabilities

Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

🔒 This topic is **solved** and **locked**.
Need further help from the community? Please
sign in and ask a **new** question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Posted 03-24-2022 09:25 PM
(587 views)

I am creating a GEE, but my question is really about logistic modeling. Do all covariates need to be included when calculating probabilities?

I am using SAS PROC GLIMMIX. My model has 4 fixed effects and 1 interaction. I am most interested location, sex, and their interaction - var3 and var4 are just variables I need to control for. I outputted the following table using an LSMEANS statement. SAS's default is to output the estimates, but I would like to make them probabilities. Can I simply run them through the inverse logit or is that an issue since it is not taking into account var3 and var4? Appreciate the help.

```
proc GLIMMIX data = DATA ORDER=INTERNAL EMPIRICAL=root;
class ID Cluster Location(REF='1') Sex(REF='1') Var3(ref='1') Var4(ref='1');
model OUTCOME(event='1')= Location|Sex Var3 Var4
/ dist=bin link=logit covb solution;
RANDOM _residual_ / SUBJECT=Cluster TYPE=cs vcorr solution;
LSMEANS Location*Sex/SLICE=Location E cl diff odds oddsratio ilink lines;
run;
```

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

4 REPLIES 4

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

Appreciate the help. What do the estimates in the provided table represent then?

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content

**Available on demand!**

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

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.