Quoto

Learn / Library / Probability

Entropy of book events

ProbabilityEasy

Each change in an order book is one of event kinds with probabilities , , , and . What is the Shannon entropy of the event kind in bits? Give a fraction.

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Each probability is a power of , so every logarithm is a whole number.

Solution
  1. The surprises are , , , and bits.
  2. Weighting them gives .

Answer: