BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
ammarhm
Lapis Lazuli | Level 10

Hi

I am trying to get the betas and the odds ratio from a conditional logistic regression as follows:

ods output CLOddsWald=log1 Parameterestimates=Est1;

proc logistic data=test ;

strata crb;

class race sex;

model case(event='1')= race sex age /  rl;

by category;

run;


For some reason the proc logistic is failing to produce the log1 table with odds ratios, the other table Est1 is produced correctly.

This code, however,  works perfectly well without the strata option, ie the conditional regression where both output tables are generated!.

Any idea?

Best regards



1 ACCEPTED SOLUTION

Accepted Solutions
ammarhm
Lapis Lazuli | Level 10

Solved with ODS TRACE ON

The output should be oddsratios and not CLOddsWald

Best regards

View solution in original post

2 REPLIES 2
ammarhm
Lapis Lazuli | Level 10

The error generated (warning)

WARNING: Output 'CLOddsWald' was not created.  Make sure that the output object name, label, or path

         is spelled correctly.  Also, verify that the appropriate procedure options are used to

         produce the requested output object.  For example, verify that the NOPRINT option is not

         used.

ammarhm
Lapis Lazuli | Level 10

Solved with ODS TRACE ON

The output should be oddsratios and not CLOddsWald

Best regards

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
  • 2 replies
  • 2278 views
  • 0 likes
  • 1 in conversation