Conditional probability#
P(E | F) = P(E ∩ F) / P(F), P(F) ≠ 0 - probability of E given that F has occurred.
Multiplication rule: P(E ∩ F) = P(E) P(F | E) = P(F) P(E | F).
Independent events: P(E ∩ F) = P(E) P(F) (then P(E | F) = P(E)). Independent ≠ mutually exclusive.
सप्रतिबंध प्रायिकता P(E | F) = P(E ∩ F)/P(F) - यानी F के घटित होने पर E की प्रायिकता। स्वतंत्र घटनाओं के लिए P(E ∩ F) = P(E) × P(F)।
Total probability and Bayes' theorem#
If E₁, E₂, …, Eₙ partition the sample space:
- Total probability: P(A) = Σ P(Eᵢ) P(A | Eᵢ).
- Bayes' theorem: P(Eᵢ | A) = P(Eᵢ) P(A | Eᵢ) / Σ P(Eⱼ) P(A | Eⱼ).
Bag I has 3 red, 4 black; Bag II has 5 red, 6 black. A bag is chosen at random and a red ball drawn. P(Bag I | red) = (½ × 3/7) / (½ × 3/7 + ½ × 5/11) = (3/7)/(3/7 + 5/11) = 33/68.
Random variable and distribution#
A random variable X assigns a number to each outcome. Its probability distribution lists values xᵢ with P(xᵢ), where ΣP = 1.
- Mean (expectation) E(X) = Σ xᵢ P(xᵢ).
Two coins tossed, X = number of heads: P(0) = 1/4, P(1) = 1/2, P(2) = 1/4. E(X) = 0 + 1/2 + 2/4 = 1.
बेज़ प्रमेय से परिणाम देखकर कारण की प्रायिकता निकाली जाती है - जैसे लाल गेंद निकली तो वह पहले थैले से होने की प्रायिकता। यादृच्छिक चर का माध्य E(X) = Σ xP(x)।
Exam tips#
- In Bayes' questions, first list P(Eᵢ) and P(A | Eᵢ) in a small table - fewer mistakes.
- Check ΣP = 1 to find unknown k in a probability distribution.