Probability & Discrete Random Variables Flashcards
P(A) = (complex)
- P(A) = P(A ∩ B) + P(A ∩ Bc)
- Probability of A = probability of A & B and probability of A and not B
P(A ∪ B) =
- P(A ∪ B) = P(A) + P(B) - P(A ∩ B)
- Intersection must be subtracted because it is counted twice (think Venn)
P(A|B) =
P(A|B) = ( P(A ∩ B) ) / P(B)
When are two events independent?
Two events are independent if P(A|B) = P(A) or P(B|A) = P(B)
If A and B are independent then….
- P(A ∩ B) = P(A)*P(B)
- Then P(A|B)
- = [P(A ∩ B)] / P(B)
- = [P(A)*P(B)] / P(B)
- = P(A)
What are joint probabilities?
- The joint likelihood of fulfilling multiple criteria
- i.e intersections
- Marginal Probabilities
What are marginal probabilities?
- The probability of a single event occuring given information about joint probabilities
- Computed by adding A1 A2 or B1 B2 etc. rule 1
- P(A1) = P(A1 ∩ B1) + P(A1 ∩ B2)
- P(B2) = P(B2 ∩ A1) + P(B2 ∩ A2)
What is the multiplication rule used for?
If A and B are not independent, use this rule to find P(A ∩ B)
What is the multiplication rule?
- P(A ∩ B) = P(A|B) * P(B)
- and P(A ∩ B) = P(B|A) * P(A)
What is the multiplication rule for independent events?
- If A and B are independent, the probability of A and B is equal to the probability of A times the probability of B
- P(A ∩ B) = P(A)P(B)
How is marginal probability calculated using the multiplication rule?
- P(A ∩ B) = P(A|B1) * P(B1) + P(A|B2) * P(B2) + … + P(A|Bk) * P(Bk)
- Where B1,B2,…,Bn are k mutually exclusive and collectively exhaustive events
How is independence determined for conditional probabilities?
If independent, P(A given B) = P(A)
What is the 1st counting rule?
- Determines the number of possible outcomes for a set of mutually exclusive and collectively exhaustive events
- If any one of k different mutually exclusive and collectively exhaustive events can occur on each of n trials, the number of possible outcomes is equal to k^n
What is the 2nd counting rule?
- More general version of the first and allows the number of possible events to differ from trial to trial
- If there are k1 events on the first trial, k2 events on the second trial, … , and kn events on the nth trial, then the number of possible outcomes is (k1)(k2)…(kn)
What is the 3rd counting rule?
- Involves computing the number of ways that a set of items can be arranged in order
- n! = (n)(n - 1) … (1)
- 0! is defined as 1