Save
Week 5
Save
Share
Learn
Content
Leaderboard
Learn
Created by
Katherine Nam
Visit profile
Cards (24)
sample
space
(S)
the set of all possible outcomes of a random phenomenon
event
subset
of the sample space
S
union
(
A
∪
B
A \cup B
A
∪
B
)
the event that consists of all outcomes that belong to A or B or both
intersection
(
A
∩
B
A \cap B
A
∩
B
)
the event that consists of all outcomes common to
A
and
B
complement of A (
A
c
A^c
A
c
)
consists
of all
outcomes
that are not in
A
A
+
A +
A
+
A
c
=
A^c =
A
c
=
1
1
1
mutually exclusive/disjoint events
events that can never occur simultaneously
A
∩
B
=
A \cap B =
A
∩
B
=
0
0
0
probability of an event
the
proportion
of times that the event occurs in a long run of
trials
always between
0
and
1
axiom 1
P
(
A
)
≥
0
P(A) \ge 0
P
(
A
)
≥
0
axiom 2
P
(
S
)
=
P(S) =
P
(
S
)
=
1
1
1
axiom 3
if A and B are
mutually exclusive
,
P
(
A
∪
B
)
=
P(A \cup B) =
P
(
A
∪
B
)
=
P
(
A
)
+
P(A) +
P
(
A
)
+
P
(
B
)
P(B)
P
(
B
)
axiom 4
if
A
1
,
A
2
,
.
.
.
,
A
r
A_1, A_2, ... , A_r
A
1
,
A
2
,
...
,
A
r
are
pairwise mutually exclusive
(no two can occur simultaneously), then
P
(
A
1
∪
A
2
.
.
.
∪
A
r
)
=
P(A_1 \cup A_2 ... \cup A_r) =
P
(
A
1
∪
A
2
...
∪
A
r
)
=
P
(
A
1
)
+
P(A_1) +
P
(
A
1
)
+
P
(
A
2
)
+
P(A_2)+
P
(
A
2
)
+
.
.
.
+
... +
...
+
P
(
A
r
)
P(A_r)
P
(
A
r
)
additive law of probability (axiom 5)
for any 3 events A, B, C:
P
(
A
∪
B
∪
C
)
=
P(A\cup B \cup C) =
P
(
A
∪
B
∪
C
)
=
P
(
A
)
+
P(A) +
P
(
A
)
+
P
(
B
)
+
P(B) +
P
(
B
)
+
P
(
C
)
−
P
(
A
∩
B
)
−
P
(
A
∩
C
)
−
P
(
B
∩
C
)
+
P(C) - P(A\cap B) - P(A\cap C) - P(B \cap C) +
P
(
C
)
−
P
(
A
∩
B
)
−
P
(
A
∩
C
)
−
P
(
B
∩
C
)
+
P
(
A
∩
B
∩
C
)
P(A \cap B \cap C)
P
(
A
∩
B
∩
C
)
implications of the axioms
P
(
A
c
)
=
P(A^c) =
P
(
A
c
)
=
1
−
P
(
A
)
1 - P(A)
1
−
P
(
A
)
P
(
A
∪
B
)
=
P(A \cup B) =
P
(
A
∪
B
)
=
P
(
A
)
+
P(A) +
P
(
A
)
+
P
(
B
)
−
P
(
A
∩
B
)
P(B) - P(A \cap B)
P
(
B
)
−
P
(
A
∩
B
)
P
(
A
)
=
P(A) =
P
(
A
)
=
P
(
A
∩
B
)
+
P(A \cap B) +
P
(
A
∩
B
)
+
P
(
A
∩
B
c
)
P(A \cap B^c)
P
(
A
∩
B
c
)
when all outcomes in an experiment are equally likely
P
(
A
)
=
P(A) =
P
(
A
)
=
number of outcomes in A
total number of possible outcomes in S
\frac{\text{number of outcomes in A}}{\text{total number of possible outcomes in S}}
total number of possible outcomes in S
number of outcomes in A
two events A and B are called
independent
events if
P
(
A
∩
B
)
=
P(A \cap B) =
P
(
A
∩
B
)
=
P
(
A
)
P
(
B
)
P(A)P(B)
P
(
A
)
P
(
B
)
can mutually exclusive events be independent
no
because we know that if A happens, B for sure doesn't happen with
mutually exclusive
events
conditional
probability of A given B
P
(
A
∣
B
)
=
P(A |B) =
P
(
A
∣
B
)
=
P
(
A
∩
B
)
P
(
B
)
\frac{P(A \cap B)}{P(B)}
P
(
B
)
P
(
A
∩
B
)
when
P
(
B
)
>
0
P(B) > 0
P
(
B
)
>
0
partitioning a sample space
suppose that
B
1
,
B
2
,
.
.
.
,
B
n
B_1, B_2,... , B_n
B
1
,
B
2
,
...
,
B
n
are
mutually exclusive
events within a sample space, and that
B
1
∪
B
2
∪
.
.
.
∪
B
n
=
B_1 \cup B_2 \cup ... \cup B_n =
B
1
∪
B
2
∪
...
∪
B
n
=
S
S
S
then
B
1
,
B
2
,
.
.
.
,
B
n
B_1, B_2,... , B_n
B
1
,
B
2
,
...
,
B
n
are said to
partition
the sample space
S
for any event A, we have
P
(
A
)
=
P(A) =
P
(
A
)
=
∑
i
=
1
n
P
(
A
∩
B
i
)
\sum_{i = 1}^nP(A \cap B_i)
∑
i
=
1
n
P
(
A
∩
B
i
)
Bayes theorem
two events, A and B, on the same sample space S where
P(A)
>
0
P
(
B
∣
A
)
=
P(B |A) =
P
(
B
∣
A
)
=
P
(
B
)
P
(
A
∣
B
)
P
(
A
)
\frac{P(B)P(A|B)}{P(A)}
P
(
A
)
P
(
B
)
P
(
A
∣
B
)
prevalence
of a
disease
number of people who currently have the disease divided by the number of people in the population
sensitivity
the probability that the test is
positive
, given that the person has the disease
sen
=
\text{sen} =
sen
=
P
(
+
∣
D
)
P(+|D)
P
(
+
∣
D
)
false positive
test shows positive result for a non-disease subject
P
(
false positive
)
=
P(\text{false positive}) =
P
(
false positive
)
=
P
(
+
∣
D
c
)
P(+|D^c)
P
(
+
∣
D
c
)
specificity
the probability that the test is negative, given that the person does not have the disease
spec
=
\text{spec} =
spec
=
P
(
−
∣
D
c
)
P(-|D^c)
P
(
−
∣
D
c
)
false negative
test shows negative result for a diseased subject
P
(
false negative
)
=
P(\text{false negative}) =
P
(
false negative
)
=
P
(
−
∣
D
)
P(-|D)
P
(
−
∣
D
)