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.
Este exercício faz parte do curso
Multivariate Probability Distributions in R
Instruções do exercício
Use the
mvn()
function with argumentmvnTest = "mardia"
to perform Mardia's test of multivariate normality on themultnorm.sample
dataset.Use the
mvn()
function with argumentmvnTest = "hz"
to perform Henze-Zirkler's test of multivariate normality on the numeric variables,Alcohol
,Malic
,Ash
,Alcalinity
of thewine
dataset.
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Mardia's test
# Henze-Zirkler's test