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

Method confidenceHi

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

Source from the content-addressed store, hash-verified

52
53 // high endpoint of 95% confidence interval
54 public double confidenceHi() {
55 return mean() + CONST_K * stddev() / Math.sqrt(1.0 * thresholds.length);
56 }
57
58 public static void main(String[] args) {
59 int n = Integer.parseInt(args[0]);

Callers 1

mainMethod · 0.95

Calls 2

meanMethod · 0.95
stddevMethod · 0.95

Tested by

no test coverage detected