code: public double getUpperBound(final int kappa) {
      if (!hasHip(mem)) {
        return getIconConfidenceUB(PreambleUtil.getLgK(mem), getNumCoupons(mem), kappa);
      }
      return getHipConfidenceUB(PreambleUtil.getLgK(mem), getNumCoupons(mem), getHipAccum(mem), kappa);
    }
docs: Returns the best estimate of the upper bound of the confidence interval given <i>kappa</i>,
  the number of standard deviations from the mean.
  @param kappa the given number of standard deviations from the mean: 1, 2 or 3.
  @return the best estimate of the upper bound of the confidence interval given <i>kappa</i>.