anderson_darling {agfh} | R Documentation |
Anderson-Darling Normality Test
Description
Test a sample against the null hypothesis that it comes from a standard Normal distribution.
Usage
anderson_darling(samples)
Arguments
samples |
vector of values to be tested |
Details
Wrapper function for corresponding functionality in goftest
. Originally, from Anderson and Darling (1954).
Value
A list containing
name |
authors of normality test applied i.e. 'Anderson Darling' |
statistic |
scalar value of test statistics |
p.value |
corresponding p-value of the test |
Source
Anderson and Darling (1954) via goftest
.
Examples
sample <- rnorm(100)
anderson_darling(sample)
[Package agfh version 0.2.1 Index]