Learn R Programming

pgdraw (version 1.1)

Generate Random Samples from the Polya-Gamma Distribution

Description

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.

Copy Link

Version

Install

install.packages('pgdraw')

Monthly Downloads

1,067

Version

1.1

License

GPL (>= 3)

Maintainer

Daniel F. Schmidt

Last Published

February 19th, 2019

Functions in pgdraw (1.1)

pgdraw.moments

Compute exact first and second moments for the Polya-Gamma distribution, PG(b, c)
pgdraw-package

The pgdraw package
pgdraw

Generate random samples from the Polya-Gamma distribution, PG(b,c)