Skip to content

Commit

Permalink
add proper reference to 'Weighted quantile estimators'
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreyAkinshin authored and kingaa committed Apr 1, 2024
1 parent 91d870b commit 361d4e3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: pomp
Type: Package
Title: Statistical Inference for Partially Observed Markov Processes
Version: 5.7.0.2
Date: 2024-03-31
Version: 5.7.0.3
Date: 2024-04-01
Authors@R: c(person(given=c("Aaron","A."),family="King",role=c("aut","cre"),email="[email protected]",comment=c(ORCID="0000-0001-6159-3207")),
person(given=c("Edward","L."),family="Ionides",role="aut",comment=c(ORCID="0000-0002-4190-0174")) ,
person(given="Carles",family="Bretó",role="aut",comment=c(ORCID="0000-0003-4695-4902")),
Expand Down
4 changes: 3 additions & 1 deletion R/wquant.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
##'
##' Estimate weighted quantiles.
##'
##' \code{wquant} estimates quantiles of weighted data using the estimator of Harrell & Davis (1982), with improvements recommended by Andrey Akinshin.
##' \code{wquant} estimates quantiles of weighted data using the estimator of Harrell & Davis (1982), with improvements recommended by Andrey Akinshin (2023).
##'
##' @param x numeric; a vector of data.
##' @param weights numeric; vector of weights.
Expand All @@ -23,6 +23,8 @@
##' @references
##' \Harrell1982
##'
##' \Akinshin2023
##'
## The discussion in Andrey Akinshin's blog post
## https://aakinshin.net/posts/weighted-quantiles/
## was instrumental in developing these codes.
Expand Down
2 changes: 2 additions & 0 deletions man/macros/citations.Rd
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
% unlike in latex, new lines within \newcommand end the command (even using %)

\newcommand{\Akinshin2023}{A. Akinshin. Weighted quantile estimators. arXiv:2304.07265, 2023. \doi{10.48550/arxiv.2304.07265}.}

\newcommand{\Anderson2001}{J.L. Anderson. An ensemble adjustment Kalman filter for data assimilation. \emph{Monthly Weather Review} \bold{129}, 2884--2903, 2001.}

\newcommand{\Andrieu2009}{C. Andrieu and G.O. Roberts. The pseudo-marginal approach for computation. \emph{Annals of Statistics} \bold{37}, 697--725, 2009.}
Expand Down
4 changes: 3 additions & 1 deletion man/wquant.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 361d4e3

Please sign in to comment.