test.HZ: The Henze-Zirkler test

Description Usage Arguments Details Value References See Also Examples

View source: R/multNormTest.R

Description

Performs the test of multivariate normality of Henze and Zirkler (1990).

Usage

1
test.HZ(data, MC.rep = 10000, alpha = 0.05)

Arguments

data

a n x d matrix of d dimensional data vectors.

MC.rep

number of repetitions for the Monte Carlo simulation of the critical value

alpha

level of significance of the test

Details

A BHEP test is performed with tuning parameter β chosen in dependence of the sample size n and the dimension d, namely

β=\frac{((2d+1)n/4)^(1/(d+4))}{√{2}}.

Value

a list containing the value of the test statistic, the approximated critical value and a test decision on the significance level alpha:

$Test

name of the test.

$param

value tuning parameter.

$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.

#'

References

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

See Also

HZ

Examples

1
test.HZ(MASS::mvrnorm(50,c(0,1),diag(1,2)),MC.rep=500)

mnt documentation built on July 31, 2020, 5:07 p.m.

Related to test.HZ in mnt...