开始使用免费开始使用

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.

本练习是课程的一部分

Multivariate Probability Distributions in R

查看课程

练习说明

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

交互式实操练习

通过完成这段示例代码来试试这个练习。

# Mardia's test

# Henze-Zirkler's test 
编辑并运行代码