Docsity

CHAPTER 2 PROBABILITY 2.1 Sample Space 2.2 Events, Exercises of Spanish

Toggle sidebar
bg1
CHAPTER 2
PROBABILITY
2.1 Sample Space
Aprobability model consists of the sample space and
the way to assign probabilities.
Sample space & sample point
The sample space S, is the set of all possible outcomes
of a statistical experiment.
Each outcome in a sample space is called a sample
point. It is also called an element or a member of the
sample space.
For example, there are only two outcomes for
tossing a coin, and the sample space is
S={heads, tails},or,S={H, T}.
If we toss a coin three times, then the sample space is
S={HHH, HHT, HTH, THH, HTT, TTH, THT, TTT}.
EXAMPLE 2.1. Consider rolling a fair die twice and
observing the dots facing up on each roll. What is the
sample space?
There are 36 possible outcomes in the sample
space S, where
S=
(1,1) (1,2) (1,3) (1,4) (1,5) (1,6)
(2,1) (2,2) (2,3) (2,4) (2,5) (2,6)
(3,1) (3,2) (3,3) (3,4) (3,5) (3,6)
(4,1) (4,2) (4,3) (4,4) (4,5) (4,6)
(5,1) (5,2) (5,3) (5,4) (5,5) (5,6)
(6,1) (6,2) (6,3) (6,4) (6,5) (6,6)
NOTE .You may use a tree diagram to systematically
list the sample points of the sample space.
EXAMPLE 2.2. A fair six-sided die has 3 faces that are
painted blue (B), 2 faces that are red (R) and 1 face that
is green (G). We toss the die twice. List the complete
sample space of all possible outcomes.
(a) if we are interested in the color facing upward on
each of the two tosses.
(b) if the outcome of interest is the number of red we
observe on the two tosses.
NOTE .Astatement or rule method will best describe
a sample space with a large or infinity number of sample
points. For example, if Sis the set of all points (x,y)on
the boundary or the interior of a unit circle, we write a
rule/statement S={(x,y)|x2+y2≤1}.
EXAMPLE 2.3. List the elements of each of the follow-
ing sample spaces:
(a) S={x|x2−3x+2=0}
(b) S={x|ex<0}
NOTE .The null set, or empty set, denoted by φ, con-
tains no members/elements at all.
2.2 Events
Event
An event is a subset of a sample space.
Refer to Example 2.1. “the sum of the dots is
6” is an event. It is expressible of a set of elements
E={(1,5) (2,4) (3,3) (4,2) (5,1)}
Complement
The event that Adoes not occur, denoted as A0, is
called the complement of event A.
pf3
pf4
pf5

Partial preview of the text

Download CHAPTER 2 PROBABILITY 2.1 Sample Space 2.2 Events and more Exercises Spanish in PDF only on Docsity!

CHAPTER 2

PROBABILITY

2.1 Sample Space

A probability model consists of the sample space and the way to assign probabilities.

Sample space & sample point

The sample space S, is the set of all possible outcomes of a statistical experiment.

Each outcome in a sample space is called a sample point. It is also called an element or a member of the sample space.

For example, there are only two outcomes for tossing a coin, and the sample space is

S = {heads, tails}, or, S = {H, T}.

If we toss a coin three times, then the sample space is

S = {HHH, HHT, HTH, THH, HTT, TTH, THT, TTT}.

EXAMPLE 2.1. Consider rolling a fair die twice and observing the dots facing up on each roll. What is the sample space?

There are 36 possible outcomes in the sample space S, where

S =

NOTE. You may use a tree diagram to systematically list the sample points of the sample space.

EXAMPLE 2.2. A fair six-sided die has 3 faces that are painted blue (B), 2 faces that are red (R) and 1 face that is green (G). We toss the die twice. List the complete sample space of all possible outcomes.

(a) if we are interested in the color facing upward on each of the two tosses.

(b) if the outcome of interest is the number of red we observe on the two tosses. NOTE. A statement or rule method will best describe a sample space with a large or infinity number of sample points. For example, if S is the set of all points (x, y) on the boundary or the interior of a unit circle, we write a rule/statement S = {(x, y)|x^2 + y^2 ≤ 1 }. EXAMPLE 2.3. List the elements of each of the follow- ing sample spaces:

(a) S = {x|x^2 − 3 x + 2 = 0 }

(b) S = {x|ex^ < 0 } NOTE. The null set, or empty set, denoted by φ , con- tains no members/elements at all.

2.2 Events

Event An event is a subset of a sample space.

Refer to Example 2.1. “the sum of the dots is 6” is an event. It is expressible of a set of elements

E = {( 1 , 5 ) ( 2 , 4 ) ( 3 , 3 ) ( 4 , 2 ) ( 5 , 1 )}

Complement The event that A does not occur, denoted as A′, is called the complement of event A.

4 Chapter 2. Probability

EXAMPLE 2.4. Refer to Example 2.1. What are the complement events of

(a) event A “the sum of the dots is greater than 3”

(b) event B “the two dots are different”

