An infinite weird RV useful in Bayesian Binomial regression (and maybe other things?) (Polson, Scott, and Windle 2013). C&C the optimization-driven approach to a similar problem in Gumbel-max tricks.
See also my former colleague, Louis Tiao, A Primer on Pólya-gamma Random Variables - Part II: Bayesian Logistic Regression.
Gregory Gunderson, in Pólya-Gamma Augmentation, explains the problem we are trying to solve.
…in logistic regression, the dependent variables are assumed to be i.i.d. from a Bernoulli distribution with parameter
, and therefore the likelihood function is The observations interact with the response through a linear relationship with the log-odds, If we solve for in (2), we get and a likelihood of Due to this functional form, Bayesian inference for logistic regression is intractable.
Using Pólya-Gamma RVs we devise an auxiliary variable sample.