Counts of independent events #
The number of independent coordinates belonging to prescribed measurable sets has a Poisson-binomial law. Both the coordinate laws and the sets may vary. In particular, counting real coordinates below a threshold supplies the distribution function of an order statistic without requiring identical distributions or excluding atoms.
The construction uses Mathlib's hasLaw_indicator_one_bernoulliMeasure and the independent
Bernoulli-sum characterization iIndepFun.hasLaw_sum_poissonBinomialMeasure.
References #
- Y. H. Wang, “On the number of successes in independent trials”, Statistica Sinica 3 (1993), 295–312.
The number of independent coordinates belonging to their prescribed measurable sets has the Poisson-binomial law with success probabilities given by the coordinate event masses. The coordinate spaces, laws, and sets may all vary with the index.
Under a product of probability laws, counting coordinates in prescribed measurable sets gives the Poisson-binomial law of their event masses. Empty products give the count zero.