Reversed signs in proof on pp. 314-315?

Open
#465 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Quiet
Domain
documentation

Research direction

The issue points to two Overthinking boxes in the book text: pp. 212 and 314-315. Start by comparing how the KL divergence D_KL(q, p) and entropy H(q, p) are defined in each, to confirm the sign reversal. Done means the proof on pp. 314-315 uses the same sign convention as the earlier definitions, and the Gaussian maximum-entropy argument still reads correctly. Check with the maintainer which convention they want before editing.

Written by the indexing model from the issue text.

Description

Maybe I'm just being dull, but it seems there's an error (or at least a discrepancy) in the proof that the maximum entropy continuous distribution defined on the whole real line with a given variance is the Gaussian, which appears in the Overthinking box on pp. 314-315.

The definitions of Dₖₗ(q, p) and H(q, p) in this proof seem to reverse the signs of the ones given earlier in the book (see, e.g., the Overthinking box on p. 212). Because both are reversed, the proof still goes through, but it's harder to follow than it might otherwise be.

Dominant language
R
Stars
2.4k
Forks
632
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rmcelreath/rethinking

All issues in rmcelreath/rethinking

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.