Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

Prob 1234

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 40

Introduction to

Probability
Instructor
Osama Bin Ajaz
Content
• Sample Space and Event
• Tree diagram
• Additive and multiplicative rules for probability ( 4 rules)
• Conditional probability (using table)
• Bayes’ Theorem (using table)
Sample Space
• What is an experiment?
• Any process or activity that generates a set of data is called
experiment. For example:
i. Tossing a coin
ii. Rolling dice
iii. Playing cards
iv. Opinion of voters
v. Launching of missiles
Sample Space
• The set of all possible outcomes of a statistical experiment is called
the sample space (S). For example:
Tree Diagram
• Tossing coin: 2 times, 3 times, 4 times
• Tossing die & coin together:
• Suppose that three items are selected at random from a
manufacturing process. Each item is inspected and classified
defective, D, or non-defective, N. List the elements of the sample
space.
Multiplication Or Fundamental
Rule of counting

i. How many sample points are there in the sample space when a pair of
dice is thrown once?
ii. How many there digit numbers can be formed from the digits 2, 4, 6, and
8 if: (i) repetitions are not allowed (ii) repetitions allowed
Set of Example (iii - viii)

(iii) A developer of a new subdivision offers prospective home buyers a choice of


Tudor, rustic, colonial, and traditional exterior styling in ranch, two-story, and
split-level floor plans. In how many different ways can a buyer order one of these
homes?
(iv) If a 22-member club needs to elect a chair and a treasurer, how many
different ways can these two to be elected?
(v) Sam is going to assemble a computer by himself. He has the choice of chips
from two brands, a hard drive from four, memory from three, and an accessory
bundle from five local stores. How many different ways can Sam order the parts?
(vi) How many even four-digit numbers can be formed from the digits 0, 1, 2, 5,
6, and 9 if each digit can be used only once?
(vii) How many new arrangements can be made from the letters of the word
FAVOUR so that vowel occupy even place.
Combinations
• Selection of “r” objects from “n” different objects and when the order
is not important.

• In how many ways a committee of 3 students can be selected from 4


students.
• From a group of 10 boys and 6 girls a committee of 3 boys and 2 girls
are to be selected. In how many ways can this done?
Exercises
Probability
• Probability is a measure of the chance that
an uncertain event will occur.

Subjective: Objective:
• Personal experiences • Classical approach
• Relative frequency approach
• Axiomatic approach
Examples (1 – 3)
1. A coin is tossed twice. What is the probability that at least 1 head
occurs?
2. A die is tossed once. What is the probability of getting:
(a) an even number (b) a number less than 3 (c) a 4 or higher
number (d) a 7 (e) A number from 1 to 6

3. A die is loaded in such a way that an even number is twice as likely


to occur as an odd number. If E is the event that a number less than 4
occurs on a single toss of the die, find P(E).
Example 4
• Two balanced dice are rolled once. What is the probability of getting
(a) A sum of 11 (b) same number on both dice (c) a sum of 13
A deck of playing Cards
Example 5 – 6
5. A card is drawn at random from the well shuffled pack of 52 playing
cards. Find the probability that the card:
(a) is a Jack (b) is not a Jack

6. In a poker hand consisting of 5 cards, find the probability of


