Skip to content

Update reference to 'Weighted quantile estimators' #8898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 1, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions xarray/core/weighted.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
method supported by this weighted version corresponds to the default "linear"
option of ``numpy.quantile``. This is "Type 7" option, described in Hyndman
and Fan (1996) [2]_. The implementation is largely inspired by a blog post
from A. Akinshin's [3]_.
from A. Akinshin's (2023) [3]_.

Parameters
----------
Expand Down Expand Up @@ -122,7 +122,8 @@
.. [1] https://notstatschat.rbind.io/2020/08/04/weights-in-statistics/
.. [2] Hyndman, R. J. & Fan, Y. (1996). Sample Quantiles in Statistical Packages.
The American Statistician, 50(4), 361–365. https://doi.org/10.2307/2684934
.. [3] https://aakinshin.net/posts/weighted-quantiles
.. [3] Akinshin, A. (2023) "Weighted quantile estimators" arXiv:2304.07265 [stat.ME]
https://arxiv.org/abs/2304.07265
"""


Expand Down