Under construction. A new version of this site is being built. Everything here still works: records still verify and contributions are still accepted.

open-liber-primus · statistics

Descriptive statistics

Each figure shows one statistic of the ciphertext for every section, next to what uniformly random runes of the same length give and what English gives. A measured point outside the random interval is a property of that section worth explaining.

measured (verified record)random runes, central 95%English (solved plaintext)solved section (its ciphertext)
Figure 1. ioc. Index of coincidence, normalised so uniform random text gives about 1.0 (English runes: about 1.7-1.8). Error bars: central 95% of 120 seeded random-rune sequences of each section's length; diamonds: mean over 16 windows of the solved plaintext. Sections under 50 runes: n/a.
0.811.21.41.61.82iocsection0section 0 · 184 runes measured: not yet random runes, 95%: 0.93 to 1.09 English: 1.81section 1 · 515 runes measured: not yet random runes, 95%: 0.978 to 1.03 English: 1.82section 2 · 157 runes measured: not yet random runes, 95%: 0.907 to 1.08 English: 1.773section 3 · 778 runes measured: not yet random runes, 95%: 0.985 to 1.02 English: 1.84section 4 · 755 runes measured: not yet random runes, 95%: 0.982 to 1.02 English: 1.85section 5 · 319 runes measured: not yet random runes, 95%: 0.961 to 1.06 English: 1.816section 6 · 89 runes measured: not yet random runes, 95%: 0.874 to 1.22 English: 1.757section 7 · 729 runes measured: 0.988 (seg07-ioc) random runes, 95%: 0.982 to 1.03 English: 1.88section 8 · 1,145 runes measured: 1 (seg08-ioc) random runes, 95%: 0.988 to 1.01 English: 1.799section 9 · 1,729 runes measured: 0.999 (seg09-ioc) random runes, 95%: 0.993 to 1.01 English: 1.7910n/a11section 11 · 1,894 runes measured: 1 (seg11-ioc) random runes, 95%: 0.993 to 1.01 English: 1.7812section 12 · 1,021 runes measured: 0.994 (seg12-ioc) random runes, 95%: 0.987 to 1.02 English: 1.7913section 13 · 1,524 runes measured: 0.992 (seg13-ioc) random runes, 95%: 0.992 to 1.01 English: 1.7914section 14 · 1,589 runes measured: 0.996 (seg14-ioc) random runes, 95%: 0.992 to 1.01 English: 1.7915section 15 · 3,316 runes measured: 0.999 (seg15-ioc) random runes, 95%: 0.997 to 1.01 English: 1.7816section 16 · 85 runes measured: not yet random runes, 95%: 0.869 to 1.18 English: 1.7517section 17 · 95 runes measured: not yet random runes, 95%: 0.864 to 1.16 English: 1.76

Not yet measured: sections 0, 1, 2, 3, 4, 5, 6, 16, 17. (one record each)

Figure 2. doublets. How many adjacent pairs are the same rune (expected about (n-1)/29 for random text). Plotted as doublets × 29 / (n − 1), so that random runes give 1 and sections of any length compare. Error bars: central 95% of 120 seeded random-rune sequences of each section's length; diamonds: mean over 16 windows of the solved plaintext. Sections under 50 runes: n/a.
00.511.522.5doublet rate (random runes = 1)section0section 0 · 184 runes measured: not yet random runes, 95%: 0.475 to 1.74 English: 0.7531section 1 · 515 runes measured: 0.903 (seg01-doublets) random runes, 95%: 0.564 to 1.47 English: 0.7372section 2 · 157 runes measured: not yet random runes, 95%: 0.372 to 1.86 English: 0.723section 3 · 778 runes measured: not yet random runes, 95%: 0.709 to 1.31 English: 0.7514section 4 · 755 runes measured: not yet random runes, 95%: 0.654 to 1.38 English: 0.7485section 5 · 319 runes measured: 0.821 (seg05-doublets) random runes, 95%: 0.456 to 1.64 English: 0.7476section 6 · 89 runes measured: not yet random runes, 95%: 0 to 2.31 English: 0.7217section 7 · 729 runes measured: 0.159 (seg07-doublets) random runes, 95%: 0.677 to 1.47 English: 0.7448section 8 · 1,145 runes measured: 0.152 (seg08-doublets) random runes, 95%: 0.71 to 1.29 English: 0.7519section 9 · 1,729 runes measured: 0.151 (seg09-doublets) random runes, 95%: 0.772 to 1.29 English: 0.75310n/a11section 11 · 1,894 runes measured: 0.153 (seg11-doublets) random runes, 95%: 0.766 to 1.29 English: 0.75112section 12 · 1,021 runes measured: 0.313 (seg12-doublets) random runes, 95%: 0.625 to 1.34 English: 0.74613section 13 · 1,524 runes measured: 0.248 (seg13-doublets) random runes, 95%: 0.819 to 1.24 English: 0.7514section 14 · 1,589 runes measured: 0.219 (seg14-doublets) random runes, 95%: 0.749 to 1.28 English: 0.74815section 15 · 3,316 runes measured: 0.184 (seg15-doublets) random runes, 95%: 0.84 to 1.18 English: 0.74916section 16 · 85 runes measured: 0.69 (seg16-doublets) random runes, 95%: 0 to 2.07 English: 0.73417section 17 · 95 runes measured: not yet random runes, 95%: 0.309 to 2.16 English: 0.713

Not yet measured: sections 0, 2, 3, 4, 6, 17. (one record each)

Figure 3. unigram_distance to uniform. How far the region's rune frequencies are from a reference, in bits (KL divergence): params {"to": "uniform"} (0 for perfectly flat; English text is about 0.45) or {"to": "english"} (0 for English-like frequencies). Test a claim about it with a null of random runes: --null K high --null-model uniform. Error bars: central 95% of 120 seeded random-rune sequences of each section's length; diamonds: mean over 16 windows of the solved plaintext. Sections under 50 runes: n/a.
00.20.40.60.8unigram_distance to uniform (bits)section0section 0 · 184 runes measured: not yet random runes, 95%: 0.0552 to 0.171 English: 0.7111section 1 · 515 runes measured: not yet random runes, 95%: 0.024 to 0.0643 English: 0.642section 2 · 157 runes measured: not yet random runes, 95%: 0.0679 to 0.22 English: 0.7123section 3 · 778 runes measured: not yet random runes, 95%: 0.0148 to 0.0467 English: 0.6244section 4 · 755 runes measured: not yet random runes, 95%: 0.0163 to 0.0424 English: 0.6265section 5 · 319 runes measured: not yet random runes, 95%: 0.0339 to 0.0991 English: 0.6676section 6 · 89 runes measured: not yet random runes, 95%: 0.139 to 0.384 English: 0.7897section 7 · 729 runes measured: not yet random runes, 95%: 0.0168 to 0.0465 English: 0.6268section 8 · 1,145 runes measured: not yet random runes, 95%: 0.00948 to 0.0263 English: 0.6129section 9 · 1,729 runes measured: not yet random runes, 95%: 0.00704 to 0.0188 English: 0.60110n/a11section 11 · 1,894 runes measured: not yet random runes, 95%: 0.0061 to 0.0167 English: 0.612section 12 · 1,021 runes measured: not yet random runes, 95%: 0.0104 to 0.0328 English: 0.61413section 13 · 1,524 runes measured: not yet random runes, 95%: 0.00828 to 0.0227 English: 0.60514section 14 · 1,589 runes measured: not yet random runes, 95%: 0.00714 to 0.0194 English: 0.60315section 15 · 3,316 runes measured: not yet random runes, 95%: 0.00322 to 0.00938 English: 0.59216section 16 · 85 runes measured: not yet random runes, 95%: 0.136 to 0.411 English: 0.79517section 17 · 95 runes measured: not yet random runes, 95%: 0.121 to 0.383 English: 0.777

Not yet measured: sections 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17. (one record each)

