skewness: Skewness Function

Description Usage Arguments Examples

Description

This function calculates the skewness of a data with optional bias correction. The skewness is a measure of the symmetry of a distrbution. A negative skewness means the data is left skewed or has a fat left tail. The converse is true for a positive skew.

Usage

1

Arguments

x

Data vector.

finite

Should the finite sample correction (bias correction) be used? Defaults to TRUE.

Examples

1
2
3
data<-c(rnorm(15,0,1),rnorm(21,5,1))
hist(data)
skewness(data,TRUE)

Example output

[1] -0.2202224

modes documentation built on May 2, 2019, 1:28 p.m.