Skip to contents

Computes an upper bound on the TV distance between two Poisson distributions, \(\text{Poisson}(\lambda_J(\alpha))\) and \(\text{Poisson}(\alpha c_J)\), using the Poisson-Poisson KL divergence together with Pinsker's inequality.

Usage

compute_linearization_bound(J, alpha, cJ = log(J))

Arguments

J

Integer; sample size.

alpha

Numeric; concentration parameter (vectorized).

cJ

Numeric; scaling constant (default: log(J)).

Value

Numeric; upper bound via Pinsker's inequality.

Details

Let \(\lambda = \lambda_J(\alpha)\) (exact shifted mean) and \(\lambda' = \alpha c_J\) (A1 approximate mean).

The KL divergence is: $$KL(\text{Poisson}(\lambda) || \text{Poisson}(\lambda')) = \lambda \log(\lambda/\lambda') + \lambda' - \lambda$$

By Pinsker's inequality: $$d_{TV}(\text{Poisson}(\lambda), \text{Poisson}(\lambda')) \le \sqrt{KL/2}$$

Numerical safeguards handle edge cases where \(\lambda\) or \(c_J\) is zero.

References

Lee, J. (2026). Design-Conditional Prior Elicitation for Dirichlet Process Mixtures. arXiv preprint arXiv:2602.06301.

Examples

if (FALSE) { # \dontrun{
# Linearization bound for J=50, alpha=1
compute_linearization_bound(J = 50, alpha = 1)

# Effect of J on linearization bound (should decrease)
sapply(c(25, 50, 100, 200), function(J)
  compute_linearization_bound(J, alpha = 2))

} # }