Learn / Library / Statistics
KL in bits
A posterior over states is . An approximation is . Compute , the KL divergence of from , in bits. Answer as a fraction in lowest terms.
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Each ratio is a power of , so every log is a whole number.
Solution
- The ratios are , , , , with logs , , , .
- Weighting by gives .
- The divergence is bits, so the answer is .
Answer: