Changes between Initial Version and Version 1 of Ticket #34325


Ignore:
Timestamp:
Feb 9, 2023, 8:27:10 AM (20 months ago)
Author:
dennisvang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34325 – Description

    initial v1  
    2424}}}
    2525
    26 However, none exactly matches the definition in the Django docs.
     26(equivalent to `(CF - F) / N`)
    2727
    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."
     28Both of these definitions are also used e.g. by [https://github.com/scipy/scipy/blob/dde50595862a4f9cede24b5d1c86935c30f1f88a/scipy/stats/_stats_py.py#L2182 scipy].
     29
     30The latter definition is similar to that in the Django docs, but still subtly different in the denominator.
     31
     32Note 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."'''
    2933
    3034To prevent confusion, wouldn't it be better to use the same terminology as the database backends?
Back to Top