LoslegenKostenlos loslegen

Numerical tests for multivariate normality

Besides the graphical tests using QQ-plot, the MVN library has a range of numerical tests for checking multivariate normality. Along with the significance tests, these tests provide an inferential statement about whether the data are multivariate normal.

Diese Übung ist Teil des Kurses

Multivariate Probability Distributions in R

Kurs anzeigen

Anleitung zur Übung

  • Use the mvn() function with argument mvnTest = "mardia" to perform Mardia's test of multivariate normality on the multnorm.sample dataset.

  • Use the mvn() function with argument mvnTest = "hz" to perform Henze-Zirkler's test of multivariate normality on the numeric variables, Alcohol, Malic, Ash, Alcalinity of the wine dataset.

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Mardia's test

# Henze-Zirkler's test 
Code bearbeiten und ausführen