Quoto

Courses / Information theory

Mutual information

9 cards2 min readStatistics

Card 1 of 9
  1. Idea: Zero correlation, full information

    Calm days return or , wild days or . The correlation with the regime is zero.

    • Yet one look at the return reveals the regime
    • Correlation sees only straight-line links
  2. Formula: Mutual information

    The drop in doubt about Y once you know X. Zero exactly when X and Y are independent.

  3. Formula: The fastest form by hand

    Symmetric in X and Y. It also equals .

  4. Example: A signal that is often silent

    A move is up or down with . On half the days a signal reports it exactly; otherwise it is silent. Find .

    1. and
    2. equal cells of :
  5. Idea: Half a bit makes sense

    Half the days reveal the full bit, the rest nothing: .

    • A feed that loses a share of messages loses that share of
  6. Quick check: The regime from a return

    Each regime has chance , each sign , and the size of the return gives the regime away. What is in bits?

    Show the answer

    Answer:

    and , so bit.

  7. Idea: Hard to estimate

    bins per series make cells; days leave about day per cell.

    • The plug-in estimate is biased upward
    • Shuffle one series and rerun the same estimator
  8. Common mistake: Over-reading the numbers

    Zero correlation does not mean independence, and a measured value above does not prove dependence.

    Instead On a finite sample the estimate is almost never exactly : compare it with shuffled data.

  9. Idea: Say it in an interview

    The drop in entropy of one variable once you know the other.

    • Symmetric
    • Catches nonlinear links
    • Hard to estimate from short samples