Likelihood-ratio Chernoff bounds and finite-family MLE #
This module proves the Bhattacharyya / likelihood-ratio Chernoff bound for discrete distributions
and uses it to bound the Hellinger estimation error of maximum likelihood estimation (MLE) over a
finite family of models, building on CslibFrontier.Probability.Hellinger (see [Can22] and
[Tsy09] for background; the discrete finite-family likelihood-ratio Chernoff and MLE
formulations below are proved in this library).
Main definitions #
Cslib.Probability.HypothesisSelection.mle: maximum likelihood estimator over a nonempty finite family of distributions indexed bys : Finset ι.Cslib.Probability.HypothesisSelection.mleFin: finite specialization indexed byFin M.
Main results #
Cslib.Probability.PMF.toOuterMeasure_le_bhattacharyya: single-sample likelihood-ratio tail bound(p.toOuterMeasure {a | p a ≤ q a}).toReal ≤ bhattacharyya p q.Cslib.Probability.PMF.toOuterMeasure_iid_le_bhattacharyya_pow:n-fold i.i.d. likelihood-ratio Chernoff bound((iid p n).toOuterMeasure {x | iid p n x ≤ iid q n x}).toReal ≤ bhattacharyya p q ^ n.Cslib.Probability.PMF.toOuterMeasure_iid_le_exp_hellingerDist: exponential Hellinger form≤ Real.exp (-n * hellingerDist p q ^ 2).Cslib.Probability.HypothesisSelection.mle_hellingerDist_gt_le,Cslib.Probability.HypothesisSelection.mleFin_hellingerDist_gt_le: MLE overMcandidate models returns a model within Hellinger radiusrexcept with probability at most(M - 1) * Real.exp (-n * r ^ 2)when the true model lies in the family.
References #
- Clément L. Canonne, Topics and Techniques in Distribution Testing, Appendix B
(March 10, 2024 draft; cited for background Hellinger inequalities in
Hellinger.lean). - Alexandre B. Tsybakov, Introduction to Nonparametric Estimation (full text not inspected; cited at book level for divergence/Hellinger background).
Weighted single-sample likelihood-ratio bound: the p-probability of {a | c * p a ≤ q a}
is at most bhattacharyya p q / √c for every c > 0.
Single-sample likelihood-ratio Chernoff bound: (p.toOuterMeasure {a | p a ≤ q a}).toReal ≤ bhattacharyya p q.
Real-valued form of the single-sample likelihood-ratio Chernoff bound.
Weighted n-fold i.i.d. likelihood-ratio Chernoff bound: for c > 0,
((iid p n).toOuterMeasure {x | c * (iid p n x).toReal ≤ (iid q n x).toReal}).toReal ≤ bhattacharyya p q ^ n / √c.
The n-fold i.i.d. likelihood-ratio Chernoff bound:
((iid p n).toOuterMeasure {x | iid p n x ≤ iid q n x}).toReal ≤ bhattacharyya p q ^ n.
Product form of the n-fold i.i.d. likelihood-ratio Chernoff bound.
Real-valued product form of the n-fold i.i.d. likelihood-ratio Chernoff bound.
Exponential upper bound on the n-th power of the Bhattacharyya coefficient:
bhattacharyya p q ^ n ≤ Real.exp (-n * hellingerSq p q).
Exponential Hellinger form of the n-fold i.i.d. likelihood-ratio Chernoff bound in terms of
hellingerSq.
Exponential Hellinger form of the n-fold i.i.d. likelihood-ratio Chernoff bound in terms of
hellingerDist: ((iid p n).toOuterMeasure {x | iid p n x ≤ iid q n x}).toReal ≤ Real.exp (-n * hellingerDist p q ^ 2).
Maximum likelihood estimator over a nonempty finite family of distributions models indexed by
s : Finset ι. Returns an index i ∈ s maximizing iid (models i) n x.
Sharp Bhattacharyya sum bound for MLE over a finite family when the true model models i₀
lies in s: the probability of selecting a model outside Hellinger radius r ≥ 0 is at most
the sum of bhattacharyya (models i₀) (models j) ^ n over j ∈ s.erase i₀ beyond radius r.
Maximum likelihood estimation over s (|s| = M) returns a model within Hellinger radius
r ≥ 0 (strict failure r < h) except with probability at most (M - 1) * exp (-n * r ^ 2).
MLE over M models (M > 0) returns a model within Hellinger radius r ≥ 0 except with
probability at most (M - 1) * Real.exp (-n * r ^ 2) when models i₀ generates the samples.
Sample complexity of mleFin: n ≥ log (M / δ) / r ^ 2 suffices for mleFin to succeed
within Hellinger radius r > 0 with failure probability at most δ > 0.