code: public double getUpperBound(final int kappa) {
      if (mergeFlag) {
        return CpcConfidence.getIconConfidenceUB(lgK, numCoupons, kappa);
      }
      return CpcConfidence.getHipConfidenceUB(lgK, numCoupons, hipEstAccum, 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>.