[R] Mardia's multivariate normality test

From: Jiao Yang <yj316_at_gwu.edu>
Date: Sun, 06 May 2007 21:00:40 -0400


Dear all,

I got this error message

> library(dprep)
> mardia(Savg)

Error in cov(data) : 'x' is empty

But with the same data, I got
> library(mvnormtest)
> mshapiro.test(Savg)

        Shapiro-Wilk normality test

data: Z
W = 0.9411, p-value = 0.6739

What does the error message "Error in cov(data) : 'x' is empty" mean? Thanks a lot!

Jiao



R-help_at_stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon 07 May 2007 - 01:08:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 May 2007 - 19:31:27 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.