Quantitative assessment of diagnostic ability