BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
PhilC
Rhodochrosite | Level 12

I have never used Youden's index personally.  It should be easy to calculate inside the data step I provided above.

Jems
Obsidian | Level 7

Yeh i will make use of that possibility.Thank you very much for the support offered.

PhilC
Rhodochrosite | Level 12

I'll add if you want to do this with more than one variable you can do this:

data work.given;
  do i=1 to 300; drop i;
    A=ranuni(0)>0.5;   
    W=ranuni(0)>0.5;   
    x=ranuni(0)>0.5;   
    Y=ranuni(0)>0.5;
    Z=ranuni(0)>0.5;
    output;
  end;
  stop;
run;
PROC TABULATE DATA=&syslast
              OUT=work.Want  ;
  CLASS A W--Z ;
  TABLE W--Z,A * N     ;
  ;
RUN;


Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

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

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 17 replies
  • 10640 views
  • 9 likes
  • 3 in conversation