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!

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 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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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