skewness {TSA} | R Documentation |
Skewness
Description
Computes the skewness of the data
Usage
skewness(x, na.rm = FALSE)
Arguments
x |
data |
na.rm |
logical variable, if true, missing values are excluded from analysis |
Details
Given data , the sample skewness is
defined by the formula:
Value
The function returns the skewness of the data.
Author(s)
Kung-Sik Chan
Examples
data(CREF)
r.cref=diff(log(CREF))*100
skewness(r.cref)
[Package TSA version 1.3.1 Index]