Moment Estimator

The Moment Estimator of Dekkers, Einmahl and de Haan (1989) extends the Hill Estimator with the second moment of the same log ratios, which corrects it for tails that are not heavy: it holds for every sign of the shape while keeping much of the precision of the Hill Estimator.

The formula for the Moment Estimator starts from the first two moments \(M_{j} (j = 1 , 2)\) of the log ratios of the k largest losses \(X_{1} \geq X_{2} \geq \ldots \geq X_{k}\) to the threshold \(X_{k + 1}\), the next largest loss, with the losses the strictly positive negated returns (or the returns themselves for the right tail):

\[M_{j} = \frac{\sum_{i=1}^{k} \left(\ln\left(X_{i}\right) - \ln\left(X_{k+1}\right)\right)^{j}}{k}\]

The first moment \(M_{1}\) is the Hill shape, and the second term corrects it with the ratio of the squared first moment to the second:

\[\text{Moment Shape} = M_{1} + 1 - \frac{0.5}{1 - \frac{M_{1}^{2}}{M_{2}}}\]

For a positive shape xi the tail index is its reciprocal, and the large-sample standard error of the shape falls with the square root of k:

\[\text{Tail Index} = \frac{1}{\xi} \quad \text{if } \xi > 0\] \[\text{Moment Standard Error} = \frac{\sqrt{1 + \xi^{2}}}{\sqrt{k}} \quad \text{if } \xi > 0\]

For a heavy tail it lies close to the Hill Estimator; a shape around 0 or below, where the Hill Estimator still reports a positive one, points to a tail that is not a power law.

The tail index measures how fast the probability of an extreme return falls as the return gets more extreme. Financial returns have fat tails: crashes and spikes occur far more often than the normal distribution allows, and the sample skewness and kurtosis say little about how fat, as a handful of observations dominate them and the population values need not even exist. Extreme value theory describes the tail with a power law instead, in which the probability of a loss larger than x falls as x to the power minus alpha, the tail index. Its reciprocal \(\xi = 1 / \alpha\) is the shape of the tail, the extreme value index: a positive shape is a heavy, power-law tail (as in the Student-t distribution), a shape of 0 a thin tail that falls exponentially (as in the normal distribution) and a negative shape a tail with an end point. The estimators use only the k largest losses, the order statistics of the tail, so they describe the tail without assuming a distribution for the rest of the returns.

The smaller the tail index, the heavier the tail: every moment of an order at or above the tail index is infinite, so with a tail index below 4 the kurtosis does not exist and below 2 not even the variance. For daily stock returns the tail index typically lies between about 2 and 5 (Cont, 2001), while the normal distribution has an infinite tail index. Every estimate depends on k: a small k is noisy and a large k pulls in returns from the centre of the distribution, so practitioners plot the estimate against a range of k (a Hill plot) and read it where it is stable.

Also known as: Dekkers-Einmahl-de Haan estimator, DEdH estimator, moment tail estimator.

In the Finance Toolkit this is get_hill_estimator with method="moment", the same function as Hill Estimator.

Example · BTCUSD, ^GSPC, GCUSD · 2021 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_hill_estimator:

from financetoolkit import Toolkit

toolkit = Toolkit(
    ["BTCUSD", "^GSPC", "GCUSD"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2021-01-01",
    end_date="2025-12-31",
)

toolkit.risk.get_hill_estimator(method="moment", k=60)

Which returns:

References

  • Paper Dekkers, A.L.M., Einmahl, J.H.J. and de Haan, L. (1989). “A Moment Estimator for the Index of an Extreme-Value Distribution.” The Annals of Statistics, 17(4), 1833-1855.
  • Paper de Haan, L. and Ferreira, A. (2006). “Extreme Value Theory: An Introduction.” Springer, chapter 3.
Share