Calculates the chi-squared test of two arrays.
The first array
The second array
const result = Chalkboard.stat.chiSquared([20, 30, 50], [25, 25, 50]); // Returns the componentwise chi-squared contributions Copy
const result = Chalkboard.stat.chiSquared([20, 30, 50], [25, 25, 50]); // Returns the componentwise chi-squared contributions
Calculates the chi-squared test of two arrays.