adTest {NCStats}R Documentation

Anderson-Darling test for normality

Description

Performs the Anderson-Darling test for the composite hypothesis of normality. This is simply a camel-case wrapper to the ad.test in nortest.

Usage

adTest(x)

Arguments

x

a numeric vector of data values, the number of which must be greater than 7. Missing values are allowed.

Value

A list with class "htest" containing the following components:

Note

This is exactly the same as ad.test in nortest package except that it uses ‘camel-case’ naming conventions.

Examples

adTest(rnorm(100,mean=5,sd=3))
adTest(runif(100,min=2,max=4))


[Package NCStats version 0.4.7 Index]