MCPcopy Create free account
hub / github.com/MolinDeng/Princeton-algs4 / confidenceLo

Method confidenceLo

LabEnv/01Lab/PercolationStats.java:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47
48 // low endpoint of 95% confidence interval
49 public double confidenceLo() {
50 return mean() - CONST_K * stddev() / Math.sqrt(1.0 * thresholds.length);
51 }
52
53 // high endpoint of 95% confidence interval
54 public double confidenceHi() {

Callers 1

mainMethod · 0.95

Calls 2

meanMethod · 0.95
stddevMethod · 0.95

Tested by

no test coverage detected