Avoiding over-trimming with the trimmed Harrell-Davis quantile estimator


Update: this blog post is a part of research that aimed to build a statistically efficient and robust quantile estimator. A paper with final results is available in Communications in Statistics - Simulation and Computation (DOI: 10.1080/03610918.2022.2050396). A preprint is available on arXiv: arXiv:2111.11776 [stat.ME]. Some information in this blog post can be obsolete: please, use the official paper as the primary reference.

Previously, I already discussed the trimmed modification of the Harrell-Davis quantile estimator several times. I performed several numerical simulations that compare the statistical efficiency of this estimator with the efficiency of the classic Harrell-Davis quantile estimator (HDQE) and its winsorized modification; I showed how we can improve the efficiency using custom trimming strategies and how to choose a good trimming threshold value.

In the heavy-tailed cases, the trimmed HDQE provides better estimations than the classic HDQE because of its higher breakdown point. However, in the light-tailed cases, we could get efficiency that is worse than the baseline Hyndman-Fan Type 7 (HF7) quantile estimator. In many cases, such an effect arises because of the over-trimming effect. If the trimming percentage is too high or if the evaluated quantile is too far from the median, the trimming strategy based on the highest-density interval may lead to an estimation that is based on single order statistics. In this case, we get an efficiency level similar to the Hyndman-Fan Type 1-3 quantile estimators (which are also based on single order statistics). In the light-tailed case, such a result is less preferable than Hyndman-Fan Type 4-9 quantile estimators (which are based on two subsequent order statistics).

In order to improve the situation, we could introduce the lower bound for the number of order statistics that contribute to the final quantile estimations. In this post, I look at some numerical simulations that compare trimmed HDQEs with different lower bounds.

Simulation design

The basic settings for the simulation are the same ones that were used in the previous post. However, now we are going to compare the following quantile estimators:

Let’s look at the results!

N=2

With N=2, HD, THD|0.5|Min2, and THD|0.5|Min3 work the same way: all of them always use both sample elements, unlike THD|0.5|Min1 that can use only a single element. Obviously, THD|0.5|Min1 “wins” when we evaluate lower quantiles of heavy-tailed distributions because of its higher robustness level. Unfortunately, it provides poor median estimations in the light-tailed cases.

N=3

With N=3, HD and THD|0.5|Min3 still work the same way (both of them always use all sample elements). THD|0.5|Min2 and THD|0.5|Min1 works pretty good on lower quantiles of heavy-tailed distributions and not-so-good with light-tailed distributions. However, THD|0.5|Min2 shows better results than THD|0.5|Min1 because it always uses at least two order statistics.

N=4, N=5, N=10, N=20

With N>3, all considered quantile estimators show different efficiency levels. We can see that all trimmed HDQEs work better than the classic HDQE in the heavy-tailed case and worse than the classic HDQE in the light-tailed case. However, there is a noticeable difference between different trimmed HDQEs on small light-tailed samples: THD|0.5|Min3 performs better than THD|0.5|Min1 and THD|0.5|Min2.

Conclusion

The choice of a quantile estimator is always a trade-off between robustness and efficiency. Specifying a lower bound for the number of target order statistics in the trimmed HDQE is one of the ways to control this trade-off. As we can see from the above simulations, such a trick could improve the statistical efficiency of trimmed HDQE in the light-tailed case by reducing the statistical efficiency in the heavy-tailed cases (meanwhile, it still keeps a better robustness level than the classic HDQE).


References (5)

  1. Improving the efficiency of the Harrell-Davis quantile estimator for special cases using custom winsorizing and trimming strategies (2021-05-25) 2 3 Mathematics Statistics Research
  2. Optimal threshold of the trimmed Harrell-Davis quantile estimator (2021-07-20) 3 6 Mathematics Statistics Research
  3. Trimmed modification of the Harrell-Davis quantile estimator (2021-03-30) 3 11 Mathematics Statistics Research
  4. Winsorized modification of the Harrell-Davis quantile estimator (2021-03-02) 1 8 Mathematics Statistics Research
  5. Efficiency of the winsorized and trimmed Harrell-Davis quantile estimators (2021-04-06) 4 6 Mathematics Statistics Research
  1. Quantile estimators based on k order statistics, Part 5: Improving trimmed Harrell-Davis quantile estimator (2021-08-31) 7 3 Mathematics Statistics Research