MCPcopy Create free account
hub / github.com/arguiot/TheoremJS / correlation.js

File correlation.js

src/includes/functions/math/stats/correlation.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1correlation(array1, array2) {
2 if (array1.length != array2.length) {
3 throw "[TheoremJS]: Correlation error, arrays are not the same size"
4 }

Callers

nothing calls this directly

Calls 4

averageMethod · 0.80
sqrtMethod · 0.80
roundMethod · 0.80
powMethod · 0.45

Tested by

no test coverage detected