Learn R Programming

mnt (version 1.3)

HZ: Statistic of the Henze-Zirkler test

Description

This function returns the value of the statistic of the BHEP test as in Henze and Zirkler (1990). The difference to the BHEP test is in the choice of the tuning parameter \(\beta\).

Usage

HZ(data)

Arguments

data

a n x d matrix of d dimensional data vectors.

Value

value of the test statistic.

Details

A BHEP test is performed with tuning parameter \(\beta\) chosen in dependence of the sample size n and the dimension d, namely $$\beta=\frac{((2d+1)n/4)^(1/(d+4))}{\sqrt{2}}.$$

References

Henze, N., and Zirkler, B. (1990), A class of invariant consistent tests for multivariate normality, Commun.-Statist. <U+2013> Th. Meth., 19:3595<U+2013>3617, DOI

See Also

BHEP

Examples

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

# }

Run the code above in your browser using DataLab