dagostinoTest: D'Agostino normality test.

dagostinoTestR Documentation

D'Agostino normality test.

Description

Performs D'Agostino normality tests based on skewness, kurtosis, and an omnibus test.

Usage

dagostinoTest(x)

Arguments

x

a non-empty numeric vector of data

Details

The implementation is taken from Zvara2008 (appendix A.4.1).

Value

Data frame having the results of the skewness, kurtosis, and omnibus tests in columns, and the test statistics and P-values in rows.

Author(s)

Tomas Sieger

References

DAgostino, Ralph B.; Albert Belanger; Ralph B. DAgostino, Jr (1990). A suggestion for using powerful and informative tests of normality. The American Statistician 44 (4): 316-321. JSTOR 2684359.

Karel Zv\'ara: Regrese, Matfyzpress Praha 2008

Examples

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

tsieger/tsiMisc documentation built on Oct. 10, 2023, 10:24 p.m.