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 4, 2024
1 parent 91d870b commit e5a5927
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 4 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
@@ -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="kingaa@umich.edu",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
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
1 change: 1 addition & 0 deletions TODO.md
Expand Up @@ -4,6 +4,7 @@

## For pomp:

- YAML interface
- "Getting Started" vignette:
- ~~finish discussion of smoothing and hindcasting~~
- include discussion of forecasting
Expand Down
7 changes: 7 additions & 0 deletions inst/NEWS
@@ -1,5 +1,12 @@
_N_e_w_s _f_o_r _p_a_c_k_a_g_e '_p_o_m_p'

_C_h_a_n_g_e_s _i_n '_p_o_m_p' _v_e_r_s_i_o_n _5._7._0:

• More changes in C codes to forestall issues detected by
‘rchk’.

• Minor corrections to documentation.

_C_h_a_n_g_e_s _i_n '_p_o_m_p' _v_e_r_s_i_o_n _5._6._1:

• Minor corrections to documentation.
Expand Down
6 changes: 6 additions & 0 deletions inst/NEWS.Rd
@@ -1,5 +1,11 @@
\name{NEWS}
\title{News for package `pomp'}
\section{Changes in \pkg{pomp} version 5.7.0}{
\itemize{
\item More changes in C codes to forestall issues detected by \pkg{rchk}.
\item Minor corrections to documentation.
}
}
\section{Changes in \pkg{pomp} version 5.6.1}{
\itemize{
\item Minor corrections to documentation.
Expand Down
2 changes: 2 additions & 0 deletions man/macros/citations.Rd
@@ -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 e5a5927

Please sign in to comment.