This function returns the value of the statistic of the test of multivariate normality (also called energy test) as in Sz<U+00E9>kely and Rizzo (2005). Note that the scaled residuals use another scaling in the estimator of the covariance matrix as the other functions of the package mnt
!
It is equivalent to the function mvnorm.e
.
SR(data, abb = 1e-08)
a n x d matrix of d dimensional data vectors.
Stop criterium.
value of the test statistic.
Sz<U+00E9>kely, G., and Rizzo, M. (2005), A new test for multivariate normality, J. Multiv. Anal., 93:58<U+2013>80, DOI
# NOT RUN {
SR(MASS::mvrnorm(50,c(0,1),diag(1,2)))
# }
Run the code above in your browser using DataLab