The fourth moment of a multivariate distribution

Description

This function computes the fourth moment of a multivariate distribution. This result is used later in the mardia's test for multivariate normality.

Usage

1

Arguments

data

The dataset containing the features of the multivariate vector for which the fourth moment will be computed. Do not include the class attribute for supervised datasets

Value

Returns the fourth moment.

Author(s)

Edgar Acuna

See Also

mo3, mardia

Examples

1
2
data(iris)
mo4(iris[,-5])

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.