All Formulas Flashcards
1
Q
How to find P(A) - 4
A
- Define sample space Ω
- Determine probabilities for each ω in Ω, if all outcomes are equally likely then P(ω) = 1/N
- Determine which outcomes belong to A
- Compute P(A) by Summing all Probabilities of outcomes which belong to A
2
Q
Addition rule - 1
A
- P(A u B) = P(A) + P(B) - P(A n B)
3
Q
Addition rule disjoint events - 3
A
- Two events are disjoint if they cannot happen at the same time.
- A n B = ø
- P(A u B) = P(A) + P(B)
4
Q
Complement (and complement rule) - 2
A
- The complement of A (A bar or Ac) is the set of outcomes which is not in A
- P(A bar) = 1 - P(A)
5
Q
Conditional probability - 3
A
- The probability of B occurs after A has occurred
- P(B|A) = P(A n B) / P(A)
- !!! P(B|A) ≠ P(A|B)
6
Q
Multiplication rule - 1
A
- P(A n B) = P(A) * P(B|A)
7
Q
Independence - 2
A
- Two events A and B are independent if P(A n B) = P(A) * P(B)
- Independence ≠ Disjointness
8
Q
Complement of at least one - 1
A
- P(at least one occurence of … ) = 1 - P(no occurence of … )
9
Q
Simple law of total probability - 2
A
- A and B are two events
- P(B) = P ( B ∩ A ) + P ( B ∩ A bar ) = P ( B | A ) · P ( A ) + P ( B | A bar ) · P ( A bar )
10
Q
Bayes’ Theorem - 3
A
- P(A|B)= P(B|A)·P(A) / P(B|A)·P(A)+P(B|A bar)·P(A bar).
- P(B|A) + P(B bar | A) = 1
- P(B|A) + P(B|A bar ) ≠ 1
11
Q
Law of total probability - 2
A
- A1, … , Am is a partition
- P(B) = Sum(m, i = 1) P(B ∩ Ai ) = Sum(m, i = 1) P(B|Ai ) · P(Ai ).
12
Q
Find probability distribution of discrete random variable - 5
A
- Determine sample space of probability experiment and probabilities of each outcome
- List numerical values X(ω) for ω ∈ Ω
- For each numerical value x of X find collection of simple events which have particular numerical value x {X = x} = {ω : X(ω) = x}
- use P({w}) determine probability of event {X = x}
P(X =x)= P({ω : X(ω) =x})= sum(ω:X (ω)=x) P({ω} - Tabulate results with left column with all values x of X and a column with probabilities P(X = x)
13
Q
Expected value (expectation/mean) - 3
A
- X is a discrete random variable
- Expected value of X is weighted average of the possible values of X
- μ = sum(k, i = 1) xi * P(X = xi)
14
Q
Variance and SD of X - 2
A
- σ^2 =Var(X) = sum(k, i = 1) (xi −μ)^2 2 * P (X =xi).
- σ = SD(X) = √Var(X)
15
Q
Normal distribution formula - 1
A
- p(x) = 1 / σ(√2π) * e^(-(1/2) * ( (x-μ) /σ )^2