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;
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
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.
Ready to level-up your skills? Choose your own adventure.