Zipf–Mandelbrot (8-bit)

Zipf exponent, vocabulary richness, frequency decay
distributionaldim Linguistic5 metrics

What It Measures

How the frequencies of byte values decay from most-common to least-common.

Counts the frequency of each of the 256 possible byte values, sorts them from most to least common, and fits the Zipf-Mandelbrot law: does frequency drop off as a power of rank? Natural language follows Zipf's law closely (the 2nd most common word appears half as often as the 1st). Random data has flat frequency — no decay. This geometry characterizes the "vocabulary" structure of the byte stream.

Metrics

zipf_alpha

The Zipf exponent: how steeply does frequency decay with rank? Alpha = 0 means flat (all bytes equally common). Alpha = 1 is Zipf's law (natural language). Poker hands (3.87) and Collatz gap lengths (3.62) score highest — extremely steep decay, a few values dominate completely. Sensor event streams (3.04) are similarly top-heavy. Collatz parity scores 0.0 (two values only, not enough for a power-law fit).

zipf_r_squared

How well does the Zipf-Mandelbrot model actually fit? De Bruijn (1.0) scores perfect: its uniform distribution is a trivial special case (alpha = 0, perfect fit). Divisor count (0.99) and logistic near-full chaos (0.99) also fit well. Collatz parity scores 0.0 (too few unique values). A high alpha with low r_squared means the signal is concentrated but not in a power-law way — useful for distinguishing genuine Zipf behavior from arbitrary concentration.

mandelbrot_q

The Mandelbrot offset parameter: how much do the low ranks deviate from pure Zipf? Large q means the most common values are less dominant than Zipf would predict — the top of the frequency curve is flattened. Solar wind IMF, Solar wind speed, and Sunspot all score 10.0 (maximum q — their distributions have a plateau at the top before the power-law tail kicks in). Logistic chaos and constants score 0.0.

gini_coefficient

Income-inequality measure applied to byte frequencies. 0.0 means perfect equality (all bytes equally common). 1.0 means maximal inequality (one byte gets all the count). Rainfall (0.97), Forest fire (0.95), and Neural net pruned (0.94) are the most unequal — a handful of values dominate. Constants score 0.0 (only one value — no inequality when there is only one entity).

hapax_ratio

Fraction of distinct byte values that appear exactly once (hapax legomena). Rainfall (0.31), Accel sit (0.30), and EEG tumor (0.26) score highest — many byte values appear only once, indicating a sparse tail. Logistic chaos, Henon map, and Tent map score 0.0 (chaotic maps visit enough values often enough that none are unique). High hapax ratio signals have "rare words" — a linguistic fingerprint of sparse, heavy-tailed data.

Atlas Rankings

gini_coefficient
SourceDomainValue
Rainfall (ORD Hourly)climate0.9667
Forest Fireexotic0.9519
Neural Net (Pruned 90%)binary0.9375
···
Constant 0xFFnoise0.0000
Constant 0x00noise0.0000
Logistic r=3.2 (Period-2)chaos0.0000
hapax_ratio
SourceDomainValue
Rainfall (ORD Hourly)climate0.3058
Accel Sitmotion0.2975
EEG Tumormedical0.2612
···
Logistic Chaoschaos0.0000
Henon Mapchaos0.0000
Tent Mapchaos0.0000
mandelbrot_q
SourceDomainValue
Solar Wind IMFastro10.0000
Solar Wind Speedastro10.0000
Sunspot Numberastro10.0000
···
Logistic Chaoschaos0.0000
Constant 0x00noise0.0000
Constant 0xFFnoise0.0000
zipf_alpha
SourceDomainValue
Poker Handsexotic3.8710
Collatz Gap Lengthsnumber_theory3.6218
Sensor Event Streamexotic3.0399
···
Constant 0xFFnoise0.0000
Constant 0x00noise0.0000
Collatz Paritynumber_theory0.0000
zipf_r_squared
SourceDomainValue
De Bruijn Sequencenumber_theory1.0000
Divisor Countnumber_theory0.9901
Logistic r=3.9 (Near-Full Chaos)chaos0.9860
···
Constant 0xFFnoise0.0000
Constant 0x00noise0.0000
Collatz Paritynumber_theory0.0000

When It Lights Up

Zipf-Mandelbrot (8-bit) is the framework's vocabulary profiler at single-byte resolution. The combination of alpha (decay steepness), r_squared (fit quality), and gini (concentration) gives a three-dimensional characterization of the frequency curve that entropy alone collapses to a single number. In the atlas, rainfall and forest fire cluster together on the high-gini, high-alpha, high-hapax corner — both are "natural language-like" in having a few dominant values and a long sparse tail. PRNGs and De Bruijn occupy the opposite corner: flat frequencies, low gini, zero hapax.

Open in Atlas
← Fisher InformationZipf–Mandelbrot (16-bit) →