<div dir="ltr"><div><br><br>On Fri, Jan 22, 2021 at 2:51 PM <<a href="mailto:nik@nikosalexandris.net">nik@nikosalexandris.net</a>> wrote:<br>><br>> Hi devs,<br>><br>> does the default `percentiles=50` in `r.stats.quantile` equal to the<br>> median?<br>> Is the definition exclusive or inclusive?<br><br>The median is commonly defined as the 50% percentile, the "middle" item of a sorted dataset. See<br><a href="https://en.wikipedia.org/wiki/Median">https://en.wikipedia.org/wiki/Median</a><br><br></div><div>In GRASS, calculations of the median and the 50% percentile are identical.</div><div><br></div><div>HTH,</div><div><br></div><div>Markus M<br></div><div><br></div><div> <br>><br>><br>> Thank you for any insight, Nikos<br>> --<br>><br>> See also<br>> - <a href="https://en.wikipedia.org/wiki/Percentile">https://en.wikipedia.org/wiki/Percentile</a><br>> - <a href="https://math.stackexchange.com/q/2048470/445399">https://math.stackexchange.com/q/2048470/445399</a><br>><br>> _______________________________________________<br>> grass-dev mailing list<br>> <a href="mailto:grass-dev@lists.osgeo.org">grass-dev@lists.osgeo.org</a><br>> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></div></div>