[GRASS-dev] r.stats.quantile: does the 50th percentile equal to the median?

nik at nikosalexandris.net nik at nikosalexandris.net
Sat Jan 23 18:22:34 PST 2021


Thank you Markus!

---

On 2021-01-23 21:20, Markus Metz wrote:

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


More information about the grass-dev mailing list