View source: R/Jarque_Bera_test.R
| Jarque_Bera_test | R Documentation |
Performs the Jarque-Bera chi-squared test, a moment-based omnibus test for assessing normality.
Jarque_Bera_test(
x,
alpha = 0.05,
alternative = c("two.sided", "less", "greater"),
silent = FALSE,
summary = TRUE
)
x |
Numeric vector. Must contain at least 20 observations. |
alpha |
Numeric (default: 0.05). Significance level for hypothesis testing. Must be between 0 and 1. |
alternative |
Character (default: |
silent |
Logical (default: |
summary |
Logical (default: TRUE). Produce a summary table. |
The test evaluates the null hypothesis that the data are drawn from a normal distribution by combining standardized measures of skewness and kurtosis into a single chi-squared test statistic.
A list
Jarque, C.M., Bera, A.K., 1987. A Test for Normality of Observations and Regression Residuals. Int. Stat. Rev. 55, 163–172. https://doi.org/10.2307/1403192
D.Agostino_Pearson_test()
out <- Jarque_Bera_test(rnorm(50))
print(out$summary)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.