S1 DAPR1 lecture 7: probability rules and conditional
Studied by 3 people
0.0(0)
LearnA personalized and smart learning plan
Practice TestTake a test on your terms and definitions
Spaced RepetitionScientifically backed study method
Matching GameHow quick can you match all your cards?
FlashcardsStudy terms and definitions
1 / 17
There's no tags or description
Looks like no one added any tags here yet for you.
18 Terms
1
3 rules of probability
1. for any event the probability must fall between 0 and 1. 2. the sum of the probabilities of all the possible outcomes = 1. 3. probability of the complement of A (not A, A^c)
New cards
2
meaning of 0 ≤ P(A) ≥ 1
for any event the probability must fall between 0 and 1
New cards
3
meaning of: P(A1) +... P(Ai) = 1
the sum of all the probabilities of all possible outcomes = 1
New cards
4
meaning of : **P(~A) = 1 (minus) P(A)**
probability of the complement of A (not A, A^c)
New cards
5
for all events: P(A union B) =
P(A) + (PB) - P(A n B)
New cards
6
for mutually exclusive events P(A n B) =
0
New cards
7
therefore fir mutually exclusive events P (A union B) =
P(A) + P(B)
New cards
8
if A and B occur independently (one doesn’t affect the other), then the probability of A and B occurring together can be found using the following equation:
P(A n B) = P(A)P(B)
New cards
9
multiplication rule for conditional probabilities
P(A n B) = P(A)P(B|A) = P(B n A) = P(B)P(A|B)
New cards
10
P(A|B) meaning
probability of B given A (has occurred)
New cards
11
division rule for conditional probabilities
P(B|A) = P(A n B)/P(A); Or the inverse: P(A|B) = P(A n B)/P(B)
New cards
12
Bayes rule
a formula for conditional probability when P(A n B) is not known
New cards
13
how is Bayes formula derived?
same as division equation but replace P(A n B) with P(B)P(A|B)
New cards
14
Bayes formula:
P(B|A) = P(A|B)P(B) / P(A)
New cards
15
how to asses if events are independent
use the multiplication rule and contingency tables. tabulate the proportions and think about probabilities, assume all events are independent then calculate the expected frequencies (products of the 2 probabilities)
New cards
16
therefore, if variables are independent
the probabilities given that something for each should be the same
New cards
17
if variables are not independent
the given that probabilities will be different - determining that the event in the conditional probability has an impact on the probability, meaning that it is not independent.
New cards
18
how is it useful for statistical test
this forms the fundamental background principles of the chi-squared test of independence - allows us to determine if 2 categorical variables of nominal data or dependent or not