Learn R Programming

mnt (version 1.3)

HJM: statistic of the Henze-Jim<U+00E9>nes-Gamero-Meintanis test

Description

Computes the test statistic of the Henze-Jim<U+00E9>nes-Gamero-Meintanis test.

Usage

HJM(data, a)

Arguments

data

a n x d numeric matrix of data values.

a

positive numeric number (tuning parameter).

Value

The value of the test statistic.

Details

This functions evaluates the teststatistic with the given data and the specified tuning parameter a. Each row of the data Matrix contains one of the n (multivariate) sample with dimension d. To ensure that the computation works properly \(n \ge d+1\) is needed. If that is not the case the function returns an error.

References

Henze, N., Jim<U+00E9>nes-Gamero, M.D., Meintanis, S.G. (2019), Characterizations of multinormality and corresponding tests of fit, including for GARCH models, Econometric Th., 35:510<U+2013>546, DOI.

Examples

Run this code
# NOT RUN {
HJM(MASS::mvrnorm(20,c(0,1),diag(1,2)),a=2.5)

# }

Run the code above in your browser using DataLab