Turn on suggestions

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

Showing results for

- Home
- /
- Analytics
- /
- Stat Procs
- /
- Standardized beta coefficients for categorical variables in Proc Logis...

Options

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

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

Posted 12-01-2017 07:32 PM
(3624 views)

Greetings,

I am trying to obtain standardized beta coefficients for the categorical variables in my model in Proc Logistic. I've used the STB option in the Model statement, but it only produces beta coefficients for the continuous variables. Is there a way to obtain these estimates for the categorical variables, too? (Or do such estimates not exist for categorical variables?) Any help would be greatly appreciated. I'm using SAS Enterprise Guide v 4.3.

Thanks!

Andrew

8 REPLIES 8

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

Hi,

Why standardized beta coefficients for the categorical variables?

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

What version of SAS do you have, not EG.

You can run the following to see your SAS/STAT version which is the most important thing:

```
proc product_status;run;
```

Note that I could not replicate your issue. I ran the second example in the PROC LOGISTIC documentation with the STB option and I received parameter estimates for all variables, including the categorical variables.

@abarnett313 wrote:

Greetings,

I am trying to obtain standardized beta coefficients for the categorical variables in my model in Proc Logistic. I've used the STB option in the Model statement, but it only produces beta coefficients for the continuous variables. Is there a way to obtain these estimates for the categorical variables, too? (Or do such estimates not exist for categorical variables?) Any help would be greatly appreciated. I'm using SAS Enterprise Guide v 4.3.

Thanks!Andrew

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

Thanks for responding, and I apologize for not including the SAS version. It's SAS v9.3.

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

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

Thanks again for your help. Do you mean this example in the documentation?

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

Yes, but I highly recommend using the latest SAS documentation and the corresponding program is available as text:

There's a small link at the top of the page to the text program that makes it easier to copy/paste and run the example.

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

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

That's not what I get, but I agree with the concept of it not being valid.

proc logistic data=Neuralgia;

class Treatment Sex;

model Pain= Treatment Sex Treatment*Sex Age Duration / expb stb;

run;

Note that Treatment and Sex are categorical variables and there are standardized estimates for them.

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. **Registration is now open through August 30th**. Visit the SAS Hackathon homepage.

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.