ad.test: Anderson-Darling Test

Description Usage Arguments See Also Examples

Description

Performs the Anderson-Darling test for the composite hypothesis of normality, see e.g. Thode (2002, Sec. 5.1.4). The Anderson-Darling test is an EDF omnibus test for the composite hypothesis of normality. The Anderson-Darling test is the recommended EDF test by Stephens (1986). Compared to the Cramer-von Mises test (as second choice) it gives more weight to the tails of the distribution.

Usage

1

Arguments

x:

a FLVector of data values.

mean:

specifies mean for the normal distribution.

sd:

specifies standard deviation for the normal distribution.

See Also

ad.test for R reference implementation.

Examples

1
2
3
4
5
6
7
set.seed(200)
a <- as.FL(rnorm(100, mean = 5, sd = 3))
res <- ad.test(a)

data <- FLTable(table = getTestTableName("tblADTest"), obs_id_colname="ObsID",whereconditions="datasetid=1")
val <- data$NUM_VAL
res <- ad.test(val, mean = 1,sd = 10)

Fuzzy-Logix/AdapteR documentation built on May 6, 2019, 5:07 p.m.