Chapter 7 Statistics
Chapter 7 Statistics
Chapter 7 Statistics
PROBABILITY
n(A) = (2,4,6)
n(B) = (1,4)
Note : The elements of A and B are subsets
of the sample S. Therefore,
n(S) = 6
n(A) = 3
EXAMPLE 2
and n(B) = 3
10
10!
( 103 ) ! 3 !
7!
3!
x
5 !2! 2!1!
= (21)(3) = 63
7!
4 ! 3 ! = 35
One of the properties of probability states
that the probability of any event lies from 1
to 0, inclusive. Symbolically it is denoted by:
0 P(A) 1 for any event
The probability of occurrence plus the
probability of nonoccurrence of an event is
always equal to one. In a given experiment,
an event must or must not occur. If A
represents the occurrence of an event and A
represents the non occurrence of the event
then
P(A) + P(A) = 1
EXAMPLE
P ( A )=
number of A occurred
number of experiment was repeated
EXAMPLE :
A consumer test group consists of 80 college
students, 35 of whom are woman. If one
person randomly selected from this group,
find the probability of not getting a woman.
Because 35 of the consumers are women, it
follows that 45 of them are not women.
Hence,
P(not selecting a woman) = 45/80 = 0.5625
or 56.25%
CLASSICAL PROBABILITY
- an experiment shall be performed.
Assuming that a given experiment has n
different sample events (A), each of which
P ( A )=
n( A)
n (S)
Where:
n(A)=represents the number of sample
points in event A
n(S)=represents the number of sample
points in the sample space
EXAMPLE1:
In the recent Board Examination for
engineers, a typical question has 5 possible
answers. If an examinee makes a random
guess on a typical question, what is the
probability that the examinee is wrong?
There are 5 possible outcomes or answers,
and there are 4 ways to answer the question
incorrectly. Random guessing implies that
the outcomes are equally likely to happen.
Hence we apply the classical approach.
4
P ( wrong answer )= =0.880
5
EXAMPLE2:
A die is rolled. Find the probability that the
number of dots is:
a. a perfect square
b. an even number
SOLUTION
Since a die has 6 faces, then:
S = (1,2,3,4,5,6)
n(S) = 6
n(A) = 2
n(B) = 3
Hence,
a.
P ( A )=
n( A) 2 1
= =
n (B) 6 3
ADDITION RULE
b.
n (B) 3 1
P (B)=
= =
n( S) 6 2
EXAMPLE 3
A box contains 5 yellow and 4 blue balls. If 2
balls are drawn from the box , what is the
probability of getting
a. both blue
Determine n(S)
n(S) = 9C2 =
9!
( 92 ) ! 2!
= 36
n(A) = 4C2 =
P ( A )=
4!
=6
( 42 ) ! 2 !
n( A) 6 1
= =
n (S) 36 6
5!
4!
x
=5 x 4=20
( 51 ) ! 1 ! ( 41 ) ! 1 !
P (B)=
n (B) 20 5
= =
n(S) 36 9
n( A) n( B) n(A B)
+
n( S) n(S)
n(S)
P( A B ) = P(A) + P(B) P( A B ) or
P( A B ) =
n( A) n( B) n(A B)
+
n( S) n(S)
n(S)
n( A) n( B)
+
n( S) n(S)
EXAMPLE 1
If a pair of dice is rolled , find the
probability of getting a sum of 7 or a
match (same number of dots on the
faces)
Solutions:
The sample space for a pair of dice is 36.
Hence
n(S) = 36
n(A) = sum of 7 = ( (6,1), (5,2),(2,5),
(4,3), (3,4), (2,5), (1,6)
n(B) = a match =
( (1,1), (2,2), (3,3), (4,4), (5,5), (6,6) )
Events A and B have no elements in
common. Hence, they are mutually
exclusive events. Using the formula
above, we obtain:
P( A B ) =
n( A) n( B)
+
n( S) n(S)
6 6 12 1
+ = =
36 36 36 3
Therefore, P (sum of seven or a match) =
1/3
EXAMPLE2
A card is drawn from an ordinary deck of
52 playing cards. Find the probability of
getting:
a. an ace or a queen card
b. a queen or a face card
Solutions:
The sample space is n(S) = 52
a. Let A = n(A) = event of getting an ace
=4
B = n(B) = event of getting a
queen = 4
Therefore A and B are mutually exclusive
events.
Hence, we have.
P( A B ) =
n( A) n( B) 4 4
8
+
= + =
n( S) n(S) 52 52 52
P( A B ) = 2/13
b. Let C = n(C) = event of getting face
card = 12
Events B and C are non mutually
exclusive events. Since 2 events can
occur at the same time, we can find four
queen cards at the same time as the face
cards. Thus,
P( B C ) = P(B) + P(C) P( B C ) or
P( B C ) =
n(B) n(C) n ( B C ) 4 12 4 12
+
= + =
52 52 52 52
n (S ) n( S)
n (S )
P( B C ) = 3/13
CONDITIONAL PROBABILITY
- is the probability that A will occur, given
that B has occurred. Symbolically it is
written as P(A/B) read as the probability
of event A given that event B has
occurred
P(A/B) =
P( A B)
, provided P ( B ) 0
P( B)
P(A/B) =
n( A B)
n(B)
EXAMPLE 1
Let P(A) = 0.6
P(B) = 0.7
P( A B) = 0.3
Find the value of the following:
P( A B)
0.3
a. P(A/B) =
= 0.7 =0.43
P( B)
b. P(B/A) =
P( A B) 0.3
=
=0.5
P( A)
0.6
8
29
MULTIPLICATION RULE
- We will develop a rule for finding the
probability that event A or event B will
occur.
From the formula for conditional
probability, we have
P(A/B) =
P( A B)
, provided P ( B ) 0
P( B)
EXAMPLE 2:
The school canteen has 30 sandwiches to
be sold. The sandwiches are 9 hotdog, 5
tuna, 8 ham, 5 cheese and egg and 3
bacon. A sandwich is selected at random
and sold. Given that the first sandwich
selected and sold is hotdog, what is the
probability that the next sandwich
selected and sold is also hotdog?
Solutions:
Let H1 = event that the 1st sandwich
selected is hotdog
Let H2 = event that the second sandwich
selected is also a hotdog
Case 1 :
The probability is determined with
replacement, where the happening of the
second event is not affected by the
happening of first event. This condition
demonstrates the independent type of
event.
P(A/B) = P(A) or P(B/A) = P(B) or
P ( A B ) = P(A) x P(B)
Case 2 :
The probability is determined w/out
replacement where the occurrence of
second event is affected by the
P(A) x P(B/A)
= P(A) x P(B)
6
4
24
8
x =
=
15 15 225 75
P(A) x P(B/A)
n(A ) n(B) 6 4
24
4
x
= x =
=
n( S) n( S) 15 14 210 35
EXAMPLE 2
5 particular cellphones are produced. 4
are in good condition and one is
defective. If two units of the particular
cellphone are randomly selected for
testing, and the first is replaced before
the second selection is made, find the
probability that both units selected are
not defective.
Let N represents the event of selecting
that particular cellphone which is not
defective. Hence,
P( N and N) = P(N) x P(N)
4 4 16
x =
5 5 25