JarqueBeraTest(x, robust = TRUE, method = c("chisq", "mc"),
N = 0, na.rm = FALSE)
chisq
or mc
).shapiro.test
for performing the Shapiro-Wilk test for normality.
AndersonDarlingTest
, CramerVonMisesTest
, LillieTest
, PearsonTest
, ShapiroFranciaTest
for performing further tests for normality.
qqnorm
, qqline
for producing a normal quantile-quantile plot.x <- rnorm(100) # null
JarqueBeraTest(x)
x <- runif(100) # alternative
JarqueBeraTest(x, robust=TRUE)
Run the code above in your browser using DataLab