A finite-sample quantity¶
For finite real observations with , define the fraction strictly above a finite threshold by
The strict inequality matters when an observation equals the threshold. For at , only the last observation contributes, so the fraction is . Counting observations greater than or equal to 2 would give and answer a different question.
What the count establishes¶
Each indicator is either zero or one, so . If , every observation exceeding also exceeds . Therefore . These statements follow directly from counting; they are exact finite-sample arguments.
The helper xmath.exceedance_fraction implements this convention. From a checkout,
run uv run python demos/incerto/exceedances.py to obtain fractions 1, ,
and 0 at thresholds 0, 2, and 4. The observations are synthetic and fixed.
A zero count above 4 does not establish that a population cannot exceed 4. Inference about an unseen population requires sampling and modeling assumptions that this example deliberately leaves unspecified. The Normix sample instead starts with an explicitly defined random-variable model.
This is an original worked derivation for the foundation, with no imported wiki text or external data.