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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.1 by Daniel F. Schmidt, 2 years ago

Browse source code at

Authors: Daniel F. Schmidt [aut, cph, cre] , Enes Makalic [aut, cph]

Documentation:   PDF Manual  

Task views:

GPL (>= 3) license

Imports Rcpp

Linking to Rcpp

Imported by UPG, bayesreg, keyATM, spBFA.

Suggested by horseshoenlm.

See at CRAN