Probability Lecture
Probability Lecture
Probability Lecture
STATISTICAL METHODS
LECTURE 2 (PROBABILITY THEORY)
1. Mutual Exclusiveness - intersection of events is the null set (Ai∩Aj = ∅, for all
i ≠ j)
2. Collective Exhaustiveness (C.E.) - union of events is sample space
(A1∪A2∪...∪An = S or Ω)
3. If the events {A1, A2, ... , An} are both mutually exclusive and collectively
exhaustive, they form a partition of the sample space, S or Ω.
Properties/axioms of probability
1. 0 ≤ P(A) ≤ 1
2. P(S) = 1
3. P(A∪B) = P(A) + P(B) if A and B are mutually exclusive
Equally Likely Outcomes
• The number of elements in a set A is denoted |A|. If Ω has a finite number of
elements, and each is equally likely, then the probability function is given by P(A)
=|A|/|Ω|
• Example: Rolling a 6-sided die
• P({1}) =1/6
• P({1,2,3}) =1/2
Repeated Experiments
• If we do two runs of an experiment with sample space Ω, then we get a new
experiment with sample space Ω×Ω = {(x,y) :x∈Ω,y∈Ω}
• The element (x,y)∈Ω×Ω is called an ordered pair.
Properties:
• Order matters: (1,2) ≠ (2,1)
• Repeats are possible: (1,1)∈N×N
• Repeating an experiment n times gives the sample space
Ω×···×Ω (ntimes) = {(x1,x2,...,xn) : xi∈Ω for all i}
• The element(x1,x2,...,xn) is called an n-tuple.
Permutations
• A permutation is an ordering of an n-tuple. For instance, the n-tuple
(1,2,3) has the following permutations:(1,2,3),(1,3,2),(2,1,3)(2,3,1),
(3,1,2),(3,2,1)
• The number of unique orderings of an n-tuple is n factorial:
• n! =n×(n−1)×(n−2)×···×2
• How many ways can you rearrange (1,2,3,4)?
EXERCISE
The table below summarizes enrolment data for male and female students in
three departments at the School of Sciences in Central University.
If a student is randomly selected from this group, find the probability that this
student is a;
a) Male student.
b) Pharmacy student.
c) Male student given that he is from Pharmacy department.
d) Nursing student given that she is a female.
GENDER DEPARTMENTS TOTAL
PHYSICIAN ASST. PHARMACY NURSING
FEMALE 120 150 80 350
MALE 50 140 60 250
TOTAL 170 290 140 600
EXAMPLE:
You are given two boxes with balls numbered 1 - 5. One box contains
balls 1, 3, 5, and the other contains balls 2 and 4. You first pick a box at
random, then pick a ball from that box at random.
What is the probability that you pick a 2?, an odd number?, an even
number?
Tree diagrams to compute “two stage” probabilities
• (A= first stage, B= second stage):
1. First branch computes probability of first stage: P(A)
2. Second branch computes probability of second stage, given the first:
P(B|A)
3. Multiply probabilities along a path to get final probabilities P(A∩B).
Tree diagrams to compute “two stage” probabilities