Pearson chi-square test for normality, with classes of equal probability under the fitted normal distribution. Equivalent to nortest::pearson.test() in R. NaN values are dropped.
nortest::pearson.test()
NaN
const x = [2.1, 3.4, 1.9, 5.6, 4.4, 3.3, 2.8, 4.1, 3.9, 6.2];pearsonTest(x).pValue; // 0.8494670333918255 Copy
const x = [2.1, 3.4, 1.9, 5.6, 4.4, 3.3, 2.8, 4.1, 3.9, 6.2];pearsonTest(x).pValue; // 0.8494670333918255
Pearson chi-square test for normality, with classes of equal probability under the fitted normal distribution. Equivalent to
nortest::pearson.test()in R.NaNvalues are dropped.