MASkew {mnt} | R Documentation |
multivariate skewness in the sense of Malkovich and Afifi
Description
This function computes the invariant measure of multivariate sample skewness due to Malkovich and Afifi (1973).
Usage
MASkew(data, Points = NULL)
Arguments
data |
a n x d matrix of d dimensional data vectors. |
Points |
points for approximation of the maximum on the sphere. |
Details
Multivariate sample skewness due to Malkovich and Afifi (1973) is defined by
where is the sample mean and
is the sample covariance matrix of the random vectors
. To ensure that the computation works properly
is needed. If that is not the case the function returns an error.
Value
value of sample skewness in the sense of Malkovich and Afifi.
References
Malkovich, J.F., and Afifi, A.A. (1973), On tests for multivariate normality, J. Amer. Statist. Ass., 68:176–179.
Henze, N. (2002), Invariant tests for multivariate normality: a critical review, Statistical Papers, 43:467–506.
Examples
MASkew(MASS::mvrnorm(50,c(0,1),diag(1,2)))