Re: r.stats.quantile: does the 50th percentile equal to the median?

Markus Metz <[email protected]>
Newsgroups gmane.comp.gis.grass.devel
Message-ID <CAG+h=FHMEj8NBpFG4T_LSKQxrOhXFhaBNs1LubV9sUsc_CAwDg@mail.gmail.com>
On Fri, Jan 22, 2021 at 2:51 PM <[email protected]> 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
> [email protected]
> https://lists.osgeo.org/mailman/listinfo/grass-dev

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.