Probability and Sample space

Slides:



Advertisements
Similar presentations
Probability: The Study of Randomness Chapter Randomness Think about flipping a coin n times If n = 2, can have 2 heads (100% heads), 1 heads and.
Advertisements

Sta220 - Statistics Mr. Smith Room 310 Class #7.
Intro to Probability STA 220 – Lecture #5. Randomness and Probability We call a phenomenon if individual outcomes are uncertain but there is nonetheless.
Chapter 5: Probability: What are the Chances?
Chapter 6 Probability and Simulation
Birthday Problem What is the smallest number of people you need in a group so that the probability of 2 or more people having the same birthday is greater.
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
Presentation 5. Probability.
Randomness and Probability
Randomness and probability
Probability and inference Randomness; Probability models IPS chapters 4.1 and 4.2 © 2006 W.H. Freeman and Company.
Probability and Simulation: The Study of Randomness
Aim: What are the models of probability?. What is a probability model? Probability Model: a description of a random phenomenon in the language of mathematics.
Chapter 4 Probability.
Section 5.2 Probability Rules
Chapter 5: Probability: What are the Chances?
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Chapter 8 Sets and Probabilities. 8.1 SETS The use of braces: { } Element (member) of a set, ,  Empty set  Distinguish: 0,  and {0} Equality of sets.
Chapter 4 Probability.
Applying the ideas: Probability
Mathematics in Today's World
Counting Principles (Permutations and Combinations )
AP Statistics Notes Chapter 14 and 15.
Probabilistic & Statistical Techniques Eng. Tamer Eshtawi First Semester Eng. Tamer Eshtawi First Semester
11/20/ Probability Rules.
Topic 2 – Probability Basic probability Conditional probability and independence Bayes rule Basic reliability.
1 Probability. 2 Today’s plan Probability Notations Laws of probability.
Chapter 1 Probability Spaces 主講人 : 虞台文. Content Sample Spaces and Events Event Operations Probability Spaces Conditional Probabilities Independence of.
Warm-Up 1. What is Benford’s Law?
Probability—outline: IIntroduction to Probability ASatisfactory outcomes vs. total outcomes BBasic Properties CTerminology IICombinatory Probability AThe.
Basic Probability Rules Let’s Keep it Simple. A Probability Event An event is one possible outcome or a set of outcomes of a random phenomenon. For example,
Chapter 16 Probability. Activity Rock-Paper-Scissors Shoot Tournament 1)Pair up and choose one person to be person A and the other person B. 2)Play 9.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
A phenomenon is random if individual outcomes are uncertain, but there is nonetheless a regular distribution of outcomes in a large number of repetitions.
5.1 Randomness  The Language of Probability  Thinking about Randomness  The Uses of Probability 1.
1 CHAPTER 7 PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
© 2010 Pearson Education, Inc. All rights reserved Chapter 9 9 Probability.
QR 32 Section #6 November 03, 2008 TA: Victoria Liublinska
Math 30-2 Probability & Odds. Acceptable Standards (50-79%)  The student can express odds for or odds against as a probability determine the probability.
The Study of Randomness
AP Statistics Notes Chapter 14 and 15.
In a random event, outcomes are uncertain, but there is nonetheless a regular distribution of outcomes in a large number of repetitions. We define the.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Stat 1510: General Rules of Probability. Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
Warm Up: Quick Write Which is more likely, flipping exactly 3 heads in 10 coin flips or flipping exactly 4 heads in 5 coin flips ?
From Randomness to Probability
+ Section 5.2 Probability Rules After this section, you should be able to… DESCRIBE chance behavior with a probability model DEFINE and APPLY basic rules.
Probability Models Section 6.2. The Language of Probability What is random? What is random? Empirical means that it is based on observation rather than.
Probability What is the probability of rolling “snake eyes” in one roll? What is the probability of rolling “yahtzee” in one roll?
Chapter 4 Probability Concepts
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
The study of randomness
Sequences, Series, and Probability
What is Probability? Quantification of uncertainty.
Probability.
Probability and Sample space
Definitions: Random Phenomenon:
CHAPTER 12: Introducing Probability
Unit 4 Probability Basics
Applicable Mathematics “Probability”
Probability—outline:
Probability and Sample Space
Warmup The chance of winning a prize from Herff- Jones is 1/22. How would you set up a simulation using the random number table to determine the probability.
Week 7 Lecture 2 Chapter 13. Probability Rules.
Chapter 3 Probability.
Section 6.2 Probability Models
Presentation transcript:

