Presentation is loading. Please wait.

Presentation is loading. Please wait.

Stat 1510: General Rules of Probability. Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The.

Similar presentations


Presentation on theme: "Stat 1510: General Rules of Probability. Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The."— Presentation transcript:

1 Stat 1510: General Rules of Probability

2 Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The General Multiplication Rule  Tree Diagrams  Bayes’ Rule

3 Probability Rules Rule 1. The probability P(A) of any event A satisfies 0 ≤ P(A) ≤ 1. Rule 2. If S is the sample space in a probability model, then P(S) = 1. Rule 3. If A and B are disjoint, P(A or B) = P(A) + P(B). This is the addition rule for disjoint events. Rule 4. For any event A, P(A does not occur) = 1 – P(A). Rule 1. The probability P(A) of any event A satisfies 0 ≤ P(A) ≤ 1. Rule 2. If S is the sample space in a probability model, then P(S) = 1. Rule 3. If A and B are disjoint, P(A or B) = P(A) + P(B). This is the addition rule for disjoint events. Rule 4. For any event A, P(A does not occur) = 1 – P(A). 3

4 4 Venn Diagrams Sometimes it is helpful to draw a picture to display relations among several events. A picture that shows the sample space S as a rectangular area and events as areas within S is called a Venn diagram. Two disjoint events: Two events that are not disjoint, and the event {A and B} consisting of the outcomes they have in common:

5 5 Venn diagram A &C A&B B&C A&B&C

6 6 Union and Intersection The intersection of two events A and B is the event that occurs if both A and B on a single performance of the experiment. We generally denoted this event as A  B The intersection of two events A and B is the event that occurs if both A and B on a single performance of the experiment. We generally denoted this event as A  B The union of two events A and B is the event that occurs if either A or B (or Both) occurs on a single performance of the experiment. We generally denoted this event as A U B Example: Consider the experiment of tossing a fair die in which following events are defined A : Toss an even number B: Toss a number less than or equal to 3. Find the events AUB and A  B and its probabilities?

7 7 Multiplication Rule for Independent Events If two events A and B do not influence each other, and if knowledge about one does not change the probability of the other, the events are said to be independent of each other. Multiplication Rule for Independent Events Two events A and B are independent if knowing that one occurs does not change the probability that the other occurs. If A and B are independent: P(A and B) = P(A  B)= P(A)  P(B) Multiplication Rule for Independent Events Two events A and B are independent if knowing that one occurs does not change the probability that the other occurs. If A and B are independent: P(A and B) = P(A  B)= P(A)  P(B)

8 8 Multiplication Rule for Independent Events Example  Suppose that about 20% of incoming male new undergrad students smoke.  Suppose these undergrads are randomly assigned in pairs to dorm rooms (assignments are independent).  The probability of a match (both smokers or both non-smokers):  both are smokers: 0.04 = (0.20)(0.20)  neither is a smoker: 0.64 = (0.80)(0.80)  only one is a smoker: ? } 68% 32% (100%  68%) What if pairs are self-selected?

9 The General Addition Rule 9 We know if A and B are disjoint events, P(A or B) = P(A U B) = P(A) + P(B) Addition Rule for Any Two Events For any two events A and B: P(A or B) = P(AUB) = P(A) + P(B) – P(A  B) For any three events – A,B &C P(A U B U C) = P(A) + P(B) +P(C) – P(A  B) - P(A  C) – P(B  C) + P(A  B  C) Addition Rule for Any Two Events For any two events A and B: P(A or B) = P(AUB) = P(A) + P(B) – P(A  B) For any three events – A,B &C P(A U B U C) = P(A) + P(B) +P(C) – P(A  B) - P(A  C) – P(B  C) + P(A  B  C)

10 10 Case Study Student Demographics At a certain university, 80% of the students were in- province students (event A), 30% of the students were part-time students (event B), and 20% of the students were both in-province and part-time students (event {A and B}). So we have that P(A) = 0.80, P(B) = 0.30, and P(A and B) = 0.20. What is the probability that a student is either an in- province student or a part-time student?

