skewness

0th

Percentile

Skewness

Functions to compute skewness.

Keywords
univar
Usage
skewness(x, …)

# S3 method for default skewness(x, na.rm = FALSE, method = c("moment", "fisher"), …) # S3 method for data.frame skewness(x, …) # S3 method for POSIXct skewness(x, …) # S3 method for POSIXlt skewness(x, …)

Arguments
na.rm

a logical. Should missing values be removed?

method

a character string which specifies the method of computation. These are either "moment" or "fisher" The "moment" method is based on the definitions of skewnessfor distributions; these forms should be used when resampling (bootstrap or jackknife). The "fisher" method correspond to the usual "unbiased" definition of sample variance, although in the case of skewness exact unbiasedness is not possible.

x

a numeric vector or object.

arguments to be passed.

Value

skewness

returns the value of the statistics, a numeric value. An attribute which reports the used method is added.

See Also

link{kurtosis}.

Aliases
  • skewness
  • skewness.default
  • skewness.data.frame
  • skewness.POSIXct
  • skewness.POSIXlt
Examples
# NOT RUN {
## mean -
## var -
   # Mean, Variance:
   r = rnorm(100)
   mean(r)
   var(r)
   
## skewness -
   skewness(r)  
# }
Documentation reproduced from package timeDate, version 3043.102, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.