mardia | R Documentation |
Performs Mardia’s skewness and kurtosis tests to assess multivariate normality in a multivariate dataset.
mardia(
data,
use_population = TRUE,
tol = 1e-25,
bootstrap = FALSE,
B = 1000,
cores = 1
)
data |
A numeric matrix or data frame with observations in rows and variables in columns. |
use_population |
Logical; if |
tol |
Numeric tolerance passed to |
bootstrap |
Logical; if |
B |
Integer; number of bootstrap replicates. Only used when
|
cores |
Integer; number of cores to use when |
A data frame with two rows, one for Mardia's skewness test and one for the kurtosis test.
Each row contains the name of the test (Test
), the test statistic (Statistic
),
and the associated p-value (p.value
).
## Not run:
data <- iris[1:50, 1:4]
mardia_result <- mardia(data)
mardia_result
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.