Jarque-Bera test for normality
Arguments
- x
Numeric vector.
Value
A morie_test_result (subclass of morie_rich_result)
with the Jarque-Bera JB statistic, p-value, df = 2, and sample size n.
Examples
set.seed(1)
res <- jarque_bera(rnorm(100))
res$p_value
#> [1] 0.9532635