LibraryQuant puzzles
Every tail index estimate needs a threshold chosen by hand, and the choice moves the answer. Here is a statistic with nothing to choose. For a sample and a power , define the largest term's share of the total -th power:
The table is simulated from an iid generator with an unknown power tail, one million draws at the largest size, medians over hundreds of replications:
| 1 | 0.00749 | 0.00163 | 0.000345 | 0.000072 |
| 2 | 0.0441 | 0.0205 | 0.00908 | 0.00395 |
| 3 | 0.164 | 0.134 | 0.106 | 0.0820 |
| 4 | 0.348 | 0.346 | 0.341 | 0.301 |
Ask how the largest term and the sum each grow with sample size, first when the average of the p-th power is finite and then when it is not. In the table, look at the slope across sizes rather than at any single value.
The largest observation's share of the total is a statistic about moment existence, and unlike every fitted tail index it has nothing in it for the analyst to choose.
Set and suppose has a regularly varying tail with index . Raising to a power divides the index:
so has tail index , and is finite exactly when , which is the usual statement that moments of order below exist McNeil et al. (2015).
When the moment exists. The denominator obeys the law of large numbers, . The numerator is the maximum of draws from a tail with index , which grows like , since the largest of draws sits where the survival function equals . So
It goes to zero, at a power rate that is steepest for small and flattens as approaches .
When the moment does not exist. With there is no law of large numbers. The sum has a stable limit, converging in distribution, and the maximum grows at exactly the same order . The ratio is then with a nondegenerate limiting distribution. The clean statement behind all of this: for iid nonnegative draws, almost surely if and only if is finite. The largest term keeps a nonvanishing share of the total forever precisely when the mean is infinite.
So the diagnostic is a dichotomy, not a fit. Decays like a power of : the moment exists. Refuses to decay: it does not.
Medians over hundreds of replications, the table above drawn on logarithmic axes.
Take per-decade ratios of the medians. If , then a factor of ten in multiplies the median by , so the implied index is .
| implied | ||||
|---|---|---|---|---|
| 1 | 0.218 | 0.212 | 0.209 | 2.96, 3.07, 3.12 |
| 2 | 0.464 | 0.444 | 0.435 | 3.00, 3.09, 3.13 |
| 3 | 0.819 | 0.793 | 0.771 | 3.29, 3.34, 3.38 |
| 4 | 0.997 | 0.985 | 0.881 | 4.01, 4.03, 4.23 |
The first two rows agree with each other on an index of about 3, from two different powers, which is the internal consistency check the method comes with. The generator was in fact a Pareto tail with , the value repeatedly measured on equity returns Gopikrishnan et al. (1998).
The fourth row does not decay: three decades of extra data move its median from 0.348 to 0.301 while the row falls by a factor of 11. Note what its implied index reads: 4.01, 4.03, 4.23, which is to say itself. A flat row always reports , because zero slope gives . That is the signature to look for, and it is why the fourth moment is the first one that does not exist here.
The row keeps falling, from 0.164 to 0.082, and its moment does not exist either. For a Pareto tail with ,
The moment diverges, logarithmically. Moments of order below exist and the boundary itself does not, and a logarithmic divergence is slow enough that the ratio still drifts down over any span of sample sizes we can simulate.
So a decaying row is not evidence that the moment exists. What separates the third row from the first two is not that it fails to decay, it is that it fails to decay at a power rate: its implied index is 3.29 and rising rather than settling, where the honest rows sit flat near 3. Reading the boundary correctly means noticing a drift in a second derivative, and that is not something to bet a capital number on.
The practical rule that survives this: the largest whose implied index is stable and agrees with the smaller powers is a lower bound on , and the smallest whose implied index reads back as is an upper bound. Here that brackets between 2 and 4, and the agreement of the first two rows puts it near 3. A bracket of that width is what this method actually delivers, and pretending otherwise would repeat the mistake it was built to avoid.
A median of 0.346 with a tenth percentile of 0.133 and a ninetieth of 0.820 means one sample tells us close to nothing. The ratio's own distribution is heavy, which is not a surprise: it is a functional of the largest observation, so it inherits the pathology it is measuring. Two consequences follow and both are operational.
Never read a single number. The diagnostic is the slope across sample sizes, not the value at one. Run it on nested prefixes of the same sample, , , , , and look at the trajectory.
Use the median, not the mean. In the table above the mean at , is 0.414 against a median of 0.348, and the mean is the noisier of the two by a wide margin because a single replication can land near 1. Across replications the medians have bootstrap standard errors of a few parts in a thousand where the means wander.
The dispersion also caps what the method can claim. A bracket of between 2 and 4, which is roughly what the table supports, is not much narrower than what a Hill estimator gives, and the two disagree in a useful way: the Hill estimate on the same kind of data can be tight and wrong, because a threshold pushed into the body biases it downward while the quoted standard error shrinks Weron (2001). This diagnostic has no threshold to push, so it is honest about its own width. Being visibly imprecise is a feature when the alternative is being invisibly biased.
Independence. The rates above all assume iid draws. Volatility clustering makes large observations arrive in bursts, which inflates the maximum relative to the sum at any given and biases the diagnostic toward declaring moments nonexistent.
It sees the sample, not the population. Every real quantity is truncated somewhere, and a truncated power law has all its moments. What the table measures is the behaviour of the observed range, which is the same limitation every tail method has, stated without a fitted parameter to hide it in.
It gives a bracket, not a number. Anything downstream that needs to two decimal places is not going to get it from here. It is not going to get it from anywhere else either, which is the more useful finding.
If the largest observation still owns a third of the total after a million draws, what exactly did the sample average of the fourth power converge to?
Moments of order below three exist and nothing at or above three does. The and columns fall at the predicted rate and both imply an index near 3.0; the column's median moves only from 0.348 to 0.301 across three decades of sample size, where the column falls by a factor of 11.
Thuztra Learn teaches the maths of quant finance from zero, in short lessons, for readers who are unsure of it. Three questions in the app build your quant roadmap, free. Membership is a paid subscription. See what Thuztra Learn is and what it costs, or see the whole Core quant curriculum.
Get the app and answer the three questions:
Download on the Microsoft Store Download for Android