Using Statistics to Set Detector Threshold Curves