Week 0 Part 2 (1) - Experiment, Outcome, Sample Space, Events
Week 0 Part 2 (1) - Experiment, Outcome, Sample Space, Events
● What is A ⋂ Bc?
IPL example
● One over with 6 deliveries; in each delivery, 0, 1, 2, 3, 4 or 6 runs may be
scored
○ Event A: no 4s
○ Event B: no 6s
○ Event C: exactly 20 runs scored
2. If E1, E2, E3, ... are disjoint events (how many events? Could be infinitely
many),
● Axioms are intuitive and restrict the functions that can be probability functions
● They result in several intuitive deductions on probabilities of combination of
events, probabilities of subsets of events etc.
Examples
● Toss a coin: S = { H, T }
○ Valid as per axioms: P(empty) = 0, P({H}) = 0.5, P({T}) = 0.5, P({H,T}) = 1
○ Valid as per axioms: P(empty) = 0, P({H}) = p, P({T}) = 1 - p, P({H,T}) = 1 (0 ≤ p ≤ 1)
○ Invalid: P(empty) = 0, P({H}) = 0.5, P({T}) = 0.6, P({H,T}) = 1 (why?)
● Throw a die: S = { 1, 2, 3, 4, 5, 6 }
○ There are 64 events. How to specify the probability function?
○ How to ensure that the axioms are satisfied?
○ How will valid probability functions look?
● We will answer the above questions for several types of sample spaces in the
ensuing lectures
○ Only the axioms will be used as assumptions
○ Everything else can be deduced from them!
Basic properties
Recap
● Physical setting
○ Experiment - Process to be studied statistically
○ Outcome - result of experiment
● Probability space
○ Sample space S - set of outcomes
○ Events - subsets of sample space (technical condition)
○ Probability P - function from events to the closed interval [0,1]
○ Axioms
■ P(S) = 1
■ E1, E2, …. disjoint: P(E1 ∪ E2 ∪ … ) = P(E1) + P(E2) + …
● This lecture
○ Basic properties of probability space
○ These are critical for computing probabilities
Property 1: Empty set
Probability of the empty set (denoted Φ) equals 0.
P(Φ) = 0
● Proof
○ Φc = S and Φ, S are disjoint and Φ ∪ S = S
○ By Axiom 2, P(Φ ∪ S) = P(Φ) + P(S) or P(S) = P(Φ) + P(S) or P(Φ) = 0
Property 2: Complement
Let Ec be the complement of Event E. Then,
P(Ec) = 1 - P(E)
S
● Proof
○ E and Ec are disjoint and E ∪ Ec = S
○ By Axiom 2, P(E ∪ Ec) = P(E) + P(Ec) or P(S) = P(E) + P(Ec)
○ By Axiom 1, 1 = P(S) = P(E) + P(Ec)
○ So, P(Ec) = 1 - P(E)
E
Property 3: Subset
If Event E is a subset of Event F, i.e. E ⊆ F, then
P(F) = P(E) + P(F \ E),
which implies that P(E) ≤ P(F)
S
● Proof
○ F \ E = F ⋂ Ec (outside of E and inside of F)
○ E and F \ E are disjoint and E ∪ (F \ E) = F
○ By Axiom 2, P(E ∪ (F \ E)) = P(E) + P(F \ E) or P(F) = P(E) + P(F \ E)
F
E
Property 3a: Difference and intersection
If E and F are events, then
P(E) = P(E ⋂ F) + P(E \ F),
P(F) = P(E ⋂ F) + P(F \ E)
S
● Proof
○ E ⋂ F is a subset of E
○ By subset property, P(E) = P(E ⋂ F) + P(E \ (E ⋂ F))
○ Now, E \ (E ⋂ F) = E \ F F
○ So, P(E) = P(E ⋂ F) + P(E \ F)
E
Property 4: Union and intersection
If E and F are events, then
P(E ∪ F) = P(E) + P(F) - P(E ⋂ F)
S
● Proof
○ E ∪ F = (E \ F) ∪ (E ⋂ F) ∪ (F \ E) and the 3 events on RHS are disjoint
○ P(E ∪ F) = P(E \ F) + P(E ⋂ F) + P(F \ E)
○ Use P(E \ F) = P(E) - P(E ⋂ F) and P(F \ E) = P(F) - P(E ⋂ F) F
E
Working with probability spaces
Toss a coin
● Sample space: S = { H, T }
● Events: Φ, E = {H}, F = {T}, S = {H, T}
● By Axiom 1, P(S) = 1
● By empty set property, P(Φ) = 0
● By complement property, since F = Ec, P(F) = 1 - P(E)
● Probability function has to be the following
○ Let p = P(E) (probability of heads is p) for some 0 ≤ p ≤ 1
○ P(Φ) = 0, P(E) = p, P(F) = 1 - p, P(S) = 1
● In an actual application, we need to choose p. How?
○ Suppose coin is fair. Then, probability of heads = probability of tails
○ So, p = 1 - p, which results in p = 0.5
Restaurant hiring
A waiter and a cashier are to be hired. There are 4 applicants - David and Megha
from Delhi, and Rajesh and Veronica from Mumbai. The restaurant hires one
person at random as waiter, and another from the remaining as cashier.
pi = 1/6
Urn 1 Urn 2
Pick an urn at random and then pick a marble at random from the chosen urn.