[SciPy-Dev] Name for Page's L test

Robert Kern robert.kern at gmail.com
Tue Jan 5 12:10:54 EST 2021


On Tue, Jan 5, 2021 at 11:53 AM Warren Weckesser <warren.weckesser at gmail.com>
wrote:

> Hey all,
>
> Matt Haberland has implemented Page's L test in the pull request
> https://github.com/scipy/scipy/pull/12531.  I'd like to merge the PR,
> but Ralf has suggested that the name, `pagel`, is "a terrible name",
> and has suggested `page_test` or `page_l_test`. (See the comments at
> https://github.com/scipy/scipy/pull/12531#pullrequestreview-447123727.)
> Matt's reasoning for `pagel` is that it is consistent with the style
> used for many other tests in stats.  I don't have a strong preference,
> and when that happens in such a case, I tend to go with the original
> author's preference.  I think Ralf prefers to have "test" in the name.
> Some existing tests do, but many others don't.
>
> Anyone else have an opinion?  Either about this specific case, or
> about the general question of  objective criteria for a "good" name?
>

Wikipedia suggests that it is also known as Page's trend test, which might
make for a more informative function name.

https://en.wikipedia.org/wiki/Page%27s_trend_test

-- 
Robert Kern
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.python.org/pipermail/scipy-dev/attachments/20210105/2167ab8a/attachment.html>


More information about the SciPy-Dev mailing list