Statistics I - Unit 3 - Basics of Probability
Statistics I - Unit 3 - Basics of Probability
BASICS OF PROBABILITY
University of Valladolid
Outline
The sample space (Ω) is the set of all possible outcomes of an experiment.
The sample points (ω) are the elements of the sample space.
Example 1. We roll a die. The sample space that describe the possible
results is Ω = {1, 2, 3, 4, 5, 6}.
Example 3. We toss a normal coin until we obtain the first head, then the
experiment ends. In this case, the sample space is Ω = {h, th, tth, ttth, . . .}.
For instance, if the die in Example 1 is thrown with the result ω = 3, the
event A = odd result = {1, 3, 5} occurs, but also the event B = result
greater than 1 = {2, 3, 4, 5, 6} occurs, given that 3 ∈ A and 3 ∈ B .
Formed by all outcomes that belong to at least one of the two events.
A − B = A ∩ B̄.
▷ De Morgan’s Laws:
• A ∪ B = Ā ∩ B̄
• A ∩ B = Ā ∪ B̄
A ∪ (B ∩ C ) = (A ∪ B) ∩ (A ∪ C )
A ∩ (B ∪ C ) = (A ∩ B) ∪ (A ∩ C )
▷ B = (B ∩ A) ∪ (B ∩ Ā):
A historical definition:
Probability: frequency of the events when a random experiment is repeated
many times.
nA
pA = lim
N→∞ N
P2 p(∅) = 0
P4 0 ≤ p(A) ≤ 1.
P7 From axiom A1 and property P6, it follows that, for any pair of events
A and B,
p(A ∪ B) ≤ p(A) + p(B),
result that can be generalised to more than two events.
1. p(ωi ) ≥ 0 for i = 1, . . . , n;
2. p(ω1 ) + · · · + p(ωn ) = 1.
1
p(ω1 ) = · · · = p(ωn ) = n
Laplace’s Rule:
number of outcomes in A
p(A) = number of outcomes in Ω
Would our bets change for {Swords, Cups, Clubs, Golds} if we knew that
the chosen card is “Not a Gold”?
Unit 3. Basics of Probability 23 / 46
3.5.1. Conditional probability
p(A∩B)
p(A|B) = p(B)
p(B∩A)
p(B|A) = p(A)
For instance:
P1 p(Ā|B) = 1 − p(A|B)
P4 0 ≤ p(A|B) ≤ 1
p(A∩B)
p(A|B) = p(B) ⇒ p(A ∩ B) = p(B) · p(A|B)
Analogously:
p(B∩A)
p(B|A) = p(A) ⇒ p(A ∩ B) = p(A) · p(B|A)
∞
P
p(B) = p(Ai ) · p(B|Ai )
i=1
p(Aj )·p(B|Aj )
p(Aj |B) = ∞
P j = 1, . . . , n, . . .
p(Ai )·p(B|Ai )
i=1
p(B|A) = p(B)
Hence, p(A ∩ B) ̸= p(A) · p(B) and thus A and B nare not independent.
Two types: