check_symmetry function

Check distribution symmetry

Check distribution symmetry

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

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

check_symmetry(x, ...)

Arguments

  • x: Model or numeric vector
  • ...: Not used.

Examples

V <- suppressWarnings(wilcox.test(mtcars$mpg)) check_symmetry(V)
  • Maintainer: Daniel Lüdecke
  • License: GPL-3
  • Last published: 2025-01-15