Skewness Function

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)