DiagTest3Grp.Test (dat,paired=FALSE, type=c("VUS","Youden"),p=0,q=0,mu=0, conf.level=0.95, alternative=c("two.sided","less","greater"))Ferri, C. and Hernandez-Orallo, J. and Salido, M.A. (2003) Volume under the ROC Surface for Multi-class Problems LECTURE NOTES IN COMPUTER SCIENCE 108--120. Xiong, C and Van Belle, G. and Miller, J.P. and Yan, Y. and Gao, F., and Yu, K, and Morris, J. (2007) A Parametric Comparison of Diagnostic Accuracy with Three Ordinal Diagnostic Groups. Biometrical Journal 5, 682-693.
Luo, J and Xiong, C. (2012) Youden Index and Associated Optimal Cut-points for Three Ordinal Groups.Communications in Statistics--simulation and computation (in press).
Jingqin Luo, Chengjie Xiong (2012). DiagTest3Grp: An R Package for Analyzing Diagnostic Tests with Three Ordinal Groups.Journal of Statistical Software, 51(3), 1-24.URL http://www.jstatsoft.org/v51/i03/.
VUS Youden3Grp  
 data(AL)
 AL <- data.frame(group=AL$group,-AL[,-1])
 #group <- AL$group
 #table(group)
 ##omnibus test on all 14 marker
 DiagTest3Grp.Test(dat=AL,paired=TRUE,type="VUS",p=0,q=0,conf.level=0.95)
 DiagTest3Grp.Test(dat=AL,paired=TRUE,type="Youden",p=0,q=0,conf.level=0.95)
 ##normal test on 2 of the markers
 new.AL <- subset(AL,select=c(group,ktemp,zbentd))
 DiagTest3Grp.Test(dat=new.AL,paired=TRUE,type="VUS",p=0,q=0,conf.level=0.95)
 DiagTest3Grp.Test(dat=new.AL,paired=TRUE,type="Youden",p=0,q=0,conf.level=0.95)
Run the code above in your browser using DataLab