I have never used Youden's index personally. It should be easy to calculate inside the data step I provided above.
Yeh i will make use of that possibility.Thank you very much for the support offered.
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;
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.
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.