Test the multivariate normality of a distribution

test_multinormality(
  values,
  test = "Mardia",
  threshold = 0.05,
  data,
  center,
  warnings = FALSE
)

Arguments

values

Unidimensional array of numerical values (distances)

test

Statistical test used, valid options are "Mardia", "Kurtosis", "Skewness", "KS", "KS-adj", "Shapiro", "Lillie", and "Chisq"

threshold

Threshold of significance for the statistical test (default: 0.05)

data

Matrix of numerical values containing the observations (one per row, with two columns for X and Y coordinates)

center

Center of the observations from data

warnings

Logical value, to display the warnings and errors caught

Value

p-value of the test (lower values suggest non normality)

Details

Parameter data is only required for the tests "Mardia", "Skewness", "Kurtosis" and "Chisq", while parameter center is only required for "Chisq"

See also