Figure 4. unigram_distance to english. How far the region's rune frequencies are from a reference, in bits (KL divergence): params {"to": "uniform"} (0 for perfectly flat; English text is about 0.45) or {"to": "english"} (0 for English-like frequencies). Test a claim about it with a null of random runes: --null K high --null-model uniform. Error bars: central 95% of 120 seeded random-rune sequences of each section's length; diamonds: mean over 16 windows of the solved plaintext. Sections under 50 runes: n/a.
00.511.522.5unigram_distance to english (bits)section0section 0 · 184 runes measured: not yet random runes, 95%: 1.01 to 1.66 English: 0.1341section 1 · 515 runes measured: not yet random runes, 95%: 1.01 to 1.5 English: 0.06752section 2 · 157 runes measured: not yet random runes, 95%: 0.931 to 1.76 English: 0.1483section 3 · 778 runes measured: not yet random runes, 95%: 1.06 to 1.45 English: 0.0474section 4 · 755 runes measured: not yet random runes, 95%: 1.07 to 1.43 English: 0.0495section 5 · 319 runes measured: not yet random runes, 95%: 0.977 to 1.57 English: 0.0956section 6 · 89 runes measured: not yet random runes, 95%: 0.896 to 2.11 English: 0.2247section 7 · 729 runes measured: not yet random runes, 95%: 1.06 to 1.42 English: 0.0518section 8 · 1,145 runes measured: not yet random runes, 95%: 1.06 to 1.39 English: 0.03529section 9 · 1,729 runes measured: not yet random runes, 95%: 1.09 to 1.35 English: 0.024810n/a11section 11 · 1,894 runes measured: not yet random runes, 95%: 1.11 to 1.34 English: 0.022812section 12 · 1,021 runes measured: not yet random runes, 95%: 1.07 to 1.42 English: 0.038513section 13 · 1,524 runes measured: not yet random runes, 95%: 1.09 to 1.37 English: 0.027614section 14 · 1,589 runes measured: not yet random runes, 95%: 1.11 to 1.36 English: 0.026615section 15 · 3,316 runes measured: not yet random runes, 95%: 1.11 to 1.28 English: 0.016716section 16 · 85 runes measured: not yet random runes, 95%: 0.877 to 2.1 English: 0.23217section 17 · 95 runes measured: not yet random runes, 95%: 0.916 to 2.09 English: 0.207

Not yet measured: sections 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17. (one record each)

Figure 5. repeated_ngrams. How many n-grams (params["n"], default 3) repeat one seen earlier in the region. Random runes give few; a periodic key over English plaintext gives more (the Kasiski signal). Test with --null K high --null-model uniform. Error bars: central 95% of 120 seeded random-rune sequences of each section's length; diamonds: mean over 16 windows of the solved plaintext. Sections under 50 runes: n/a.
02004006008001,000repeated_ngramssection0section 0 · 184 runes measured: not yet random runes, 95%: 0 to 2 English: 27.71section 1 · 515 runes measured: not yet random runes, 95%: 1 to 10 English: 1492section 2 · 157 runes measured: not yet random runes, 95%: 0 to 3 English: 20.83section 3 · 778 runes measured: not yet random runes, 95%: 7 to 20 English: 2684section 4 · 755 runes measured: not yet random runes, 95%: 5 to 18 English: 2585section 5 · 319 runes measured: not yet random runes, 95%: 0 to 6 English: 72.16section 6 · 89 runes measured: not yet random runes, 95%: 0 to 1 English: 7.627section 7 · 729 runes measured: not yet random runes, 95%: 5 to 17 English: 2468section 8 · 1,145 runes measured: not yet random runes, 95%: 17 to 37 English: 4629section 9 · 1,729 runes measured: not yet random runes, 95%: 44 to 78 English: 80710n/a11section 11 · 1,894 runes measured: not yet random runes, 95%: 56 to 85 English: 91112section 12 · 1,021 runes measured: not yet random runes, 95%: 11 to 30 English: 39313section 13 · 1,524 runes measured: not yet random runes, 95%: 34 to 57 English: 68214section 14 · 1,589 runes measured: not yet random runes, 95%: 38 to 64 English: 72015section 15 · 3,316 runes measured: not yet random runes, 95%: 189 to 23716section 16 · 85 runes measured: not yet random runes, 95%: 0 to 1 English: 6.8117section 17 · 95 runes measured: not yet random runes, 95%: 0 to 1 English: 8.56

