BookmarkSubscribeRSS Feed
KMack
Calcite | Level 5

I'm wondering if it's possible to calculate anything other than a Wald 95% confidence limits using the surveylogistic procedure. I'm using the Likelihood ratio test to decide whether to retain or remove variables from a model but am reporting the CI's using Wald. Sometimes these aren't consistent,and I'd prefer to report the LRT

Here is my code:

proc surveylogistic data=example;

class a (ref='1');

model z (event=1) = a b c ;

strata strata;

weight weight;

run;

1 REPLY 1
ballardw
Super User

Try adding an ALPHA= to the PROC statement with an alpha appropriate for the different confidence limit you would be interested in. The default is ALPHA=.05, so use ALPHA=.10 if you want 90% limits. This should affect all test and limits produced.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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