Gets the type of skewness

skewType(skew)

Arguments

skew

numeric

Value

Returns one of 'negative skew', 'no skew' or 'positive skew'.

Details

Skewness is a measure of asymmetry of a distribution.

A distribution can either have negative skew, no skew or positive skew. A symmetric distribution will always have no skew but the reverse relationship does not always hold.

Examples

skewType(1)
#> [1] "positive skew"
skewType(0)
#> [1] "no skew"
skewType(-1)
#> [1] "negative skew"