| mardia.test | R Documentation |
Performs Mardia's tests to assess multivariate normality based on the multivariate skewness and kurtosis coefficients.
mardia.test(x)
x |
matrix of data with, say, |
A list of class 'Mardia.test' with the following elements:
skewness |
a list containig the |
kurtosis |
a list containig the |
Mardia, K.V. (1970). Measures of multivariate skewness and kurtosis with applications. Biometrika 57, 519-530.
Mardia, K.V. (1974). Applications of some measures of multivariate skewness and kurtosis in testing normality and robustness studies. Sankhya 36, 115-128.
setosa <- iris[1:50,1:4]
z <- mardia.test(setosa)
z
set.seed(149)
Sigma <- matrix(c(10,3,3,2), ncol = 2)
x <- rmnorm(n = 300, Sigma = Sigma)
z <- mardia.test(x)
z
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.