sur (version 1.0.0)

skew: Skewness of a Distribution

Description

Function to obtain the skewness value of a distribution of values.

Usage

skew(x)

Arguments

x

numeric object containing the values for a variable.

Value

Skewness value of x.

Details

Skewness value computed on non-missing values using the ratio of \(\Sigma((x - m)^3) / N\) to \(\sqrt(\Sigma((x - m)^2) / N) ^3\).

See Also

se.skew, skew.ratio

Examples

Run this code
# NOT RUN {
skew(IceCream$relhumid)
skew(IceCream$temp)
# }

Run the code above in your browser using DataCamp Workspace