NormTest {MVar} | R 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))
[Package MVar version 2.2.2 Index]