Integrates the conditional TV bound over \(\alpha \sim \text{Gamma}(a, b)\) to obtain the marginal error bound.
Usage
expected_tv_bound(J, a, b, cJ = log(J), M = .QUAD_NODES_DEFAULT)Details
From Corollary 1 of RN-05, the TV error between the exact prior predictive \(p(S_J | a, b)\) and the A1 shifted NegBin proxy is bounded by: $$d_{TV}(P^{\text{exact}}, Q^{A1}) \le E_{\alpha \sim \Gamma(a,b)}[B_{\text{Pois}} + B_{\text{lin}}]$$
This follows from the mixture contraction property of TV distance.