Learn R Programming

mnt (version 1.3)

MQ2: second statistic of Manzotti und Quiroz

Description

This function returns the value of the second statistic of Manzotti und Quiroz (2001).

Usage

MQ2(data)

Arguments

data

a n x d matrix of d dimensional data vectors.

Value

Value of the test statistic

References

Manzotti, A., and Quiroz, A.J. (2001), Spherical harmonics in quadratic forms for testing multivariate normality, Test, 10:87<U+2013>104, DOI

Examples

Run this code
# NOT RUN {
MQ2(MASS::mvrnorm(50,c(0,1),diag(1,2)))

# }

Run the code above in your browser using DataLab