Exact simulation of a large sample histogram
Statement
Say I want to create a histogram of random points from some simple compactly supported distribution on , where is very large, say . The histogram has disjoint bins, where is a more reasonable number like or . Obviously it's not feasible for me to directly draw Monte Carlo samples from my distribution and bin them up to form the histogram. However, it seems to me that there might be some correct method which works by sampling the number of points in each bin, one at a time, for a total of only samples. I'm looking for some help finding such a method.
The number of points in each bin is a binomial random variable with parameters that can easily be calculated by integrating the distribution over the bin interval. So if I have a good way to simulate binomial random variables with large means, I can simulate the number of points in each bin using only Monte Carlo draws of a binomial random variable.
The problem is that the total counts in the bins are correlated by the constraint that they must add up to . My method will produce a random number of total counts which will almost certainly not be .
I can think of a …
Posed by Paul · pr.probability, st.statistics, na.numerical-analysis, binomial-distribution
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-98240.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/mo-98240.lean
import Mathlib /-! # Exact simulation of a large sample histogram Source: https://mathoverflow.net/questions/98240 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_mo_98240 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_98240