Learn R Programming

dprep (version 3.0.2)

mo4: 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

mo4(data)

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.

See Also

mo3, mardia

Examples

Run this code
data(iris)
mo4(iris[,-5])

Run the code above in your browser using DataLab