MCPcopy
hub / github.com/montanaflynn/stats / TestNumacc2Data

Function TestNumacc2Data

nist_test.go:389–398  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

387}
388
389func TestNumacc2Data(t *testing.T) {
390 r, e := stats.Mean(numacc2)
391 test("numacc2 Mean", r, 1.2, 1e-10, e, t)
392
393 r, e = stats.StandardDeviationSample(numacc2)
394 test("numacc2 Standard Deviation", r, 0.1, 1e-10, e, t)
395
396 r, e = stats.AutoCorrelation(numacc2, 1)
397 test("Lew AutoCorrelateNumacc2", r, -0.999, 1e-10, e, t)
398}
399
400func TestNumacc3Data(t *testing.T) {
401 r, e := stats.Mean(numacc3)

Callers

nothing calls this directly

Calls 4

MeanFunction · 0.92
StandardDeviationSampleFunction · 0.92
AutoCorrelationFunction · 0.92
testFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…