mardiaTest(data, cov = TRUE, qqplot = FALSE)
TRUE
covariance matrix is normalized by n
, if FALSE
it is normalized by n-1
TRUE
it creates a chi-square Q-Q plot
p-value
of the skewness statisticp-value
of kurtosis statisticp-value
of small sample skew statisticFor multivariate normality, both p-values of skewness and kurtosis statistics should be greater than 0.05
.
If sample size less than 20 then p.value.small
should be used as significance value of skewness instead of p.value.skew
.
Mardia, K. V. (1970), Measures of multivariate skewnees and kurtosis with applications. Biometrika, 57(3):519-530. Mardia, K. V. (1974), Applications of some measures of multivariate skewness and kurtosis for testing normality and robustness studies. Sankhy A, 36:115-128.
Stevens, J. (1992), Applied Multivariate Statistics for Social Sciences. 2nd. ed. New-Jersey:Lawrance Erlbaum Associates Publishers. pp. 247-248.
roystonTest
hzTest
mvnPlot
mvOutlier
uniPlot
uniNorm
setosa = iris[1:50, 1:4] # Iris data only for setosa and four variables
result = mardiaTest(setosa, qqplot = TRUE)
result
Run the code above in your browser using DataLab