Nit: 0.36 bits/letter seems way off. I suspect you only counted the contribution of the letter E from the above table (-p log2 p for E’s frequency value is 0.355).
-p log2 p
Wow, I really failed to sanity-check that calculation. Fixed now, and thankyou!
I think you missed a follow-on edit:”Let’s unpack what that 0.36 bits means,”
Ah, yup, thankyou!
Nit: 0.36 bits/letter seems way off. I suspect you only counted the contribution of the letter E from the above table (
-p log2 p
for E’s frequency value is 0.355).Wow, I really failed to sanity-check that calculation. Fixed now, and thankyou!
I think you missed a follow-on edit:
”Let’s unpack what that 0.36 bits means,”
Ah, yup, thankyou!