Intersection The intersection of two events A and B, denoted by A ∩ B, is the event containing all elements that are common to A and B. EXAMPLE 2.5. Refer to the preceding example. Give A ∩ B′, A′^ ∩ B and A′^ ∩ B′.

Mutually Exclusive Events that have no outcomes in common are said to be disjoint or mutually exclusive.

Clearly, A and B are mutually exclusive or disjoint if and only if A ∩ B is a null set. EXAMPLE 2.6. Refer to Example 2.1. Consider the events

C = {first die faces up with a 6} D = {sum is at most 5}. Verify that C and D are mutually exclusive.

Union The union of the two events A and B, denoted by A∪B, is the event containing all the elements that belong to A or B or both. EXAMPLE 2.7. Refer to Example 2.1. Consider the events

B = {the two dots are different} F = {sum is at least 11}. What is B′^ ∪ F? NOTE. The Venn diagram is a useful tool to graphi- cally illustrate the complement, intersection and union of the events. EXAMPLE 2.8. In a school of 320 students, 85 students are in the band, 200 students are on sports teams, and 60 students participate in both activities. How many stu- dents are involved in either band or sports? How many are involved neither band nor sports? EXAMPLE 2.9. A guidance counselor is planning sched- ules for 30 students. Sixteen students say they want to take French, 16 want to take Spanish, and 11 want to take Latin. Five say they want to take both French and Latin, and of these, 3 wanted to take Spanish as well. Five want only Latin, and 8 want only Spanish. How many students want French only?

Useful relationships

A ∩ φ = φ S′^ = φ A ∪ φ = A φ ′^ = S A ∩ A′^ = φ (A ∩ B)′^ = A′^ ∪ B′ A ∪ A′^ = S (A ∪ B)′^ = A′^ ∩ B′ (A′)′^ = A

2.3 Counting Sample Points

Multiplication rule If an operation can be performed in n 1 ways, and if of each of these ways a second operation can be per- formed in n 2 ways, then the two operations can be performed together in n 1 n 2 ways. NOTE. This rule can be extended for k operations. It is called the generalized multiplication rule. EXAMPLE 2.10. (a) A business man has 4 dress shirts and 7 ties. How many different shirt/tie outfits can he create?

(b) How many sample points are in the sample space when a coin is flipped 4 times?

EXAMPLE 2.11. How many even three-digit numbers can be formed from the digits 0, 3, 4, 7, 8, and 9 if each digit can be used only once?

Permutation A permutation is an arrangement of all or part of a set of objects. The arrangements are different/distinct.

Denote by factorial symbol! the product of de- creasing positive whole numbers.

n! = n(n − 1 )(n − 2 ) · · · ( 2 )( 1 )

By convention, 0! = 1.

Factorial rule The number of permutations of n objects is n!.

That is, a collection of n different items can be arranged in order n! = n(n − 1 ) · · · 2 · 1 different ways.

Permutation rule (when all items are all different) The number of permutations of n distinct objects taken r at a time is

nPr =^

n! (n − r)! = n(n − 1 ) · · · (n − r + 1 )

STAT-3611 Lecture Notes 2015 Fall X. Li

6 Chapter 2. Probability

  • If there is k (finite) outcomes in the sample

space S, all equally likely, then each individual outcome has probability 1 /k. The probability of event A is P (A) = count of outcomes in A count of outcomes in S EXAMPLE 2.19. We roll two balanced dice and observe on each die the number of dots facing up. Determine the probability of the event that (a) the sum of the dice is 6. (b) doubles are rolled – that is, both dice come up the same number. EXAMPLE 2.20. An American roulette wheel contains 38 numbers, of which 18 are red, 18 are black, and 2 are green. When the roulette wheel is spun, the ball is equally likely to land on any of the 38 numbers. Deter- mine the probabilities that the number on which the ball lands is red, black and green, respectively? EXAMPLE 2.21. (a) Suppose that we select a card at random from a deck of 52 playing cards. Find the probability that the card selected is a red card. What about a spade card? A face card? (b) In a poker hand of 5 cards, find the probability that the cards selected are 3 aces and 2 kings.

2.5 Additive Rules

Formal addition rule (General addition rule) for unions of two events For any events A and B, P (A ∪ B) = P (A) + P (B) − P (A ∩ B) Chapter 2 Probability Bowl.” When opinions and prior information differ from individual to individual, subjective probability becomes the relevant resource. In Bayesian statistics (see Chapter 18), a more subjective interpretation of probability will be used, based on an elicitation of prior probability information.

ive Rules

