The Simplest Way to Remember Bayes Rule

The Simplest Way to Remember Bayes Rule

Here is a way to remember Bayes rule, together with its source rule that relates joint probability to conditional probability. I believe it is simpler and more intuitive than other attempts you may find.

(Find the more stable version of this article on medium)

The Simplest Way to Remember Bayes Rule

Joint Probability Rule. The number of samples with both properties A & B, is equal to the number of samples B weighted by the fraction of them that have property A.

(The joint probability rule can also be written relative to the number of samples A, which directly leads us to Bayes' rule.)

Bayes Rule. The number of samples with both properties A & B, is equal to the number of samples B weighted by the fraction of them that have property A, is equal to the number of samples A weighted by the fraction of them that have property B.

That's all!

Recovering the Common Version

No alt text provided for this image

The key to making this naturally intuitive to remember is thinking in terms of numbers of samples (instead of probabilities), properties (instead of events), fractions (instead of conditional probabilities). Of course, this is just an aid, helping memorize the general form. Nevertheless, it is not wrong, instead it is a faithful example, taken from the discrete case.

The Simplest Way to Remember Bayes' Rule, for Visual Folks

Imagine a bag of shapes. A shape can be a square, an checkmark X, or a checked square.

No alt text provided for this image

The number of squares with a checkmark, derived from the total number of all squares (checkmark or not), is the number of all squares, weighted by the fraction of the them which are checked. Similarly, derived from the number of all checked shapes (square or not), it is the number of all checked shapes, weighted by the fraction of them which are squares.

If numerical examples help you, in this case, 3 = 6 * 1/2. That is, we have 3 checked squares, because we have 6 squares (checked or not) out of which 1/2 are checked.

Going from this to the Bayes' rule is trivial as explained in the previous section.

Other Attempts

Ljubo Mercep

Perception for Self-Driving Vehicles

2 年

Since I understood the rule as explaining away events, this was counter-intuitive, but that makes it even more interesting!

Ulrich Baum

?? Data applications work best in the Data Cloud ??

2 年

This is great Jad. I think, and this is not an overstatement, society as a whole would be better if more people would understand how Bayes Rule works.

要查看或添加评论,请登录

Jad Nohra的更多文章

  • LLMs and teaching, with a Zero-Knowledge-Proof example.

    LLMs and teaching, with a Zero-Knowledge-Proof example.

    In the early days of search engines, learning to write just the right query, could make the difference between finding…

    4 条评论
  • The World's Luckiest Enterpreneur

    The World's Luckiest Enterpreneur

    The luckiest couple in the world “A couple in Virginia, in the U.S.

    9 条评论
  • Creep Master's Halloween Note

    Creep Master's Halloween Note

    (For a nicer reading, listen to Salzburg Lullaby by Miguel Berkemeier) (Printable versions: Text Only, Illustrated )

    16 条评论
  • Bear me Wings, Jester

    Bear me Wings, Jester

    (For deeper engagement, read me while listening to J.H.

    6 条评论
  • It's a function, not a level

    It's a function, not a level

    I look at work operationally, as opposed to hierarchically. In the contexts which I found myself being in during my 20…

    13 条评论
  • The formal side of vacuous truth

    The formal side of vacuous truth

    A basic but interesting enough example of vacuous truth is the case of 'generalized' intersection of sets. In informal…

    4 条评论
  • Can a writing instrument affect problem solving ability?

    Can a writing instrument affect problem solving ability?

    Background story After years of studying math auto-didactically, with artefacts shared in my previous linkedin posts, I…

    21 条评论
  • My Uncle: The Communist

    My Uncle: The Communist

    My uncle, he was the best chess player, at least around my grandfather's house, where two other uncles lived, one…

    21 条评论
  • Take Their Brains, Then Their Jobs

    Take Their Brains, Then Their Jobs

    Continuing to think about my frosty self-experiment. I mentally went through a number of topics I use at work and that…

    29 条评论
  • Interview Brain Freeze: a Self-experiment

    Interview Brain Freeze: a Self-experiment

    Clueless Beginnings My first interview was in 2000, just after graduating. Since I had just obtained my Bachelor in one…

    30 条评论

社区洞察

其他会员也浏览了