pgdraw: Generate Random Samples from the Polya-Gamma Distribution

Generates random samples from the Polya-Gamma distribution using an implementation of the algorithm described in J. Windle's PhD thesis (2013) <>. The underlying implementation is in C.

Version: 1.1
Imports: Rcpp (≥ 0.12.16)
LinkingTo: Rcpp
Published: 2019-02-19
DOI: 10.32614/CRAN.package.pgdraw
Author: Daniel F. Schmidt [aut, cph, cre], Enes Makalic [aut, cph]
Maintainer: Daniel F. Schmidt < at>
License: GPL (≥ 3)
NeedsCompilation: yes
Citation: pgdraw citation info
In views: Distributions
CRAN checks: pgdraw results


Reference manual: pgdraw.pdf


Package source: pgdraw_1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): pgdraw_1.1.tgz, r-oldrel (arm64): pgdraw_1.1.tgz, r-release (x86_64): pgdraw_1.1.tgz, r-oldrel (x86_64): pgdraw_1.1.tgz
Old sources: pgdraw archive

Reverse dependencies:

Reverse imports: bayesreg, keyATM, spBFA, UPG
Reverse suggests: horseshoenlm


Please use the canonical form to link to this page.