tes9e_ch03

Embed Size (px)

Citation preview

  • 8/8/2019 tes9e_ch03

    1/74

    Slide 1

    Copyright 2004 Pearson Education, Inc.

  • 8/8/2019 tes9e_ch03

    2/74

    Slide 2

    Copyright 2004 Pearson Education, Inc.

    Chapter 3Probability

    3-1 Overview

    3-2 Fundamentals

    3-3 Addition Rule

    3-4 Multiplication Rule: Basics

    3-5 Multiplication Rule: Complements and

    Conditional Probability3-6 Probabilities Through Simulations

    3-7 Counting

  • 8/8/2019 tes9e_ch03

    3/74

    Slide 3

    Copyright 2004 Pearson Education, Inc.

    Created by Tom Wegleitner, Centreville, Virginia

    Section 3-1 & 3-2Overview & Fundamentals

  • 8/8/2019 tes9e_ch03

    4/74

    Slide 4

    Copyright 2004 Pearson Education, Inc.

    Overview

    Rare Event Rule for Inferential Statistics:

    If, under a given assumption (such as a lottery beingfair), the probability of a particular observed event(such as five consecutive lottery wins) is extremelysmall, we conclude that the assumption is probablynot correct.

  • 8/8/2019 tes9e_ch03

    5/74

    Slide 5

    Copyright 2004 Pearson Education, Inc.

    Definitions

    Event

    Any collection of results or outcomes of aprocedure.

    Simple Event

    An outcome or an event that cannot be furtherbroken down into simpler components.

    Sample SpaceConsists of all possible simple events. That is,the sample space consists of all outcomes thatcannot be broken down any further.

  • 8/8/2019 tes9e_ch03

    6/74

    Slide 6

    Copyright 2004 Pearson Education, Inc.

    Notation forProbabilities

    P- denotes a probability.

    A, B, and C- denote specific events.

    P(A) - denotes the probability ofevent A occurring.

  • 8/8/2019 tes9e_ch03

    7/74

    Slide 7

    Copyright 2004 Pearson Education, Inc.

    Basic Rules forComputing Probability

    Rule 1: Relative Frequency Approximationof Probability

    Conduct (or observe) a procedure a large

    number of times, and count the number oftimes eventA actually occurs. Based onthese actual results, P(A) is estimatedasfollows:

    P(A) = number of times A occurrednumber of times trial was repeated

  • 8/8/2019 tes9e_ch03

    8/74

    Slide 8

    Copyright 2004 Pearson Education, Inc.

    Basic Rules forComputing Probability

    Rule 2: Classical Approach to Probability(Requires Equally Likely Outcomes)

    Assume that a given procedure has n different

    simple events and that each of those simpleevents has an equalchance of occurring. IfeventA can occur in s of these n ways, then

    P(A) = number of waysA can occurnumber of different

    simple events

    s

    n=

  • 8/8/2019 tes9e_ch03

    9/74

    Slide 9

    Copyright 2004 Pearson Education, Inc.

    Basic Rules forComputing Probability

    Rule 3: Subjective Probabilities

    P(A), the probability of eventA, is found bysimply guessing or estimating its value

    based on knowledge of the relevant

    circumstances.

  • 8/8/2019 tes9e_ch03

    10/74

    Slide 10

    Copyright 2004 Pearson Education, Inc.

    Law of

    LargeN

    umbersAs a procedure is repeated again and

    again, the relative frequency probability(from Rule 1) of an event tends to

    approach the actual probability.

  • 8/8/2019 tes9e_ch03

    11/74

    Slide 11

    Copyright 2004 Pearson Education, Inc.

    Example

    Roulette You plan to bet on number 13 on the next spinof a roulette wheel. What is the probability that you willlose?

    Solution A roulette wheel has 38 different slots, only

    one of which is the number 13. A roulette wheel isdesigned so that the 38 slots are equally likely. Amongthese 38 slots, there are 37 that result in a loss.Because the sample space includes equally likelyoutcomes, we use the classical approach (Rule 2) to get

    P(loss) =37

    38

  • 8/8/2019 tes9e_ch03

    12/74

    Slide 12

    Copyright 2004 Pearson Education, Inc.

    Probability Limits

    The probability of an event that is certain tooccur is 1.

    The probability of an impossible event is 0.

    0 e P(A) e 1 for any eventA.

  • 8/8/2019 tes9e_ch03

    13/74

    Slide 13

    Copyright 2004 Pearson Education, Inc.

    Possible Values forProbabilities

    Figure 3-2

  • 8/8/2019 tes9e_ch03

    14/74

    Slide 14

    Copyright 2004 Pearson Education, Inc.

    Definition

    The complement of eventA, denoted by

    A, consists of all outcomes in which theeventA does notoccur.

  • 8/8/2019 tes9e_ch03

    15/74

    Slide 15

    Copyright 2004 Pearson Education, Inc.

    Example

    Birth Genders In reality, more boys are born thangirls. In one typical group, there are 205 newbornbabies, 105 of whom are boys. If one baby israndomly selected from the group, what is the

    probability that the baby is nota boy?

    Solution Because 105 of the 205 babies are boys, it follows that100 of them are girls, so

    P(not selecting a boy) = P(boy) = P(girl) 100 0.488205

    ! !

  • 8/8/2019 tes9e_ch03

    16/74

    Slide 16

    Copyright 2004 Pearson Education, Inc.

    Rounding OffProbabilities

    When expressing the value of a probability,either give the exactfraction or decimal orround off final decimal results to threesignificant digits. (Suggestion: When theprobability is not a simple fraction such as 2/3or 5/9, express it as a decimal so that the

    number can be better understood.)

  • 8/8/2019 tes9e_ch03

    17/74

    Slide 17

    Copyright 2004 Pearson Education, Inc.

    Definitions

    The actual odds against eventA occurring are the ratioP(A)/P(A), usually expressed in the form ofa:b (or a

    to b), where a and b are integers having no common

    factors.

    The actual odds in favoreventA occurring are thereciprocal of the actual odds against the event. If the

    odds againstA are a:b, then the odds in favor ofA are

    b:a.

    The payoff odds against eventA represent the ratio of

    the net profit (if you win) to the amount bet.

    payoff odds against event A = (net profit) : (amount bet)

  • 8/8/2019 tes9e_ch03

    18/74

    Slide 18

    Copyright 2004 Pearson Education, Inc.

    Recap

    In this section we have discussed:

    Rare event rule for inferential statistics.

    Probability rules.

    Law of large numbers.

    Complementary events.

    Rounding off probabilities.

    Odds.

  • 8/8/2019 tes9e_ch03

    19/74

    Slide 19

    Copyright 2004 Pearson Education, Inc.

    Created by Tom Wegleitner, Centreville, Virginia

    Section 3-3Addition Rule

  • 8/8/2019 tes9e_ch03

    20/74

    Slide 20

    Copyright 2004 Pearson Education, Inc.

    Compound Event

    Any event combining 2 or more simple events

    Definition

    Notation

    P(A orB) = P(eventA occurs or

    event B occurs or they bothoccur)

  • 8/8/2019 tes9e_ch03

    21/74

    Slide 21

    Copyright 2004 Pearson Education, Inc.

    When finding the probability that eventA

    occurs or event B occurs, find the total

    number of waysA can occur and thenumber of ways B can occur, but findthe

    totalinsuch a waythatnooutcomeis

    countedmorethanonce.

    General Rule for aCompound Event

  • 8/8/2019 tes9e_ch03

    22/74

    Slide 22

    Copyright 2004 Pearson Education, Inc.

    Compound Event

    Intuitive Addition Rule

    To find P(A orB), find the sum of the number of

    ways eventA can occur and the number of ways event Bcan occur, addinginsuch a waythateveryoutcomeis

    countedonlyonce. P(A orB) is equal to that sum,

    divided by the total number of outcomes. In the sample

    space.

    Formal Addition Rule

    P(A orB) = P(A) + P(B) P(A and B)

    where P(A and B) denotes the probability that A

    and B both occur at the same time as an outcome in

    a trial or procedure.

  • 8/8/2019 tes9e_ch03

    23/74

    Slide 23

    Copyright 2004 Pearson Education, Inc.

    Definition

    Figures 3-4 and 3-5

    EventsA and B are disjoint (ormutuallyexclusive) if they cannot both occurtogether.

  • 8/8/2019 tes9e_ch03

    24/74

    Slide 24

    Copyright 2004 Pearson Education, Inc.

    Applying the Addition Rule

    Figure 3-6

  • 8/8/2019 tes9e_ch03

    25/74

    Slide 25

    Copyright 2004 Pearson Education, Inc.

    Find the probability of randomly selecting a man or a boy.

    Titanic PassengersMen Women Boys Girls Totals

    Survived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 56 2223

    Adapted from Exercises 9 thru 12

    Example

  • 8/8/2019 tes9e_ch03

    26/74

    Slide 26

    Copyright 2004 Pearson Education, Inc.

    Find the probability of randomly selecting a man or a boy.

    P(man or boy) = 1692 + 64 = 1756 = 0.7902223 2223 2223

    Men Women Boys Girls Totals

    Survived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 56 2223

    * Disjoint *

    Example

    Adapted from Exercises 9 thru 12

  • 8/8/2019 tes9e_ch03

    27/74

    Slide 27

    Copyright 2004 Pearson Education, Inc.

    Find the probability of randomly selecting a man or

    someone who survived.

    Men Women Boys Girls TotalsSurvived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 45 2223

    Example

    Adapted from Exercises 9 thru 12

  • 8/8/2019 tes9e_ch03

    28/74

    Slide 28

    Copyright 2004 Pearson Education, Inc.

    Find the probability of randomly selecting a man or

    someone who survived.

    P(man or survivor) = 1692 + 706 332 = 20662223 2223 2223 2223

    Men Women Boys Girls TotalsSurvived 332 318 29 27 706

    Died 1360 104 35 18 1517

    Total 1692 422 64 45 2223

    * NOT Disjoint *

    = 0.929

    Adapted from Exercises 9 thru 12

    Example

  • 8/8/2019 tes9e_ch03

    29/74

    Slide 29

    Copyright 2004 Pearson Education, Inc.

    ComplementaryEvents

    P(A) and P(A)

    are

    mutually exclusive

    All simple events are either inA orA.

  • 8/8/2019 tes9e_ch03

    30/74

    Slide 30

    Copyright 2004 Pearson Education, Inc.

    P(A) + P(A) = 1

    = 1 P(A)

    P(A) = 1 P(A)

    P(A)

    Rules ofComplementary Events

  • 8/8/2019 tes9e_ch03

    31/74

    Slide 31

    Copyright 2004 Pearson Education, Inc.

    Venn Diagram for theComplement of Event A

    Figure 3-7

  • 8/8/2019 tes9e_ch03

    32/74

    Slide 32

    Copyright 2004 Pearson Education, Inc.

    Recap

    In this section we have discussed:

    Compound events.

    Formal addition rule.

    Intuitive addition rule.

    Disjoint Events.

    Complementary events.

  • 8/8/2019 tes9e_ch03

    33/74

    Slide 33

    Copyright 2004 Pearson Education, Inc.

    Created by Tom Wegleitner, Centreville, Virginia

    Section 3-4Multiplication Rule:

    Basics

  • 8/8/2019 tes9e_ch03

    34/74

    Slide 34

    Copyright 2004 Pearson Education, Inc.

    Notation

    P(A and B) =

    P(eventA occurs in a first trial andevent B occurs in a second trial)

  • 8/8/2019 tes9e_ch03

    35/74

    Slide 35

    Copyright 2004 Pearson Education, Inc.

    Tree DiagramsA tree diagram is a picture of the possible outcomes of a

    procedure, shown as line segments emanating from one

    starting point. These diagrams are helpful in counting the

    number of possible outcomes if the number of possibilities is

    not too large.

    Figure 3-8 summarizes

    the possible outcomes

    for a true/false followed

    by a multiple choice question.

    Note that there are 10 possible combinations.

  • 8/8/2019 tes9e_ch03

    36/74

    Slide 36

    Copyright 2004 Pearson Education, Inc.

    ExampleGenetics Experiment Mendels famous hybridization

    experiments involved peas, like those shown in Figure 3-3(below). If two of the peas shown in the figure are

    randomly selected withoutreplacement, find the

    probability that the first selection has a green pod and the

    second has a yellow pod.

  • 8/8/2019 tes9e_ch03

    37/74

    Slide 37

    Copyright 2004 Pearson Education, Inc.

    Example - Solution

    First selection: P(green pod) = 8/14 (14 peas, 8 of which have

    green pods)

    Second selection: P(yellow pod) = 6/13 (13 peas remaining, 6

    of which have yellow pods)

    With P(first pea with green pod) = 8/14 and P(second pea with

    yellow pod) = 6/13, we have

    P( First pea with green pod and second pea with yellow pod) =

    8 6. 64

    14 13y }

  • 8/8/2019 tes9e_ch03

    38/74

    Slide 38

    Copyright 2004 Pearson Education, Inc.

    ExampleImportant Principle

    The preceding example illustrates the

    important principle that the probabilityforthe

    secondeventB shouldtakeintoaccountthe

    factthatthe firsteventA hasalreadyoccurred.

  • 8/8/2019 tes9e_ch03

    39/74

    Slide 39

    Copyright 2004 Pearson Education, Inc.

    Notation forConditional Probability

    P(B A) represents the probability of event Boccurring after it is assumed that eventA hasalready occurred (read B A as B givenA.)

  • 8/8/2019 tes9e_ch03

    40/74

    Slide 40

    Copyright 2004 Pearson Education, Inc.

    Definitions

    Independent Events

    Two eventsA and B are independent if theoccurrence of one does not affect the

    probability of the occurrence of the other.(Several events are similarly independent if theoccurrence of any does not affect theoccurrence of the others.) IfA and B are not

    independent, they are said to be dependent.

  • 8/8/2019 tes9e_ch03

    41/74

    Slide 41

    Copyright 2004 Pearson Education, Inc.

    FormalMultiplication Rule

    P(A and B) = P(A) P(B A)

    Note that if A and B are independent

    events, P(B A) is really the same as

    P(B)

  • 8/8/2019 tes9e_ch03

    42/74

  • 8/8/2019 tes9e_ch03

    43/74

    Slide 43

    Copyright 2004 Pearson Education, Inc.

    Applying theMultiplication Rule

    Figure 3-9

  • 8/8/2019 tes9e_ch03

    44/74

    Slide 44

    Copyright 2004 Pearson Education, Inc.

    Small Samples fromLarge Populations

    If a sample size is no more than 5% of

    the size of the population, treat the

    selections as being independent(evenif the selections are made without

    replacement, so they are technically

    dependent).

  • 8/8/2019 tes9e_ch03

    45/74

    Slide 45

    Copyright 2004 Pearson Education, Inc.

    Summary of Fundamentals

    In the addition rule, the word or on P(A orB)

    suggests addition. Add P(A) and P(B), being

    careful to add in such a way that every outcome is

    counted only once.

    In the multiplication rule, the word and in P(A and B)

    suggests multiplication. Multiply P(A) and P(B),

    but be sure that the probability of event B takesinto account the previous occurrence of eventA.

  • 8/8/2019 tes9e_ch03

    46/74

    Slide 46

    Copyright 2004 Pearson Education, Inc.

    Recap

    In this section we have discussed:

    Notation forP(A and B).

    Notation for conditional probability.

    Independent events.

    Formal and intuitive multiplication rules.

    Tree diagrams.

  • 8/8/2019 tes9e_ch03

    47/74

    Slide 47

    Copyright 2004 Pearson Education, Inc.

    Created by Tom Wegleitner, Centreville, Virginia

    Section 3-5Multiplication Rule:

    Complements and

    Conditional Probability

  • 8/8/2019 tes9e_ch03

    48/74

    Slide 48

    Copyright 2004 Pearson Education, Inc.

    Complements: The Probabilityof At Least One

    The complement of getting at least oneitem of a particular type is that you get

    no items of that type.

    At least one is equivalent to one ormore.

  • 8/8/2019 tes9e_ch03

    49/74

    Slide 49

    Copyright 2004 Pearson Education, Inc.

    Example

    Gender of Children Find the probability of a couplehaving at least 1 girl among 3 children. Assume thatboys and girls are equally likely and that the gender ofa child is independent of the gender of any brothers or

    sisters.

    Solution

    Step 1: Use a symbol to represent the event desired.

    In this case, letA = at least 1 of the 3children is a girl.

  • 8/8/2019 tes9e_ch03

    50/74

    Slide 50

    Copyright 2004 Pearson Education, Inc.

    Solution (cont)

    Step 2: Identify the event that is the complement ofA.

    A = not getting at least 1 girl among 3children

    = all 3 children are boys

    = boy and boy and boy

    Example

    Step 3: Find the probability of the complement.

    P(A) = P(boy and boy and boy)

    1 1 1 12 2 2 8

    ! y y !

  • 8/8/2019 tes9e_ch03

    51/74

    Slide 51

    Copyright 2004 Pearson Education, Inc.

    Example

    Solution (cont)

    Step 4: Find P(A) by evaluating 1 P(A).

    1 7( ) 1 ( ) 18 8

    ! ! !P A P A

    Interpretation There is a 7/8 probability that if acouple has 3 children, at least 1 of them is a girl.

  • 8/8/2019 tes9e_ch03

    52/74

    Slide 52

    Copyright 2004 Pearson Education, Inc.

    Key Principle

    To find the probability ofatleastone ofsomething, calculate the probability ofnone, then subtract that result from 1.

    That is,

    P(at least one) = 1 P(none)

    f

  • 8/8/2019 tes9e_ch03

    53/74

    Slide 53

    Copyright 2004 Pearson Education, Inc.

    Definition

    A conditional probability of an event is a probabilityobtained with the additional information that some otherevent has already occurred. P(B A) denotes theconditional probability of event B occurring, given thatA

    has already occurred, and it can be found by dividing theprobability of eventsA and B both occurring by theprobability of eventA:

    P(B A) =

    P(A and B)

    P(A)

  • 8/8/2019 tes9e_ch03

    54/74

  • 8/8/2019 tes9e_ch03

    55/74

    Slide 55

    Copyright 2004 Pearson Education, Inc.

    Testing for Independence

    In Section 3-4 we stated that eventsA and B areindependent if the occurrence of one does notaffect the probability of occurrence of the other.This suggests the following test for independence:

    Two eventsA and B areindependentif

    Two eventsA and B aredependentif

    P(B A) = P(B)

    or

    P(A and B) = P(A) P(B)

    P(B A) = P(B)

    or

    P(A and B) = P(A) P(B)

    R

  • 8/8/2019 tes9e_ch03

    56/74

    Slide 56

    Copyright 2004 Pearson Education, Inc.

    Recap

    In this section we have discussed:

    Concept of at least one.

    Conditional probability.

    Intuitive approach to conditional probability.

    Testing for independence.

  • 8/8/2019 tes9e_ch03

    57/74

    Slide 57

    Copyright 2004 Pearson Education, Inc.

    Created by Tom Wegleitner, Centreville, Virginia

    Section 3-6Probabilities Through

    Simulations

    D fi iti

  • 8/8/2019 tes9e_ch03

    58/74

    Slide 58

    Copyright 2004 Pearson Education, Inc.

    Definition

    A simulation of a procedure is a

    process that behaves the same way asthe procedure, so that similar results

    are produced.

  • 8/8/2019 tes9e_ch03

    59/74

    Si l ti E l

  • 8/8/2019 tes9e_ch03

    60/74

    Slide 60

    Copyright 2004 Pearson Education, Inc.

    Simulation Examples

    Solution 1:

    Flipping a fair coin where heads = female and

    tails = male

    H H T H T T H H H H

    female female male female male male male female female female

    Si l ti E l

  • 8/8/2019 tes9e_ch03

    61/74

    Slide 61

    Copyright 2004 Pearson Education, Inc.

    Simulation Examples

    Solution 1:

    Flipping a fair coin where heads = female andtails = male

    H H T H T T H H H H

    female female male female male male male female female female

    Solution2:

    Generating 0s and 1s with a computer or

    calculator where 0 = male1 = female

    0 0 1 0 1 1 1 0 0 0

    male male female male female female female male male male

    R d N b

  • 8/8/2019 tes9e_ch03

    62/74

    Slide 62

    Copyright 2004 Pearson Education, Inc.

    Random Numbers

    In many experiments, random numbers are used inthe simulation naturally occurring events. Below are

    some ways to generate random numbers.

    A random table of digits

    Minitab

    Excel

    TI-83 Plus calculator

    STATDISK

    R

  • 8/8/2019 tes9e_ch03

    63/74

    Slide 63

    Copyright 2004 Pearson Education, Inc.

    Recap

    In this section we have discussed:

    The definition of a simulation.

    Ways to generate random numbers.

    How to create a simulation.

  • 8/8/2019 tes9e_ch03

    64/74

    Slide 64

    Copyright 2004 Pearson Education, Inc.

    Created by Tom Wegleitner, Centreville, Virginia

    Section 3-7Counting

    F d t l C ti R l

  • 8/8/2019 tes9e_ch03

    65/74

    Slide 65

    Copyright 2004 Pearson Education, Inc.

    Fundamental Counting Rule

    For a sequence of two events in which

    the first event can occurm ways and

    the second event can occurn ways,

    the events together can occur a total of

    m n ways.

    N t ti

  • 8/8/2019 tes9e_ch03

    66/74

    Slide 66

    Copyright 2004 Pearson Education, Inc.

    Notation

    The factorial symbol ! Denotes the product of

    decreasing positive whole numbers. For example,

    ! .! y y y !

    By special definition, 0! = .

    F t i l R l

  • 8/8/2019 tes9e_ch03

    67/74

    Slide 67

    Copyright 2004 Pearson Education, Inc.

    A collection ofn different items can be

    arranged in ordern! different ways.

    (This factorial rule reflects the fact thatthe first item may be selected in n

    different ways, the second item may be

    selected in n 1 ways, and so on.)

    Factorial Rule

    P t ti R l

  • 8/8/2019 tes9e_ch03

    68/74

    Slide 68

    Copyright 2004 Pearson Education, Inc.

    Permutations Rule(when items are all different)

    (n

    -r

    )!

    n rP =n!

    The number ofpermutations (or sequences)

    ofr items selected from n available items

    (without replacement is

    Permutation Rule:

  • 8/8/2019 tes9e_ch03

    69/74

    Slide 69

    Copyright 2004 Pearson Education, Inc.

    Permutation Rule:

    Conditions

    We must have a total ofn different items

    available. (This rule does not apply if

    some items are identical to others.)

    We must select rof the n items (without

    replacement.)

    We must consider rearrangements of thesame items to be different sequences.

    P t ti R l

  • 8/8/2019 tes9e_ch03

    70/74

    Slide 70

    Copyright 2004 Pearson Education, Inc.

    Permutations Rule( when some items are identical to others )

    n1! . n2! .. . . . . . . nk!

    n!

    If there are n items with n1 alike, n2 alike, .

    . . nk alike, the number of permutations of

    all n items is

    C bi ti R l

  • 8/8/2019 tes9e_ch03

    71/74

    Slide 71

    Copyright 2004 Pearson Education, Inc.

    (n - r )! r!n!

    nC

    r=

    Combinations Rule

    The number of combinations ofr items

    selected from n different items is

    Combinations Rule:

  • 8/8/2019 tes9e_ch03

    72/74

    Slide 72

    Copyright 2004 Pearson Education, Inc.

    Combinations Rule:

    Conditions

    We must have a total ofn different items

    available.

    We must select rof the n items (without

    replacement.)

    We must consider rearrangements of thesame items to be the same. (The

    combinationABCis the same as

    CBA.)

    Permutations versus

  • 8/8/2019 tes9e_ch03

    73/74

    Slide 73

    Copyright 2004 Pearson Education, Inc.

    When different orderings of the same items

    are to be counted separately, we have a

    permutation problem, but when differentorderings are not to be counted separately,

    we have a combination problem.

    Permutations versus

    Combinations

    Recap

  • 8/8/2019 tes9e_ch03

    74/74

    Slide 74Recap

    In this section we have discussed:

    The fundamental counting rule.

    The permutations rule (when items are alldifferent.)

    The permutations rule (when some items areidentical to others.)

    The combinations rule.

    The factorial rule.