simshadows

Probability and Statistics Cheatsheet

Probabilities Arithmetic

P(Ac)=1P(A) P(A^c) = 1 - P(A)

P(AB)=P(AB)P(B) P(A|B) = \frac{P(A \cap B)}{P(B)}

P(AB)=P(A)+P(B)P(AB)Addition Rulex \MathOverLabel{\textbf{Addition Rule}}{% P(A \cup B) = P(A) + P(B) - P(A \cap B) }


If A1,,AnA_1, \dots, A_n partition a sample space and BB is an event in the same space, then:

P(B)=i=1nP(BAi)P(Ai)Multiplication Rulex \MathOverLabel{\textbf{Multiplication Rule}}{% P(B) = \sum_{i=1}^n{P(B|A_i) \, P(A_i)} }

P(AjB)=P(BAj)P(Aj)i=1nP(BAi)P(Ai)Bayes’ Rulex \MathOverLabel{\textbf{Bayes' Rule}}{% P\parens{A_j|B} = \frac{ P\parens{B|A_j} \, P\parens{A_j} }{ \displaystyle \sum_{i=1}^n{P\parens{B|A_i} \, P\parens{A_i}} } }