Probability and Sample space We call a phenomenon random if individual outcomes are uncertain but there is a regular distribution of outcomes in a large number of repetitions. The probability of any outcome of a random phenomenon is the proportion of times the outcome would occur in a very long series of repetitions. That is, probability is a long-term relative frequency. Example: Tossing a coin: P(H) = ? The sample space of a random phenomenon is the set of all possible outcomes. Example 4.3 Toss a coin the sample space is S = {H, T}. Example: From rolling a die, S = {1, 2, 3, 4, 5, 6}. week6

Events An event is an outcome or a set of outcomes of a random phenomenon. That is, an event is a subset of the sample space. Example: Take the sample space (S) for two tosses of a coin to be the 4 outcomes {HH, HT, TH TT}. Then exactly one head is an event, call it A, then A = {HT, TH}. Notation: The probability of an event A is denoted by P(A). week6

Union and Intersection of events The union of any collection of events is the event that at least one of the events in the collection occurs. Example: The event {A or B} is the union of A and B, it is the event that at least one of A or B occurs (either A occurs or B occurs or both occur). The intersection of any collection of events is the event that all of the events occur. Example: The event {A and B} is the intersection of A and B, it is the event that both A and B occur. week6

Probability rules 1. The probability P(A) of any event A satisfies 0 ≤ P(A) ≤ 1. 2. If S is the sample space in a probability model, then P(S) = 1. 3. The complement of any event A is the event that A does not occur, written as Ac . The complement rule states that P(Ac) = 1 - P(A) . 4. Two events A and B are disjoint if they have no outcomes in common and so can never occur together. If A and B are disjoint then P(A or B) = P(A U B) = P(A) + P(B) . This is the addition rule for disjoint events and can be extended for more than two events week6

Venn diagram week6

Question Probability is a measure of how likely an event is to occur. Match one of the probabilities that follow with each statement about an event. (The probability is usually a much more exact measure of likelihood than is the verbal statement.) 0 ; 0.01 ; 0.3 ; 0.6 ; 0.99 ; 1 (a) This event is impossible. It can never occur. (b) This event is certain. It will occur on every trial of the random phenomenon. (c) This event is very unlikely, but it will occur once in a while in a long sequence of trials. (d) This event will occur more often than not. week6

Probabilities for finite number of outcomes The individual outcomes of a random phenomenon are always disjoint. So the addition rule provides a way to assign probabilities to events with more then one outcome. Assign a probability to each individual outcome. These probabilities must be a number between 0 and 1 and must have sum 1. The probability of any event is the sum of the probabilities of the outcomes making up the event. week6

Question If you draw an M&M candy at random from a bag of the candies, the candy you draw will have one of six colors. The probability of drawing each color depends on the proportion of each color among all candies made. (a) The table below gives the probability of each color for a randomly chosen plain M&M: What must be the probability of drawing a blue candy? (b) What is the probability that a plain M&M is any of red, yellow, or orange? (c) What is the probability that a plain M&M is not red? Color  Brown Red Yellow Green Orange Blue Probability 0.30 .20 .10 ? week6

Question Choose an American farm at random and measure its size in acres. Here are the probabilities that the farm chosen falls in several acreage categories: Let A be the event that the farm is less than 50 acres in size, and let B be the event that it is 500 acres or more. (a) Find P(A) and P(B). (b) Describe Ac in words and find P(Ac) by the complement rule. (c) Describe {A or B} in words and find its probability by the addition rule. week6

Equally likely outcomes If a random phenomenon has k possible outcomes, all equally likely, then each individual outcome has probability 1/k. The probability of any event A is Example: A pair of fair dice are rolled. What is the probability that the 2nd die lands on a higher value than does the 1st ? week6

General Addition rule for the unions of two events If events A and B are not disjoint, they can occur together. For any two events A and B P(A or B) = P(A U B) = P(A) + P(B) - P(A and B). Exercise A retail establishment accepts either the American Express or the VISA credit card. A total of 24% of its customers carry an American Express card, 61% carry a VISA card, and 11% carry both. What percentage of its customers carry a card that the establishment will accept? Among 33 students in a class 17 earned A’s on the midterm exam, 14 earned A’s on the final exam, and 11 did not earn A’s on either examination. What is the probability that a randomly selected student from this class earned A’s on both exams? week6

Conditional Probability The probability we assign to an event can change if we know that some other event has occurred. When P(A) > 0, the conditional probability that B occurs given the information that A occurs is Example Here is a two-way table of all suicides committed in a recent year by sex of the victim and method used. week6

