higherOrderMoments: Calculate the First Four Moments

Description Usage Arguments Value References Examples

View source: R/utility_functions.R

Description

A function to compute the first four moments (i.e., the mean, variance, skew, and kurtosis) for a vector of data.

Usage

1

Arguments

x

a numerical vector of values.

Value

A list consisting of...

References

Terriberry, T. B. (2007). Computing Higher-Order Moments Online. Retrieved from https://people.xiph.org/~tterribe/notes/homs.html.

Examples

1
2
x = rnorm( 100 )
higherOrderMoments( x )

rettopnivek/utilityf documentation built on March 1, 2021, 7:05 p.m.