The ROC curve and statistical allocations