powered by
This function returns the value of the second statistic of Manzotti und Quiroz (2001).
MQ2(data)
Value of the test statistic
a n x d matrix of d dimensional data vectors.
Manzotti, A., and Quiroz, A.J. (2001), Spherical harmonics in quadratic forms for testing multivariate normality, Test, 10:87–104, DOI
MQ2(MASS::mvrnorm(50,c(0,1),diag(1,2)))
Run the code above in your browser using DataLab