Inference in successive sampling discovery models