<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Thank you Markus!</p>
<div id="signature">---<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace"> </div>
</div>
<p><br /></p>
<p id="reply-intro">On 2021-01-23 21:20, Markus Metz wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div dir="ltr">
<div><br /><br />On Fri, Jan 22, 2021 at 2:51 PM <<a href="mailto:nik@nikosalexandris.net" rel="noreferrer">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" target="_blank" rel="noopener noreferrer">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> </div>
<div>HTH,</div>
<div> </div>
<div>Markus M</div>
<div> </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" target="_blank" rel="noopener noreferrer">https://en.wikipedia.org/wiki/Percentile</a><br />> - <a href="https://math.stackexchange.com/q/2048470/445399" target="_blank" rel="noopener noreferrer">https://math.stackexchange.com/q/2048470/445399</a><br />><br />> _______________________________________________<br />> grass-dev mailing list<br />> <a href="mailto:grass-dev@lists.osgeo.org" rel="noreferrer">grass-dev@lists.osgeo.org</a><br />> <a href="https://lists.osgeo.org/mailman/listinfo/grass-dev" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/grass-dev</a></div>
</div>
</div>
</blockquote>
</body></html>