Often it is easiest to calculate the probability of some event from known prob- abilities of other events. This may well be true if the event in question can be represented as the union of two other events or as the complement of some event. Several important laws that frequently simplify the computation of probabilities follow. The first, called the additive rule, applies to unions of events. : If^ A^ and^ B^ are two events, then P (A ∪ B) = P (A) + P (B) − P (A ∩ B). A A! B B S Figure 2.7: Additive rule of probability. of: Consider the Venn diagram in Figure 2.7. The P (A ∪ B) is the sum of the prob- abilities of the sample points in A ∪ B. Now P (A) + P (B) is the sum of all EXAMPLE 2.22. Suppose that we select a card at ran- dom from a deck of 52 playing cards. Find the probabil- ity that the card selected is either a spade or face card. EXAMPLE 2.23. Let A and B be two events such that P (A ∪ B) = 0 .6, P (A) = 0 .5, and P (B) = 0 .3. Determine P (A ∩ B). NOTE. For three events A, B and C, P (A ∪ B ∪C) = P (A) + P (B) + P (C) − P (A ∩ B) − P (A ∩C) − P (B ∩C)

  • P (A ∩ B ∩C). Intuitive addition rule (Addition rule for mutually exclusive events) If A and B are mutually exclusive, P (A ∪ B) = P (A) + P (B) EXAMPLE 2.24. Suppose that we select a card at ran- dom from a deck of 52 playing cards. Find the probabil- ity that the card selected is either an ace or a jack. A useful formula for P (A ∩ B′) P

(

A ∩ B′ ) = P (A) − P (A ∩ B)

EXAMPLE 2.25. Suppose that that P (A ∩ B) = 0 .1, P (A) = 0 .5, and P (B) = 0 .3. Determine (a) P

(

A ∩ B′ )

(b) P

(

A′^ ∩ B )

NOTE. We define a partition {A 1 , A 2 ,... , An} of a sam- ple space S as a collection of events satisfying that i) A 1 , A 2 ,... , An are mutually exclusive; and ii) A 1 ∪ A 2 ∪ · · · ∪ An = S. It is easy to see that, for a partition {A 1 , A 2 ,... , An} of S, P (A 1 ) + P (A 2 ) + · · · + P (An) = P (A 1 ∪ A 2 ∪ · · · ∪ An) = P (S) = 1 STAT-3611 Lecture Notes 2015 Fall X. Li

Section 2.6. Conditional probability 7

EXAMPLE 2.26. Let S = { 1 , 2 , 3 , 4 , 5 }. Determine if each of the following form a partition of S.

(a) A = { 1 , 3 , 5 } and B = { 2 , 3 , 4 }

(b) A = { 1 , 3 , 5 } and C = { 2 , 4 }

Complementary rule The probability that event A does not occur is 1 minus the probability that it occurs.

P

A′

= 1 − P (A)

NOTE. Clearly, P

A ∩ A′

= 0 and P

A ∪ A′

= P (S) =

  1. Thus, A and A′^ form a partition of S. EXAMPLE 2.27. Refer to Example 2.20. Use the com- plementary rule to determine the probability that the num- ber on which the ball lands is not black. EXAMPLE 2.28. We choose a new car at random and record its color. Here are the probabilities of the most popular colors for cars made in North America.

Color Silver White Black Blue Red Probability 0.21 0.16 0.11 0.12 0.

What is the probability that a randomly chosen car has any color other than the listed?

2.6 Conditional probability

Denote by P (B|A) the probability of event B occurring after it is assumed that event A has already occurred. It reads “the probability of B given A”. EXAMPLE 2.29. A jar consists of 5 sweets. 3 are green and 2 are blue. Lucky Smart wants to randomly pick two sweets without replacement. What is the probability that the second picked sweet is blue if it is known that her first pick is blue?

Conditional probability A conditional probability P (B|A) can be found by di- viding the probability of events A and B both occurring by the probability of event A

P (B|A) =

P (A ∩ B)

P (A)

, provided P (A) > 0.

EXAMPLE 2.30. The probability that an automobile be- ing filled with gasoline needs an oil change is 0.25; the probability that it also needs a new oil filter is 0.40; and the probability that both the oil and the filter need chang- ing is 0.14.

(a) If the oil has to be changed, what is the probability that a new oil filter is needed?

(b) If a new oil filter is needed, what is the probability that the oil has to be changed?

EXAMPLE 2.31. Evidence from a variety of sources suggests that diets high in salt are associated with risks to human health. To investigate the relationship between salt intake and stroke, information from 14 studies were combined in a meta-analysis. Subjects were classified based on the amount of salt in their normal diet. They were followed for several years and then classified ac- cording to whether or not they had developed cardiovas- cular disease (CVD). Here are the data from one of the studies:

Low salt High salt CVD 88 112 No CVD 1081 1134 Total 1169 1246

(a) If a subject has not developed CVD, what is the probability that he/she is from low salt group?

(b) If a subject is chosen at random from high salt group, what is the probability that he/she develops CVD?

(c) What is the probability that a randomly chosen subject develops CVD?

(d) What is the probability that a randomly chosen subject has developed CVD or he/she is from the low salt group?

Independent event Two events are said to be independent if knowing one occurs does not change the probability of the other occurring. Otherwise, they are dependent.

That is,

A and B are independent

if and only if P (B|A) = P (B)

EXAMPLE 2.32. Refer to Example 2.31. Based on parts (b) and (c), what can you say about the indepen- dence of “developing CVD” and “being in the high salt group”?

Formal (general) multiplication/product rule For two events A and B,

P (A ∩ B) = P (A) P (B|A) , provided P (A) > 0.

X. Li 2015 Fall STAT-3611 Lecture Notes