3 Probability
3 Probability
STATISTICS
PROBABILITY
2
DEFINITIONS
3
DEFINITIONS
The probability of a sample point is a number between 0 and 1 that
measures the likelihood that the outcome will occur when the
experiment is performed.
Law of Large Numbers : When an experiment is replicated for a large
number of times, the relative frequency of an outcome approaches the
theoretical probability of the outcome.
4
DEFINITIONS
Probability rules for sample points:
The sum of all sample point probabilities within a sample space must be 1
5
DEFINITIONS - EVENT
An event is a specific collection of sample points.
7
DEFINITIONS - UNION
or equal to 3}
AUB = {1,2,3,4,6}
or equal to 3}
A ∩ B = {2}
P(A ∩ B) =1/6
9
DEFINITIONS- MUTUALLY EXCLUSIVE
EVENTS
Events A and C are mutually exclusive if A ∩ C contains no
sample points that is, if A and C have no sample points in
common.
In our fair dice example,
A: {Observe an even number} & C: {Observe 1} are
mutually exclusive.
S
P(A U C) = P(A) + P(C) 3
= 3/6 + 1/6 = 2/3 2 A C
4 6 1
P(A ∩ C) = 0 10
5
P(A) = 1/2
DEFINITIONS - COMPLEMENTARY
EVENTS
The complement of an event A is event that A does not
occur. i.e. all sample points that are not in A. It is
denoted as Ac.
Sum of the probabilities of A and Ac is equal to 1
S= {1,2,3,4,5,6}
C= {1}
Cc = {2,3,4,5,6}
P(C) + P(Cc ) =1
11
ADDITIVE RULE OF PROBABILITY
P(A U B) = P(A)+ P(B) – P(A ∩ B)
or equal to 3}
If someone secretly rolls a dice and tells you she has witnessed
event A = {observe an even number}
Now, given event A, what are the chances that event E, a six was
observed? 1/3 [because sample space was reduced to A]
16
EXAMPLE 3.22 (FROM TEXT BOOK)
17
18
BAYES’ RULE
Generally,let S , …, S be k mutually exclusive and
1 k
P(B|A) = P(B)
P(A ∩ B) = ⅓
21
EXAMPLE
Suppose a retail computer store owner is planning to
place an order for laptops. She is trying to decide how
many touch-screen laptops to order. The owner’s records
indicate that 80% of the previous customers purchased
regular and 20% purchased touch-screen laptops.
(a) What is the probability that the next two customers
will purchase touch-screen laptops? (0.2)(0.2)
(b) What is the probability that the next ten customers will
purchase touch-screen laptops? (0.2)^10
22
EXAMPLE
A student has not prepared for the quiz and is randomly
guessing on all questions. The quiz has six questions,
each with four alternatives. What is the probability that
the student is able to guess five or more questions
correctly. Note: with random guessing, there is only a
0.25 probability of getting a question right. Assume the
questions are attempted independently.
Hint: If x = # of questions guessed correctly
P(x=6) = (0.25)^6
n n!
C k
k! (n k)!
• For the example, n=6, k=5
• So, the number of ways of answering five questions
correctly out of six are given by 6! / 5! = 6
• Answer to the example = 0.0046
24