Test for multivariate normality that uses as criterion the skewness measured as the difference between location estimates based on first respectively third moments
mvnorm.skew.test(X, na.action = na.fail)
A list with class 'htest' containing the following components:
the value of the test statistic U.
the degrees of freedom for the statistic U.
the p-value for the test.
a character string indicating what type of test was performed.
a character string giving the name of the data.
a numeric data frame or matrix.
a function which indicates what should happen when the data contain 'NA's. Default is to fail.
Klaus Nordhausen
This test implements the multivariate normality test based on skewness measured by two different location estimates
as described in Kankainen, Taskinen and Oja. The choice here is based on the regular mean vector and the location estimate based on
third moments (mean3
). The scatter matrix used is the regular covariance matrix.
Kankainen, A., Taskinen, S. and Oja, H. (2007),Tests of multinormality based on location vectors and scatter matrices, Statistical Methods and Applications, 16, 357--379. <doi:10.1007/s10260-007-0045-9>.
mvnorm.kur.test
X<-rmvnorm(100,c(2,4,5))
mvnorm.skew.test(X)
Run the code above in your browser using DataLab