Programming the statistical procedures from SAS

Surveylogistic and 95% CI's for odds ratios

Reply
Occasional Contributor
Posts: 14

Surveylogistic and 95% CI's for odds ratios

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;

Grand Advisor
Posts: 10,043

Surveylogistic and 95% CI's for odds ratios

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.

Ask a Question
Discussion stats
  • 1 reply
  • 88 views
  • 0 likes
  • 2 in conversation