6970717273747576777879
return statistics.average(); } public double errorEstimate() { if (statistics.n() >= MIN_EVALUATIONS) { return (statistics.sigma() / Math.sqrt(statistics.n() - 1)) * T_INTERVAL * SAFETY_FACTOR; } else { return Double.NaN; } }
166167168169170171172173174175176
t += qEst; u += Math.log(var); entryNum++; } double q = (qStat.average() + qStat.sigma() / Math.sqrt(qStat.n() - 1)); if (0 < q && q < 1) { qB = new double[2]; qB[0] = q; qB[1] = totalVar / (Math.pow(q, -n) - 1); }