28 | | Note also that the documentation for the `percent_rank` function in the [https://www.sqlite.org/windowfunctions.html#built_in_window_functions SQLite] and [https://www.postgresql.org/docs/15/functions-window.html PostgreSQL] database backends does '''not''' mention "percentile rank". Instead, they use the term "relative rank." |
| 28 | Both of these definitions are also used e.g. by [https://github.com/scipy/scipy/blob/dde50595862a4f9cede24b5d1c86935c30f1f88a/scipy/stats/_stats_py.py#L2182 scipy]. |
| 29 | |
| 30 | The latter definition is similar to that in the Django docs, but still subtly different in the denominator. |
| 31 | |
| 32 | Note also that the documentation for the `percent_rank` function in the [https://www.sqlite.org/windowfunctions.html#built_in_window_functions SQLite] and [https://www.postgresql.org/docs/15/functions-window.html PostgreSQL] database backends does '''not''' mention "percentile rank" at all. Instead, they use the term '''"relative rank."''' |