powered by
Performs the second test of multivariate normality of Manzotti and Quiroz (2001).
test.MQ2(data, MC.rep = 10000, alpha = 0.05)
a n x d matrix of d dimensional data vectors.
number of repetitions for the Monte Carlo simulation of the critical value
level of significance of the test
a list containing the value of the test statistic, the approximated critical value and a test decision on the significance level alpha:
alpha
$Test
name of the test.
$Test.value
the value of the test statistic.
$cv
the approximated critical value.
$Decision
the comparison of the critical value and the value of the test statistic.
Manzotti, A., Quiroz, A.J. (2001), Spherical harmonics in quadratic forms for testing multivariate normality, Test, 10:87-104, DOI
MQ2
# NOT RUN { test.MQ2(MASS::mvrnorm(50,c(0,1),diag(1,2)),MC.rep=500) # }
Run the code above in your browser using DataLab