Docsity

Probability Theory: Complements, Conditional Probability, and Independent Events - Prof. J, Study notes of Statistics

Toggle sidebar
bg1
1
Sierra College – Math 13
Spring 2009 – Class 10/32
Today: Sections 4-5/4-7
Assignment: 4-5 {1, 3, 5, 7, 9, 11, 13, 21, 23}
4-6 {1, 3, 5, 7}
4-7 {1, 3, 5, 7, 9, 13, 17, 21}
Next: Sections 5-1/5-2
Instructor: John Burke
Web Page: http://math.sierracollege.edu/Staff/JohnBur ke/
Telephone: 916 337-0425
Office hours: (V-307) MW 2:35-5:00; M 2:45-3:45 (official)
2
4-5 Multiplication Rule: Complements
and Conditional Probability
The complement of “at least one” is “none”.
To find the probability of at least one of something, calculate
the probability of none, then subtract that result from 1.
That is, P(at least one) = 1 – P(none)
3
4-5 Complements and
Conditional Probability
Example: Find the probability that a couple with three
children has at least one girl.
pf3
pf4
pf5
pf8

Partial preview of the text

Download Probability Theory: Complements, Conditional Probability, and Independent Events - Prof. J and more Study notes Statistics in PDF only on Docsity!

Sierra College – Math 13

Spring 2009 – Class 10/

Today: Sections 4-5/4-

Assignment: 4-5 {1, 3, 5, 7, 9, 11, 13, 21, 23}

4-6 {1, 3, 5, 7}

4-7 {1, 3, 5, 7, 9, 13, 17, 21}

Next: Sections 5-1/5-

Instructor: John Burke

E-mail: [email protected]

Web Page: http://math.sierracollege.edu/Staff/JohnBurke/

Telephone: 916 337-

Office hours: (V-307) MW 2:35-5:00; M 2:45-3:45 (official)

4-5 Multiplication Rule: Complements

and Conditional Probability

The complement of “at least one” is “none”.

To find the probability of at least one of something, calculate

the probability of none, then subtract that result from 1.

That is, P(at least one) = 1 – P(none)

4-5 Complements and

Conditional Probability

Example: Find the probability that a couple with three

children has at least one girl.

Conditional Probability

Given the Multiplication Rule, we can rewrite it as

The conditional probability of event B occurring,

given that A has already occurred, can be found by

dividing the probability of events A and B both

occurring by the probability of event A.

P A and B

P B A

P A

Testing for Independence

Two events A and B are independent if

P(B|A) = P(B) or

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

Two events A and B are dependent if

P(B|A) ≠ P(B) or

P(A and B) ≠ P(A) · P(B)

If one passenger is selected, what is the probability that this

person survived, given that the selected person is a man?

Men Women Boys Girls Totals

Survived 332 318 29 27 706

Died 1360 104 35 18 1517

Total 1692 422 64 56 2223

Example

When to treat dependent data

as if it is independent - Example

With one method of the procedure called acceptance

sampling , a sample of items is randomly selected without

replacement, and the entire batch is rejected if there is at

least one defect.

Suppose the Medtyme Company has just manufactured

5000 blood pressure monitors and 4% are defective. If 3 of

them are selected and tested, what is the probability that

the entire batch will be rejected. [Calculate using

replacement and without replacement.]

4-6 Probabilities Through

Simulations

A simulation of a procedure is a process that behaves the

same way as the procedure, so that similar results are

produced.

Objectives:

  • What to consider when running a simulation
  • Simulating the tossing of a coin (Excel)
  • Simulating the tossing of two dice (TI-83 Plus & StatDisk)
  • Simulating the birthday problem (TI-83 Plus & Excel)

Things to Consider When

Running a Simulation

Make sure your model is correct.

How many simulations are necessary to achieve

reasonable results (remember the Law of Large Numbers)

  • the more the better!

Actual Heads (1) No. Trial Prob. P(A) Tails (0) Heads

32 0.5 0.5000 0 16 F9 to Recalculate P(A) after 1000 trials = 0.

33 0.5 0.4848 0 16 P(A) after 5000 trials = 0.

34 0.5 0.5000 1 17 P(A) after 10000 trials = 0.

Simulation of Flipping a Coin 10000 Times

Number of Trials

P(A)

The frequency probability of rolling 7 is 90/500 = 18%.

The theoretical probability of rolling 7 is 6/36 = 16.7%.

Simulating the Tossing of Two Dice

500 Simulated Tosses (TI-83 Plus)

Simulating the Tossing of Two Dice

10000 Simulated Tosses (StatDisk)

The frequency probability of rolling 7 is 1673/10,000 = 16.7%.

The theoretical probability of rolling 7 is 6/36 = 16.7%.

Fundamental Counting Rule

Factorial Rule

Permutations Rule(s)

Combinations Rule

4-7 Counting

4-7 Counting

Fundamental Counting Rule

For a sequence of two events in which the first event can

occur m ways and the second event can occur n ways, the

events together can occur m • n ways. Note, this extends to

any number of events.

Example: The typical home alarm system has a code that

consists of four digits. The digits (0 through 9) can be

repeated, and they must be entered in the correct order.

Assume that you plan to gain access by trying codes until you

find the correct one. How many different codes are possible?

4-7 Counting: Factorial Rule

A collection of n different items can be arranged in order n

factorial (*) different ways. This reflects the fact that the

first item may be selected n different ways, the second item

may be selected n-1 different ways, etc.

  • n! = n • (n-1) • (n-2) • • • 2 • 1

[e.g. 5! = 5x4x3x2x1 = 120]

Example: Suppose you want to design a travel route that

has you visit each state capital exactly once. How many

possible routes are there?

4-7 Counting: Permutations Rule(s)

Permutations Rule (when items are all different): The

number of permutations (or sequences of r items

from n available items (without replacement) is

n r

!

P

( )!

n

n r

=

−

Example: You belong to a club with 20 members.

How many different slates of 4 officers are possible?

20! 20 19 18 17 16!

116, 280

(20 4)! 16!

P

⋅ ⋅ ⋅ ⋅

= = =

−

4-7 Counting: Permutations Rule(s)

Example: You have just been hired to determine the

programming for the WB television network.

When selecting the shows to be shown on Monday night,

you find that you have 27 shows available and you must

select 4 of them.

Because of lead-in effects, the order of the shows is

important.

How many different sequences of 4 shows are possible

when there are 27 shows available.

4-7 Counting: Combinations Rule

The number of combinations of r items selected from n

different items is

!

( )!!

n r

n C

n r r

=

−

( )

20 4

20! 20 19 18 17 16!

5 19 3 17 4,

20 4! 4! 16! 4!

C

⋅ ⋅ ⋅ ⋅

= = = ⋅ ⋅ ⋅ =

− ⋅ ⋅

Example: Suppose you have a 20-member club. From

the members, you need to establish a committee of four.

How many ways is this possible?