Learn R Programming

mvnormalTest (version 1.0.1)

Powerful Tests for Multivariate Normality

Description

A simple informative powerful test (mvnTest()) for multivariate normality proposed by Zhou and Shao (2014) , which combines kurtosis with Shapiro-Wilk test that is easy for biomedical researchers to understand and easy to implement in all dimensions. This package also contains some other multivariate normality tests including Fattorini's FA test (faTest()), Mardia's skewness and kurtosis test (mardia()), Henze-Zirkler's test (mhz()), Bowman and Shenton's test (msk()), Royston’s H test (msw()), and Villasenor-Alva and Gonzalez-Estrada's test (msw()). Empirical power calculation functions for these tests are also provided. In addition, this package includes some functions to generate several types of multivariate distributions mentioned in Zhou and Shao (2014).

Copy Link

Version

Install

install.packages('mvnormalTest')

Monthly Downloads

617

Version

1.0.1

License

GPL (>= 2)

Maintainer

Yian Zhang

Last Published

June 4th, 2025

Functions in mvnormalTest (1.0.1)

power.mswV

Power Calculation using the SWT-based Villasenor-Alva and Gonzalez-Estrada (VAGE) Test Statistic
power.mhz

Power Calculation using the Henze-Zirkler Test Statistic
power.msk

Power Calculation using the Bowman and Shenton Test Statistic
power.usw

Power Calculation using the Univariate Shapiro-Wilk Test Statistic
MVNMIX

Random Generation for the Normal Mixture Distribution
PSII

Random Generation for the Spherically Symmetric Pearson Type II Distribution
copulas

Random Generation for the Copula Generated Distributions
mardia

Mardia Test (Skewness and Kurtosis) for Multivariate Normality
power.faTest

Power Calculation using the Fattorini's FA Test Statistic
faTest

Rotational Robust Shapiro-Wilk Type (SWT) Test for Multivariate Normality (FA Test of Fattorini)
IMMV

Random Generation for Distribution with Independent Marginals
SPH

Random Generation for General Spherically Symmetric Distributions
mhz

Henze-Zirkler Test for Multivariate Normality
msk

Bowman and Shenton Test for Multivariate Normality
PSVII

Random Generation for the Spherically Symmetric Pearson Type VII Distribution
power.mswR

Power Calculation using the SWT-based Royston Test Statistic
msw

Shapiro-Wilk Type (SWT) Tests for Multivariate Normality
power.mvnTest

Power Calculation using the Zhou-Shao's Multivariate Normality Test Statistic (\(T_n\))
mvnTest

A Powerful Test for Multivariate Normality (Zhou-Shao's Test)