Anderson_Darling_test: Anderson-Darling Normality Test
Description
Anderson-Darling Normality Test
Usage
Anderson_Darling_test(x, alpha = 0.05, min_n = 8, verbose = FALSE)
Value
A list:
is_normal: Is the input data normally distributed?
method: The name of the test.
alpha: Significance threshold (default: 0.05).
alternative: The alternative hypothesis (H1) to test.
summary_table: Statistic summary, if any. Mostly output as a data frame.
statistic: The value used to calculate p-value.
pvalue: The p value.
confidence_interval: The lower and upper bound of confidence interval (CI).
Arguments
- x
A numeric vector.
- alpha
Numeric (default: 0.05). Significance threshold, range from 0 to 1.
- min_n
Integer. The minimum observations required (default: 8).
- verbose
Logical (default: FALSE). Show messages.
References
D’Agostino, RalphB., 2017.
Goodness-of-Fit Techniques, page 123-128 & 372-373. 1st ed. Routledge.
https://doi.org/10.1201/9780203753064
Examples
Run this codeAnderson_Darling_test(leghorn_chick)
Run the code above in your browser using DataLab