holding 2 aces and 3 jacks.
Example 7
• A statistics class for engineers consists of 25 industrial, 10 mechanical,
10 electrical, and 8 civil engineering students. If a person is randomly
selected by the instructor to answer a question, find the probability
that the student chosen is (a) an industrial engineering major and (b)
a civil engineering or an electrical engineering major.
Example # 08 – 10
8. John is going to graduate from an industrial engineering department in a
university by the end of the semester. After being interviewed at two
companies he likes, he assesses that his probability of getting an offer from
company A is 0.8, and his probability of getting an offer from company B is 0.6. If
he believes that the probability that he will get offers from both companies is
0.5, what is the probability that he will get at least one offer from these two
companies?
9. What is the probability of getting a total of 7 or 11 when a pair of fair
dice is tossed?
10. If the probabilities are, respectively, 0.09, 0.15, 0.21, and 0.23 that a
person purchasing a new automobile will choose the color green, white,
red, or blue, what is the probability that a given buyer will purchase a new
automobile that comes in one of those colors?
Examples (11 – 12)
11. If the probabilities that an automobile mechanic will service 3, 4, 5, 6, 7, or 8 or
more cars on any given workday are, respectively, 0.12, 0.19, 0.28, 0.24, 0.10,
and 0.07, what is the probability that he will service at least 5 cars on his next
day at work?
12. Suppose the manufacturer’s specifications for the length of a certain type of
computer cable are 2000 ± 10 millimeters. In this industry, it is known that small
cable is just as likely to be defective (not meeting specifications) as large cable.
That is, the probability of randomly producing a cable with length exceeding
2010 millimeters is equal to the probability of producing a cable with length
smaller than 1990 millimeters. The probability that the production procedure
meets specifications is known to be 0.99.
(a) What is the probability that a cable selected randomly is too large?
(b) What is the probability that a randomly selected cable is larger than 1990
millimeters?
Exercises
The Product Rule:
Independent Events
Examples # 13 – 14
• A small town has one fire engine and one ambulance available for
emergencies. The probability that the fire engine is available when
needed is 0.98, and the probability that the ambulance is available
when called is 0.92. In the event of an injury resulting from a burning
building, find the probability that both the ambulance and the fire
engine will be available, assuming they operate independently.
• A bag contains 5 red and 7 black balls. A ball is drawn at random from
the bag, the color is noted and the ball is replaced. A second balls is
then drawn. Find the probability that the first balls is red and the
second is black.
Examples 15 – 17
(15). A die is rolled two times. Find the probability of obtaining a 5 on the
first thrown and an even number on the second thrown.
(16). The probability that Ahsan will be alive in 30 years is 0.4 and the
probability that Bilawal will be alive in 30 years is 0.8. What is the
probability that: (a) both will be alive in 30 years
(b) both of them die (c) Ahsan will be alive and B dead.
(17). A town has two fire engines operating independently. The
probability that a specific engine is available when needed is
0.96.
(a) What is the probability that neither is available when needed?
(b) What is the probability that a fire engine is available when
needed?
The Product Rule: Dependent Events
Example # 18
(18). Suppose that we have a fuse box containing 20 fuses, of which 5 are
defective. If 2 fuses are selected at random and removed from the box in
succession without replacing the first, what is the probability that both
fuses are defective?
(19). Two cards are drawn in succession from a deck of 52 playing cards
without replacement. What is the probability that both cards a are spades.
(20). A box contains 8 tickets bearing the numbers 1, 2, 3, 4, 5, 6, 8, 10.
One ticket is drawn and kept aside. Then a second ticket is drawn. What is
the probability that both the tickets show even numbers.
Example # 22 (conditional prob)
Example # 23

(2.91) Find the probability of randomly selecting 4 good quarts of milk in


succession from a cooler containing 20 quarts of which 5 have spoiled, by using
(a) the first formula of Theorem 2.12 on page 68.
(b) the formulas of Theorem 2.6.
Example # 23
• A card is drawn is random from a deck of ordinary playing cards. What
is the probability that it is a diamond, a face card or a king?
Solution:
Let A = the card drawn is diamond
B = the card drawn is face card, &
C = the card drawn is a king
P (A U B U C) =
Example # 24
• A man tosses two fair dice. What is the conditional probability that the
sum of two dice will be 7, given that
(i) the sum is odd. (B)
(ii) the sum is greater than 6. (C)
(iii) the two dice had the same outcome. (D)
Solution:
Example # 25
• Two events A & B are such that P(A) = 1/4, P(A|B)=1/2, P(B|A) = 2/3
(i) Are A and B independent events?
(ii) Are A and B mutually exclusive events?
(iii) Find P(A∩B)
Solution:
Example # 26
• In a certain assembly plant, three machines, B1, B2, and B3, make
30%, 45%, and 25%, respectively, of the products. It is known from
past experience that 2%, 3%, and 2% of the products made by each
machine, respectively, are defective. Now, suppose that a finished
product is randomly selected. What is the probability that it is
defective?
• Solution:
A: the product is defective,
B1: the product is made by machine B1,
B2: the product is made by machine B2,
B3: the product is made by machine B3,
Tree Diagram for Example # 26
P(A|B1) = 0.02

P(B1) = 0.3
P(A|B2) = 0.03
P(B2) = 0.45

P(B3) = 0.25

P(A|B3) = 0.02
Baye’s Rule
Example # 27
• In a certain assembly plant, three machines, B1, B2, and B3, make
30%, 45%, and 25%, respectively, of the products. It is known from
past experience that 2%, 3%, and 2% of the products made by each
machine, respectively, are defective. Now, suppose that a finished
product is randomly selected. What is the probability that it is
defective? if a product was chosen randomly and found to
be defective, what is the probability that it was made by machine B3?
• Solution:
Example # 28
• Suppose a Software House based in Karachi required the post of
Programmer. After interviewing many applicants, the firm has
identified 20 applicants categorized as in the following contingency
table: Certificate Diploma Total
Male 10 2 12
Femal 5 3 8
e
Total 15 5 20
• If a diploma holder is selected, what is the probability that the person
is a Male.
Miscellaneous Problems (Contd.)

You might also like