The product estimator #
A product ∏ k, r k of numbers in (0, 1] can be estimated one factor at a time when each
factor is close to the probability of an event A k under a distribution μ k that can be
sampled. Draw a independent samples from each μ k, take the fraction of them that lie in A k
(Cslib.Probability.PMF.empiricalFrequency), and multiply these fractions over the stages
(Cslib.Probability.PMF.productEstimate). This is how [LP17], Section 14.4.2, reduces
approximate counting of colorings to sampling.
The stages are independent, so the mean and the second moment of the product are the products of
the stage means and second moments (Cslib.Probability.PMF.sum_pi_mul_prod). The fraction of a
samples in an event of probability p has mean p and second moment p² + p (1 - p) / a. If
every r k is at least b > 0 and a is large compared with n / b, where n is the number of
stages, the relative variance of the product is small, and Chebyshev's inequality gives the
concentration bound Cslib.Probability.PMF.le_toOuterMeasure_productEstimate.
Main definitions #
Cslib.Probability.PMF.empiricalFrequency: the fraction of a sample that lies in an event.Cslib.Probability.PMF.productEstimate: the product of the stage frequencies.
Main results #
Cslib.Probability.PMF.sum_pi_mul_prod: the mean of a product of coordinate functions under an independent product is the product of the means.Cslib.Probability.PMF.sum_pi_mul_sum_sq: the second moment of a sum of i.i.d. terms.Cslib.Probability.PMF.sum_pi_mul_empiricalFrequency,Cslib.Probability.PMF.sum_pi_mul_empiricalFrequency_sq: the mean and the second moment of an empirical frequency.Cslib.Probability.PMF.sum_pi_mul_productEstimate,Cslib.Probability.PMF.sum_pi_mul_productEstimate_sq: the mean and the second moment of the product estimator.Cslib.Probability.PMF.le_toOuterMeasure_productEstimate: if every stage probability is within relative errorε / (6 n)ofr k ≥ b > 0and48 n ≤ 5 η ε² a b, then the product estimator is within relative errorεof∏ k, r kwith probability at least1 - η.
References #
- [LP17], Section 14.4.2 (proof of Theorem 14.14).
The mean of a product of coordinate functions under the independent product pi p is the
product of their means.
The second moment of a sum of |ι| i.i.d. copies of g:
|ι| E[g²] + |ι| (|ι| - 1) (E g)².
The fraction of the samples x 0, …, x (a - 1) that lie in A (0 when a = 0).
The empirical frequency of A among a > 0 i.i.d. samples is an unbiased estimator of the
probability of A.
The second moment of the empirical frequency of an event of probability P among a > 0
i.i.d. samples is P² + P (1 - P) / a.
The product estimator: the product over the stages k of the empirical frequency of
A k among the a samples x k.
The product estimator with independent stages is an unbiased estimator of the product of the stage probabilities.
The second moment of the product estimator with independent stages.
Concentration of the product estimator. Let n = |κ| be the number of stages. Suppose
stage k draws a independent samples from μ k, the probability of A k under μ k is within
relative error ε / (6 n) of r k ≥ b > 0, 0 < ε ≤ 1, 0 < η and 48 n ≤ 5 η ε² a b. Then the
product estimator lies within relative error ε of ∏ k, r k with probability at least
1 - η. This is the second-moment argument of [LP17], proof of Theorem 14.14, for
general stages.