11 11 Other Students P(A or B)= P(A) + P(B)  P(A and B) = 0.80 + 0.30  0.20 = 0.90 All Students Part-time (B) 0.30 {A and B} 0.20 Case Study In-province (A) 0.80

12 Conditional Probability The probability we assign to an event can change if we know that some other event has occurred. This idea is the key to many applications of probability. When we are trying to find the probability that one event will happen under the condition that some other event is already known to have occurred, we are trying to determine a conditional probability. The probability that one event happens given that another event is already known to have happened is called a conditional probability. When P(A) > 0, the probability that event B happens given that event A has happened is found by: The probability that one event happens given that another event is already known to have happened is called a conditional probability. When P(A) > 0, the probability that event B happens given that event A has happened is found by: 12

13 The General Multiplication Rule 13 The probability that events A and B both occur can be found using the general multiplication rule P(A and B) = P(A) P(B | A) where P(B | A) is the conditional probability that event B occurs given that event A has already occurred. The probability that events A and B both occur can be found using the general multiplication rule P(A and B) = P(A) P(B | A) where P(B | A) is the conditional probability that event B occurs given that event A has already occurred. The definition of conditional probability reminds us that in principle all probabilities, including conditional probabilities, can be found from the assignment of probabilities to events that describe a random phenomenon. The definition of conditional probability then turns into a rule for finding the probability that both of two events occur. Note: Two events A and B that both have positive probability are independent if: P(B|A) = P(B) Note: Two events A and B that both have positive probability are independent if: P(B|A) = P(B)

14 14 Case Study Student Demographics At a certain university, 20% of first year students smoke, and 25% of all students are first year students. Let A be the event that a student is a first year student, and let B be the event that a student smokes. So we have that P(A) = 0.25, and P(B|A) = 0.20. What is the probability that a student smokes and is a first year student?

15 15 Case Study Student Demographics P(A) = 0.25, P(B|A) = 0.20 5% of all students are first year student smokers. P(A and B)= P(A)  P(B|A) = 0.25  0.20 = 0.05

16 16 Tree Diagrams We learned how to describe the sample space S of a chance process. Another way to model chance behavior that involves a sequence of outcomes is to construct a tree diagram. Consider flipping a coin twice. What is the probability of getting two heads? Sample Space: HH HT TH TT So, P(two heads) = P(HH) = 1/4

17 17 Example The Pew Internet and American Life Project finds that 93% of teenagers (ages 12 to 17) use the Internet, and that 55% of online teens have posted a profile on a social-networking site. What percent of teens are online and have posted a profile? 51.15% of teens are online and have posted a profile.

18 18 Total Probability The events A1 and A2 are mutually exclusive if no two have any common outcomes The events A1 and A2 are exhaustive if either A1 or A2 must occur so that A1 U A2 = S If A1 and A2 are mutually exclusive and exhaustive, and B is another event, then P(B) = P(B|A1)*P(A1) + P(B|A2)*P(A2)

19 19 Bayes’ Theorem Let A1 and A2 be mutually exclusive and exhaustive events, and B is any other event with P(B) > 0, then

20 20 Example NCI estimates that 3.65% of women in their 60’s get breast cancer. A mammogram can typically identify correctly 85% of cancer and 95% of cases without cancer. If a women in her 60’s gets a positive mammogram, what is the probability that she indeed has breast cancer? P( cancer)=0.0365; P( no cancer)=0.9635 P( test +| cancer) = 0.85; P( test - | cancer) = 0.15 P( test + | no cancer) = 0.05; P( test - | no cancer) =0.95 What we want is P( cancer | test +)?

21 21 Example


Download ppt "Stat 1510: General Rules of Probability. Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The."

Similar presentations


Ads by Google