What is the probability that a randomly selected suicide victim is male? (b) What is the probability that the suicide victim used a firearm? (c) What is the conditional probability that a suicide used a firearm, given that it was a man? Given that it was a woman? Describe in simple language (don't use the word “probability”) what your results in (c) tell you about the difference between men and women with respect to suicide. week6

Independent events Two events A and B are independent if knowing that one occurs does not change the probability that the other occurs. That is, if A and B are independent then, P(B | A) = P(B) . Multiplication rule for independent events If A and B are independent events then, P(A and B) = P(A)·P(B) . The multiplication rule applies only to independent events; we can not use it if events are not independent. week6

Example The gene for albinism in humans is recessive. That is, carriers of this gene have probability 1/2 of passing it to a child, and the child is albino only if both parents pass the albinism gene. Parents pass their genes independently of each other. If both parents carry the albinism gene, what is the probability that their first child is albino? If they have two children (who inherit independently of each other), what is the probability that (a) both are albino? (b) neither is albino? (c) exactly one of the two children is albino? If they have three children (who inherit independently of each other), what is the probability that at least one of them is albino? week6

General Multiplication Rule The probability that both of two events A and B happen together can be found by P(A and B) = P(A)· P(B | A) Example 4.33 on page 317 in IPS. 29% of Internet users download music files and 67% of the downloaders say they don’t care if the music is copyrighted. The percent of Internet users who download music (event A) and don’t care about copyright (event B) is P(A and B) = P(A)· P(B | A) = 0.29·0.67 = 0.1943. week6

Bayes’s Rule If A and B are any events whose probabilities are not 0 or 1, then Example: Following exercise using tree diagram. Suppose that A1, A2,…, Ak are disjoint events whose probabilities are not 0 and add to exactly 1. That is any outcome is in exactly one of these events. Then if C is any other even whose probability is not 0 or 1, week6

Exercise The fraction of people in a population who have a certain disease is 0.01. A diagnostic test is available to test for the disease. But for a healthy person the chance of being falsely diagnosed as having the disease is 0.05, while for someone with the disease the chance of being falsely diagnosed as healthy is 0.2. Suppose the test is performed on a person selected at random from the population. What is the probability that the test shows a positive result? What is the probability that a person selected at random is one who has the disease but was diagnosed healthy? What is the probability that the person is correctly diagnosed and is healthy? If the test shows a positive result, what is the probability this person actually has the disease? week6

Exercise An automobile insurance company classifies drivers as class A (good risks), class B (medium risks), and class C (poor risks). Class A risks constitute 30% of the drivers who apply for insurance, and the probability that such a driver will have one or more accidents in any 12-month period is 0.01. The corresponding figures for class B are 50% and 0.03, while those for class C are 20% and 0.10. The company sells Mr. Jones an insurance policy, and within 12 months he had an accident. What is the probability that he is a class A risk? week6

Exercise The distribution of blood types among white Americans is approximately as follows: 37% type A, 13% type B, 44% type O, and 6% type AB. Suppose that the blood types of married couples are independent and that both the husband and wife follow this distribution. An individual with type B blood can safely receive transfusions only from persons with type B or type O blood. What is the probability that the husband of a woman with type B blood is an acceptable blood donor for her? What is the probability that in a randomly chosen couple the wife has type B blood and the husband has type A? What is the probability that one of a randomly chosen couple has type A blood and the other has type B? What is the probability that at least one of a randomly chosen couple has type O blood? week6

Question 13 Term Test Summer 99 A space vehicle has 3 ‘o-rings’ which are located at various field joint locations. Under current wheather conditions, the probability of failure of an individual o-ring is 0.04. A disaster occurs if any of the o-rings should fail. Find the probability of a disaster. State any assumptions you are making. (b) Find the probability that exactly one o-ring will fail. week6

Question 23 Final exam Dec 98 A large shipment of items is accepted by a quality checker only if a random sample of 8 items contains no defective ones. Suppose that in fact 5% of all items produced by this machine are defective. Find the probability that the next two shipments will both be rejected. week6

Question 9 Final exam Dec 2001 You are going to travel Montreal, Ottawa, Halifax, and Calgary, but the order is arbitrary. You put 4 marbles in a box, each one labeled for one city, and draw randomly. The first marble is the first city you will visit, the 2nd marble indicates your 2nd stop etc. What is the probability that you visit Ottawa just before or just after you visit Montreal? week6