Asmussen and Lehtomaa [Distinguishing log‐concavity from heavy tails. Risks 5(10), 2017] introduced an interesting function g which is able to distinguish between log‐convex and log‐concave tail behaviour of distributions, and proposed a randomized estimator for g. In this paper, we show that g can also be seen as a tool to detect gamma distributions or distributions with gamma tail. We construct a more efficient estimator ĝn based on U‐statistics, propose several estimators of the (asymptotic) variance of ĝn, and study their performance by simulations. Finally, the methods are applied to several data sets of daily precipitation.This article is protected by copyright. All rights reserved.