Beliakov, Gleb. “Fast Computation of Trimmed Means”.
Journal of Statistical Software, Code Snippets
, vol. 39, no. 2, Mar. 2011, pp. 1-6, doi:10.18637/jss.v039.c02.