ROCcoords(model, direction = "auto", x, input)
bimixt.model
roc
: the direction in which to make the comparison. "auto" (default): automatically define in which group the median is higher and take the direction accordingly. ">": if the values for the control group are higher than the values of the case group (controls > t >= cases). "coords
ROCauc
ROCpauc
ROCplot
cases=rmix(50,10,1.2,20,1.3,.7)
controls=rmix(50,9,1.1,17,1.3,.95)
model=bimixt.model(cases,controls,"4c")
ROCcoords(model,x=.95,input="sens")
ROCcoords(model,x=.95,input="spec")
ROCcoords(model,x=9,input="thr")
Run the code above in your browser using DataLab