590 likes | 756 Views
KVANLI PAVUR KEELING. Chapter 5 Probability Concepts. Chapter Objectives. At the completion of this chapter, you should be able to answer the following questions: • What is meant by the term "probability"? • How to generate a probability ?
E N D
KVANLI PAVUR KEELING Chapter 5Probability Concepts
Chapter Objectives • At the completion of this chapter, you should be able to answer the following questions: • What is meant by the term "probability"? • How to generate a probability? • What is a contingency table? • What is meant by the term Marginal Probability, joint Probability, Or Probability, and Conditional Probability? How to calculate?
Chapter Objectives - Continued • At the completion of this chapter, you should be able to answer the following questions: • What are Independent Event and Mutually Exclusive event? • How are multiple events handled? • How do you compute probabilities using the additive rule? The multiplicative rule?
Let’s Make a Deal Curtain #2 Curtain #3 Curtain #1 Behind two curtains sits a goat and behind one curtain sits a new Corvette Remember: The host of the show knows what is behind each curtain
Three Questions • Question #1: Should you trade (does it make any difference)? • Question #2: If you’re a curtain trader, what is the probability of you getting the Corvette? • Question #3: If you’re not a curtain trader (you’ll stay with your original pick), what is this probability?
Question #3 • For this situation, all the curtains are closed and you’ll need to pick the curtain with the Corvette behind it • Since one curtain out of three has the Corvette, your chances of getting the Corvette are 1 out of 3 • We say that this probability is 1/3
Questions #1 and #2 • What happens if, on your initial pick (all the curtains are closed), you pick a goat curtain? • What must be behind the remaining curtain? The curtain you picked – has a goat behind it The remaining curtain
Questions #1 and #2 The curtain you picked – has a goat behind it Conclusion: If you’re a curtain trader (you will trade curtains when given the offer), all you need to do on the initial pick (with all curtains closed) is pick a goat curtain.
Questions #1 and #2 • What are the chances of you picking a goat curtain on your initial pick? • Since two of the three curtains are goat curtains, your chances of picking a goat curtain are 2 out of 3 • We say that this probability is 2/3 • A curtain trader is twice as likely to win the Corvette as a non-curtain trader
Summary • This was the solution proposed by Marilyn Vos Savant • And she’s correct! • Many readers wrote to her chewing her out for offering such a lame answer • A sample of these comments is shown on the next two slides
Reader Comments • I have been a faithful reader of your column, and I have not, until now, had any reason to doubt you. However, in this matter (for which I do have expertise), your answer is clearly at odds with the truth. James Rauff, Ph.D.MillikinUniversity • May I suggest that you obtain and refer to a standard textbook on probability before you try to answer a question of this type again? Charles Reid, Ph.D.University of Florida • You are the goat! Glenn Calkins Western State College
More Comments • You are utterly incorrect about the game show question, and I hope this controversy will call some public attention to the serious national crisis in mathematical education. If you can admit your error, you will have contributed constructively towards the solution of a deplorable situation. How many irate mathematicians are needed to get you to change your mind? E. Ray Bobo, Ph.D.Georgetown University • I am in shock that after being corrected by at least three mathematicians, you still do not see your mistake. Kent FordDickinson State University
Basic Concepts Statistical Experiment: Can be considered as any random activity that results in a definite outcome. An event is a collection of one or more outcomes of a statistical experiment (Capital letter). P(A) = probability that event A occurs Suppose a particular experiment has n possible outcomes and event A occurs in m of the n outcomes. Classical definition : P(A) = m/n (Assume: n possible outcomes have the same chance for occurring.)
Classical Definition of a Probability P(A) = probability that event A occurs Example: Draw a single card from a deck containing 52 cards, 13 cards of each suit P(draw a six) is 4/52 = .077 • Have n equally likely outcomes • m of these satisfy the condition • The probability is m/n 8% chance of drawing a six 52 4
Relative Frequency Definition The relative frequency definition of a probability is based on past observations Example: Your last 200 customers • P(next customer is a female) is 140 / 200 = .7 • Based on these observations, there is a 70% chance that the next customer is a female 140 females 60 males
Using a Contingency Table • A group of 400 undergraduate students are classified according to their gender and year in school • One student is selected at random
Marginal Probabilities • The chances that the person selected is a female is: P(F) = 150/400 = .375 • The chances that the person selected is a junior is: P(JR) = 120/400 = .3 There is a 30% chance of this event
Joint Probabilities The probability of the occurrence of two events at the same time There is a 20% chance of selecting a male and a junior • What is P(M and JR)? • P(M and JR) = 80/400 = .2 • What is P(SO and F)? • P(SO and F) = 60/400 = .15
More on Joint Probabilities • What is P(FR and JR)? • This probability is zero since a student cannot be • both a freshman and a junior • The two events, FR and JR, are said to be mutually • exclusive – they cannot both occur
Finding an OR Probability The probability of either event A or event B occurring: P(A or B) • What is P(M or JR)? • P(M or JR) is (250 + 40)/400 = 290/400 = .725
Finding an OR Probability • In general, when finding “or” probabilities, the • boxes that qualify have a “t” shape • Sometimes, the “t” is upside down • Sometimes, it doesn’t quite look like a “t”
OR Probabilities for Mutually Exclusive Events • P(FR or SO) is (80 + 140)/400 = 220/400 = .55 • (80 + 140)/400 = 80/400 + 140/400 = P(FR) + P(SO) • Rule: When two events are mutually exclusive, • the two probabilities can be added
Complement of an Event P(A) + P(A) = 1 • What is the probability of not selecting a junior? • This is written P(JR) and is equal to 1 – P(JR) • P(JR) = 1 – 120/400 = .7 • JR is called the complement of JR
Simple Question The probability that a college student, who has not received a flue shot, will get the flu is 0.45. What is the probability that a college student will not get the flu if the student has not had the flu shot?
Conditional Probability Whenever you are given information and are asked to find a probability based on this information, the result is a conditional probability. P(A | B) • Suppose you know (someone tells you) that the • person selected is a male. What are the chances this person is a freshman? P(FR|M)
Conditional Probability • There are 250 males and we are told that the person • selected is one of these • 50 of these 250 males are freshmen • P(FR|M) = 50/250 = .2 • 20% of the males are freshmen (but not the other • way around)
Independent Events • Note that P(FR) is 80/400 = .2 • Here, P(FR|M) is the same as P(FR) • When the occurrence of one event has no effect • on the occurrence of another event, these events • are said to be independent
Independent Events Events A and B are independent if and only if: 1. P(A | B) = P(A) (assuming P(B) ≠ 0), or 2. P(B | A) = P(B) (assuming P(A) ≠ 0), or 3. P(A and B) = P(A) • P(B)
Two Other Events • Are the events female (F) and Junior (JR) mutually • exclusive? • Can both events occur? Yes, there are 40 • people who are female and juniors. • These two events are not mutually exclusive
Events F and JR • Are the events female (F) and Junior (JR) independent? • P(F|JR) is 40/120 = .33 since 40 of the juniors are female • P(F) is 150/400 = .375 since 150 of the students are female • Since these two probabilities are not the same, these two • events are not independent
Events M and SR These must be the same • Are the events male (M) and senior (SR) independent? • P(M|SR) is 40/60 = .67 since 40 of the 60 seniors are male • P(M) is 250/400 = .625 since 250 of the 400 students are male • Since these two probabilities are not the same, these two • events are not independent
Drawing a Card Let A = drawing an ace B = drawing a spade Are these two events mutually exclusive? No, since both events can occur (an ace of spades)
Drawing a Card A = drawing an ace and B = drawing a spade Are these two events independent? P(A|B) = 1/13 since 1 of the 13 spades is an ace P(A) = 4/52 = 1/13 since 4 of the 52 cards are aces These two events are independent
Another Example • A = The Dow-Jones goes up more than 50 points tomorrow • B = It rains in Dallas tomorrow • Are these events mutually exclusive? • No, because both events can occur
Raining in Dallas • A = The Dow-Jones goes up more than 50 points tomorrow and B = It rains in Dallas tomorrow • Are these two events independent? • They are independent since P(A|B) is the same as P(A) • It’s not necessary to determine these two probabilities since raining in Dallas clearly has no effect on the Dow-Jones going up more than 50 points • And certainly, the Dow going up more than 50 points has no effect on whether it rains in Dallas
The Oil Wells Example • A = Oil well #1 hits oil B = Oil well #2 hits oil • Are these events mutually exclusive? • No, since both events could occur • Are events A and B independent? • It depends
The Oil Wells Example • It depends on the location of these wells • If wells #1 and #2 are right next to each other then well #1 hitting oil could very well have an effect on well #2 hitting oil (this probability just went up) • In this case, events A = well #1 hitting and B = well #2 hitting are not independent
The Oil Wells Example • If well #1 is in Oklahoma and well #2 is in Alaska, then well #1 hitting oil would most likely have no effect on well #2 hitting oil • P(B|A) is the same as P(B) • In this case, events A = well #1 hitting and B = well #2 hitting are independent
The Dreaded Word Problems • You’ll be given three (always three) pieces of information • You can solve these by setting up a contingency table with two rows and two columns that satisfies these three conditions
A B Venn Diagrams Figure 4.1
A A .4 .6 Venn Diagram for P(A) = .4 Figure 4.2 (a)
A B Venn Diagram for P(A and B) Figure 4.2 (b)
A B Venn Diagram for P(A or B) Figure 4.3 (a)
A B .25 .25 Venn Diagram of Mutually Exclusive Events Figure 4.3 (b)
Example 5.4 • This example is in the textbook • A certain community has a morning paper and an evening paper • The three pieces of information: • 20% of the people take the morning paper P(M) = .2 • 30% of the people take the evening paper P(E) = .3 • 10% of the people take both P(M and E) = .1 This is a joint probability
Example 5.4 Table M M 30 E 10 20 E 10 60 70 Any value can go here 20 80 100
Example 5.4 Solution Want to know: The probability a person takes the morning or evening paper: P(M or E) 2. What percentage of the morning subscribers take the evening paper? This is P(E|M) This is a conditional probability 1. P(M or E) is 40/100 = .4 So, 40% of the people take one paper or the other 2. P(E|M) is 10/20 = .5 So, 50% of the morning subscribers take the evening paper
Example 5.6 • This example is also in the textbook • You are examining the banks in a certain northeastern state • The three pieces of information: • 5% of the banks will fail P(fail) = .05 • 90% of the banks are insured P(ins) = .90 • 3% of the insured banks will fail P(fail|ins) = .03 This is a conditional probability
Example 5.6 Table ins ins 50 fail 27 23 fail 873 77 950 Remember: Any value can go here 900 100 1000