multivariate normality test in r
Usage Usage. A function to generate the Shapiro-Wilk's W statistic needed to feed the Royston's H test for multivariate normality However, if kurtosis of the data greater than 3 then Shapiro-Francia test is used for leptokurtic samples else Shapiro-Wilk test is used for platykurtic samples. First, we use Mardia’s test to verify the normality for the above data Type mardiaTest(trees) This will return the results of normality test with 3 variables in it. Note: The argument R=100 specifies 100 boostrapped replicates to be used when performing the test. This is a slightly modified copy of the
mshapiro.test function of the package mvnormtest, for internal convenience.