A finite-sample quantity¶
For finite real observations with , define the fraction strictly above a finite threshold by
Here is the local name for the threshold in the shared notation. describes the observations; describes a population law. The symbol without a hat denotes a sample sum elsewhere.
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.
Use exceedance_fraction, empirical_survival_function.
from xmath import exceedance_fraction
from xmath.incerto.stats import empirical_survival_function
sample = [1, 2, 2, 4]
fractions = [exceedance_fraction(sample, u) for u in (0, 2, 4)]
print("Fractions: [" + ", ".join(f"{v:.4g}" for v in fractions) + "]")
support, survival = empirical_survival_function(sample)
print("Support: [" + ", ".join(f"{v:.4g}" for v in support) + "]")
print("Strict survival: [" + ", ".join(f"{v:.4g}" for v in survival) + "]")Output
Fractions: [1, 0.25, 0]
Support: [1, 2, 4]
Strict survival: [0.75, 0.25, 0]Ties form one jump.
The same fixed-sample calculation is available as
uv run python demos/incerto/exceedances.py.
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.
The calculation uses a fixed synthetic sample; it needs no external data.
CDF, survival, and ties¶
Use the right-continuous convention . Its complement is , even when has atoms. For the empirical law that assigns mass to each observation,
We prove this identity by partitioning the observations into and . The alternative count with adds the empirical mass at ; it is not the complement of this CDF.
| Threshold for | Fraction | ||
|---|---|---|---|
| 1 | 1 | ||
| 2 | |||
| 4 | 1 | 0 |
The runnable example above uses
empirical_survival_function.
The chapter-2 demo, uv run python demos/incerto/glossary_worked_cases.py,
draws the steps. Rank plotting positions with a nonzero
last ordinate are a different plotting convention.
What iid sampling adds¶
Now assume are iid from , and fix a nonrandom threshold . Put . Each indicator has and because . Independence makes the cross-covariances zero. Consequently,
These are exact finite-sample identities, proved by summing the indicators. For any fixed , Chebyshev’s inequality gives , which tends to zero. No moment assumption on is needed: the indicators are bounded. This argument is pointwise in a fixed ; it proves neither a uniform-in-threshold theorem nor consistency of an unbounded payoff average.
Source context¶
The chapter 2 guide maps SCoFT v4 §2.1, pp. 7–8, and §2.2.27, p. 19, to these conventions Taleb, 2025. The displayed empirical indicator in the latter section points in the survival direction; our CDF uses and our survival uses . The counting and sampling arguments above are proved here independently of that source presentation.
- Taleb, N. N. (2025). Statistical Consequences of Fat Tails (3rd ed.). https://arxiv.org/abs/2001.10488v4