pub fn jarque_bera(x: &[f64]) -> Result<TestResult, ErrorsJSL>Expand description
The Jarque-Bera test: JB = n/6 (S² + K²/4) from the sample skewness S and excess kurtosis
K (biased), asymptotically χ² with 2 degrees of freedom (SciPy’s jarque_bera).