MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / setTestUsingData

Method setTestUsingData

JSAT/src/jsat/testing/onesample/TTest.java:51–57  ·  view source on GitHub ↗
(Vec data)

Source from the content-addressed store, hash-verified

49
50
51 public void setTestUsingData(Vec data)
52 {
53 this.sampleMean = data.mean();
54 this.sampleDev = data.standardDeviation();
55 this.sampleSize = data.length();
56 tDist.setDf(sampleSize-1);
57 }
58
59 public String[] getTestVars()
60 {

Callers

nothing calls this directly

Calls 4

setDfMethod · 0.80
meanMethod · 0.45
standardDeviationMethod · 0.45
lengthMethod · 0.45

Tested by

no test coverage detected