We present an efficient method of calculating exact confidence intervals for the hypergeometric parameter. The method inverts minimum-width acceptance intervals after shifting them to make their endpoints nondecreasing while preserving their level. The resulting set of confidence intervals achieves minimum possible average width, and even in comparison with confidence sets not required to be intervals it attains the minimum possible cardinality most of the time, and always within 1. The method compares favorably with existing methods not only in the size of the intervals but also in the time required to compute them. The available R package hyperMCI implements the proposed method.
翻译:我们提出了计算超几何参数精确置信间隔的有效方法。该方法在将其转换为使端点在保持其水平的同时不降低其端点后,将最小-边缘接受间隔倒转。由此得出的一套置信间隔达到最低可能的平均宽度,即使与互信间隔相比,不需要每隔一段时间就达到可能的最低基点,而且总是在1之内。该方法不仅在间隔的大小方面,而且在计算这些间隔所需的时间内,都优于现有方法。可用的R包超集执行拟议的方法。