Package: pg 0.2.4

James Balamuta

pg: Polya Gamma Distribution Sampler

Provides access to a series of highly performant random distribution samplers for the Polya Gamma Distribution as described by Polson, Scott, and Windle (2013) <arxiv:1205.0310> using either 'C++' headers for 'Rcpp' or 'RcppArmadillo' and 'R'. The 'C++' header approach was developed to enable computations in Balamuta (2021) <https://www.ideals.illinois.edu/items/121209>.

Authors:James Balamuta [aut, cre, cph]

pg_0.2.4.tar.gz
pg_0.2.4.zip(r-4.5)pg_0.2.4.zip(r-4.4)pg_0.2.4.zip(r-4.3)
pg_0.2.4.tgz(r-4.4-x86_64)pg_0.2.4.tgz(r-4.4-arm64)pg_0.2.4.tgz(r-4.3-x86_64)pg_0.2.4.tgz(r-4.3-arm64)
pg_0.2.4.tar.gz(r-4.5-noble)pg_0.2.4.tar.gz(r-4.4-noble)
pg_0.2.4.tgz(r-4.4-emscripten)pg_0.2.4.tgz(r-4.3-emscripten)
pg.pdf |pg.html
pg/json (API)
NEWS

# Install 'pg' in R:
install.packages('pg', repos = c('https://tmsalab.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/tmsalab/pg/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

2.70 score 1 stars 5 scripts 165 downloads 9 exports 2 dependencies

Last updated 1 years agofrom:348b5d499e. Checks:OK: 9. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 05 2024
R-4.5-win-x86_64OKNov 05 2024
R-4.5-linux-x86_64OKNov 05 2024
R-4.4-win-x86_64OKNov 05 2024
R-4.4-mac-x86_64OKNov 05 2024
R-4.4-mac-aarch64OKNov 05 2024
R-4.3-win-x86_64OKNov 05 2024
R-4.3-mac-x86_64OKNov 05 2024
R-4.3-mac-aarch64OKNov 05 2024

Exports:pg_meanpg_varrpg_devroyerpg_gammarpg_hybridrpg_normalrpg_scalarrpg_sprpg_vector

Dependencies:RcppRcppArmadillo

Readme and manuals

Help Manual

Help pageTopics
Theoretical Polya Gamma Distribution's Mean and Variancepg_mean pg_var
Sample from the Polya Gamma distribution PG(h, z)rpg_devroye rpg_gamma rpg_hybrid rpg_normal rpg_scalar rpg_sp rpg_vector