Learn R Programming

performance (version 0.12.4)

check_symmetry: Check distribution symmetry

Description

Uses Hotelling and Solomons test of symmetry by testing if the standardized nonparametric skew (\(\frac{(Mean - Median)}{SD}\)) is different than 0.

This is an underlying assumption of Wilcoxon signed-rank test.

Usage

check_symmetry(x, ...)

Arguments

x

Model or numeric vector

...

Not used.

Examples

Run this code
V <- suppressWarnings(wilcox.test(mtcars$mpg))
check_symmetry(V)

Run the code above in your browser using DataLab