k4: The fourth central moment

Description Usage Arguments Value References

View source: R/RcppExports.R

Description

The fourth central moment

Usage

1
k4(x)

Arguments

loss

vector with input

scale

scale parameter

Value

The fourth central moment is a measure of the heaviness of the tail of the distribution, compared to the normal distribution of the same variance. Since it is the expectation of a fourth power, the fourth central moment, where defined, is always positive; and except for a point distribution, it is always strictly positive. The fourth central moment of a normal distribution is 3 * Sigma 4.

The kurtosis K is defined to be the normalised fourth central moment minus 3 (Equivalently, as in the next section, it is the fourth cumulant divided by the square of the variance). Some authorities do not subtract three, but it is usually more convenient to have the normal distribution at the origin of coordinates.[4][5] If a distribution has heavy tails, the kurtosis will be high (sometimes called leptokurtic); conversely, light-tailed distributions (for example, bounded distributions such as the uniform) have low kurtosis (sometimes called platykurtic).

The kurtosis can be positive without limit, but K must be greater than or equal to Gamma * 2 <e2><88><92> 2; equality only holds for binary distributions. For unbounded skew distributions not too far from normal, K tends to be somewhere in the area of Gamma * 2 and 2 * Gamma * 2.

The inequality can be proven by considering

E[(T^2-aT-1)^2

where T = (X <e2><88><92> <ce><bc>)/<cf><83>. This is the expectation of a square, so it is non-negative for all a; however it is also a quadratic polynomial in a. Its discriminant must be non-positive, which gives the required relationship.

References

https://en.wikipedia.org/wiki/Moment_(mathematics)


dangulod/ECTools documentation built on May 4, 2019, 3:19 p.m.