Not yet measured: sections 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17. (one record each)

Figure 6. adjacent_mi. Mutual information, in bits, of the pairs (r[i], r[i + lag]) (params {"lag": k, default 1, "offdiag": true by default: pairs of equal runes are dropped, so a doublet rule cannot count}). Under any fixed substitution (monoalphabetic, homophonic, a keyword alphabet: each cipher rune stands for one plaintext letter) the value is at least the plaintext's own, because the plaintext is a function of the ciphertext (about 0.8 bits for English runes at lag 1). Independent runes give only the small-sample bias, about 28^2 / (2 n ln 2) bits (0.09 at 13,000 runes, 1.1 at 500), so compare with a null: --null K high. Error bars: central 95% of 120 seeded random-rune sequences of each section's length; diamonds: mean over 16 windows of the solved plaintext. Sections under 50 runes: n/a.
01234adjacent_misection0section 0 · 184 runes measured: 1.64 (measure-seg00-adjacent-mi) random runes, 95%: 2.11 to 2.35 English: 1.781section 1 · 515 runes measured: not yet random runes, 95%: 1.16 to 1.28 English: 1.292section 2 · 157 runes measured: 2.06 (measure-seg02-adjacent-mi) random runes, 95%: 2.23 to 2.49 English: 1.893section 3 · 778 runes measured: 1.26 (measure-seg03-adjacent-mi) random runes, 95%: 0.82 to 0.949 English: 1.134section 4 · 755 runes measured: 1.21 (measure-seg04-adjacent-mi) random runes, 95%: 0.846 to 0.961 English: 1.155section 5 · 319 runes measured: not yet random runes, 95%: 1.58 to 1.76 English: 1.56section 6 · 89 runes measured: 2.31 (measure-seg06-adjacent-mi) random runes, 95%: 2.69 to 3.14 English: 2.257section 7 · 729 runes measured: 0.917 (measure-seg07-adjacent-mi) random runes, 95%: 0.874 to 0.988 English: 1.168section 8 · 1,145 runes measured: 0.605 (measure-seg08-adjacent-mi) random runes, 95%: 0.59 to 0.684 English: 1.019section 9 · 1,729 runes measured: 0.394 (measure-seg09-adjacent-mi) random runes, 95%: 0.391 to 0.461 English: 0.91610n/a11section 11 · 1,894 runes measured: 0.387 (measure-seg11-adjacent-mi) random runes, 95%: 0.358 to 0.421 English: 0.89712section 12 · 1,021 runes measured: 0.627 (measure-seg12-adjacent-mi) random runes, 95%: 0.65 to 0.755 English: 1.0513section 13 · 1,524 runes measured: 0.438 (measure-seg13-adjacent-mi) random runes, 95%: 0.44 to 0.512 English: 0.94214section 14 · 1,589 runes measured: 0.465 (measure-seg14-adjacent-mi) random runes, 95%: 0.426 to 0.5 English: 0.93115section 15 · 3,316 runes measured: 0.227 (measure-seg15-adjacent-mi) random runes, 95%: 0.217 to 0.251 English: 0.83216section 16 · 85 runes measured: not yet random runes, 95%: 2.68 to 3.19 English: 2.2817section 17 · 95 runes measured: not yet random runes, 95%: 2.66 to 3.05 English: 2.21

Not yet measured: sections 1, 5, 10, 16, 17. (one record each)

Curiosity above all. Nobody here is paid, ranked or promised anything. The Liber Primus is worked on because it is interesting: a careful dead end, an odd statistic, a better tool, a good question, all count. Bring your curiosity; the checker keeps us honest.