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

Method stddev

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

Source from the content-addressed store, hash-verified

42
43 // sample standard deviation of percolation threshold
44 public double stddev() {
45 return thresholds.length == 1 ? Double.NaN : StdStats.stddev(thresholds);
46 }
47
48 // low endpoint of 95% confidence interval
49 public double confidenceLo() {

Callers 3

confidenceLoMethod · 0.95
confidenceHiMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected