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

Method kurtosis

JSAT/src/jsat/linear/DenseVector.java:208–220  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206 }
207
208 @Override
209 public double kurtosis()
210 {
211 double mean = mean();
212
213 double tmp = 0;
214
215 for(int i = startIndex; i < endIndex; i++)
216 tmp += pow(array[i]-mean, 4);
217 tmp /= length();
218
219 return tmp / pow(variance(), 2) - 3;
220 }
221
222
223 @Override

Callers

nothing calls this directly

Calls 4

lengthMethod · 0.95
varianceMethod · 0.95
meanMethod · 0.45
powMethod · 0.45

Tested by

no test coverage detected