Shapiro-Francia test for normality. Equivalent to nortest::sf.test() in R. NaN values are dropped; the sample size must be between 5 and 5000.
nortest::sf.test()
NaN
const x = [2.1, 3.4, 1.9, 5.6, 4.4, 3.3, 2.8, 4.1, 3.9, 6.2];sfTest(x).pValue; // 0.8583583366365347 Copy
const x = [2.1, 3.4, 1.9, 5.6, 4.4, 3.3, 2.8, 4.1, 3.9, 6.2];sfTest(x).pValue; // 0.8583583366365347
Shapiro-Francia test for normality. Equivalent to
nortest::sf.test()in R.NaNvalues are dropped; the sample size must be between 5 and 5000.