The entropy of the oracle
How much information each method gives, in bits
Compare the entropy of each method bar by bar and separate the yin and yang value from the movement.
Shannon entropy, H = minus the sum of p·log₂p, measures information in bits. A uniform hexagram is exactly 6 bits, the maximum for 64 states. But not every method gives the same: a line of coins has more entropy than a yarrow one, and the whole difference is in the movement (old or young), because the pure yin/yang value is exactly 1 bit in both. On the first page of that 1948 article the word bit appears for the first time.
light = yin/yang value (1 bit in both) · solid = movement (old/young)
Chaining consultations (the Markov chain), the equilibrium distribution of the coins is uniform and keeps the 6 bits; that of the yarrow skews to yin and drops to 4.8677 bits = 6·H(1/4). The ancient method not only changes where the series tends, but how much information it retains.
How many bits does it cost to transmit one line with the best possible code? Huffman's, built by the site (not hard-wired), gives an expected length of 1.875 bits with coins (30/16) and 1.8125 bits with yarrow (29/16). The finding: the ancient method not only has less entropy, it also compresses better. And both satisfy Shannon's source coding theorem: H ≤ L < H+1, the optimal length stays within one bit of the entropy.
A uniform hexagram is exactly 6 bits (the maximum for 64 states); a line of coins has 1.8113 bits and a yarrow one 1.7490, and the difference of 0.0623 lives entirely in the movement, because the yin/yang value is 1 bit in both.
verificar_entropia · source: Shannon, 1948The stationary distribution of the yarrow chain has 4.8677 = 6 H(1/4) bits, against the 6 of the uniform one of the coins.
verificar_entropia · source: Shannon, 1948The optimal Huffman code of one line gives an expected length of 30/16 = 1.875 bits with coins and 29/16 = 1.8125 with yarrow: the ancient method has less entropy and also compresses better, satisfying H <= L < H+1.
verificar_entropia · source: Shannon, 1948The types of claim and the full bibliography (APA) are in Foundations.
