BookmarkSubscribeRSS Feed
gl
Calcite | Level 5 gl
Calcite | Level 5

I am a new user of sas. I wanna test the interval validation, so I use proc surveyselect for bootstrap resampling.

Below is my codes:

sasfile g load;

proc surveyselect data=g out=gg

seed=123456 rep=1000 method=urs samprate=1 outhits;

run;

sasfile g close;

proc surveylogistic data=gg ;

model  y(descending) = exposure;

run;


However, from proc surveylogistic I got a ridiculous confidence interval of exposure: (OR=1.2, 95%CI:1.2-1.2). I mean, after getting 1000 times replications, the sample size increased and the CI seemed too small.. But I used the method of unrestricted sampling without weighting, so I don't how to get the plausible standard error to estimate CI.


How to deal with that? Can anyone help? Thanks very very much~~!!

1 REPLY 1
gl
Calcite | Level 5 gl
Calcite | Level 5

The other thing is, can I get AUC (ROC c-statistics) in proc surveylogistic? And the confidence interval of AUC? Any way to calculate the AUC after the bootstrap using 'proc surveyselect'?

Thanks!

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1280 views
  • 0 likes
  • 1 in conversation