NormTest_English: Test of normality of the data.

NormTestR Documentation

Test of normality of the data.

Description

Check the normality of the data, based on the asymmetry coefficient test.

Usage

NormTest(data, sign = 0.05)

Arguments

data

Data to be analyzed.

sign

Test significance level (default 5%).

Value

statistic

Observed Chi-square value, that is, the test statistic.

chisquare

Chi-square value calculated.

gl

Degree of freedom.

p.value

p-value.

Author(s)

Paulo Cesar Ossani

Marcelo Angelo Cirillo

References

MINGOTI, S. A. Analise de dados atraves de metodos de estatistica multivariada: uma abordagem aplicada. Belo Horizonte: UFMG, 2005. 297 p.

RENCHER, A. C. Methods of Multivariate Analysis. 2th. ed. New York: J.Wiley, 2002. 708 p.

FERREIRA, D. F. Estatistica Multivariada. 2a ed. revisada e ampliada. Lavras: Editora UFLA, 2011. 676 p.

Examples

data <- cbind(rnorm(100,2,3), rnorm(100,1,2))

NormTest(data)

plot(density(data))


data <- cbind(rexp(200,3), rexp(200,3))

NormTest(data, sign = 0.01)

plot(density(data))

MVar documentation built on Aug. 19, 2023, 5:12 p.m.