andersondarling: Anderson-Darling test

andersondarlingR Documentation

Anderson-Darling test

Description

Performs Anderson-Darling goodness of fit test for normality.

Usage

row_andersondarling(x)

col_andersondarling(x)

Arguments

x

numeric matrix.

Details

row_andersondarling(x) - Anderson-Darling test on rows. col_andersondarling(x) - Anderson-Darling test on columns.

Results should be the same as running nortest::ad.test(x) on every row (or column) of x

Value

a data.frame where each row contains the results of Anderson-Darling test performed on the corresponding row/column of x.

Each row contains the following information (in order):
1. obs - number of observations
2. statistic - test statistic
3. pvalue - p-value

Author(s)

Karolis Koncevičius

See Also

shapiro.test()

Examples

col_andersondarling(iris[,1:4])
row_andersondarling(t(iris[,1:4]))


karoliskoncevicius/matrixTests documentation built on Oct. 18, 2023, 5:50 a.m.