mshapiro.test {RVAideMemoire} | R Documentation |
Shapiro-Wilk multivariate normality test
Description
Performs a Shapiro-Wilk test to asses multivariate normality. This is a slightly modified copy of the mshapiro.test
function of the package mvnormtest, for internal convenience.
Usage
mshapiro.test(x)
Arguments
x |
a data frame or a matrix of numeric variables (each column giving a variable). |
Value
method |
name of the test. |
data.name |
a character string giving the names of the data. |
statistic |
test statistics of the test. |
p.value |
p-value of the test. |
Author(s)
Maxime HERVE <maxime.herve@univ-rennes1.fr> from the work of Slawomir Jarek
See Also
Examples
x <- 1:30+rnorm(30)
y <- 1:30+rnorm(30,1,3)
mshapiro.test(cbind(x,y))
[Package RVAideMemoire version 0.9-83-7 Index]