Lecture 2: Probability.

Slides:



Advertisements
Similar presentations
Sets: Reminder Set S – sample space - includes all possible outcomes
Advertisements

1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.
Chapter 4: Probability (Cont.) In this handout: Total probability rule Bayes’ rule Random sampling from finite population Rule of combinations.
Learning Goal 13: Probability Use the basic laws of probability by finding the probabilities of mutually exclusive events. Find the probabilities of dependent.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 4-2 Basic Concepts of Probability.
Chapter 1 Basics of Probability.
5.1 Basic Probability Ideas
10/1/20151 Math a Sample Space, Events, and Probabilities of Events.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Independence and Bernoulli.
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
1 Probability. 2 Today’s plan Probability Notations Laws of probability.
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
1 2. Independence and Bernoulli Trials Independence: Events A and B are independent if It is easy to show that A, B independent implies are all independent.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
Independence and Bernoulli Trials. Sharif University of Technology 2 Independence  A, B independent implies: are also independent. Proof for independence.
Topic 2: Intro to probability CEE 11 Spring 2002 Dr. Amelia Regan These notes draw liberally from the class text, Probability and Statistics for Engineering.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Dr. Ahmed Abdelwahab Introduction for EE420. Probability Theory Probability theory is rooted in phenomena that can be modeled by an experiment with an.
Making sense of randomness
Copyright © Cengage Learning. All rights reserved. Elementary Probability Theory 5.
26134 Business Statistics Tutorial 7: Probability Key concepts in this tutorial are listed below 1. Construct contingency table.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
Education as a Signaling Device and Investment in Human Capital Topic 3 Part I.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
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:
Probability. Randomness When we produce data by randomized procedures, the laws of probability answer the question, “What would happen if we did this.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Microsoft produces a New operating system on a disk. There is 0
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
Ray Karol 2/26/2013. Let’s Make a Deal Monte Hall Problem Suppose you’re on a game show, and you’re given a choice of three doors: Behind one door is.
AP Statistics From Randomness to Probability Chapter 14.
Probability and Probability Distributions. Probability Concepts Probability: –We now assume the population parameters are known and calculate the chances.
Lecture Slides Elementary Statistics Twelfth Edition
Virtual University of Pakistan
Math a - Sample Space - Events - Definition of Probabilities
Probabilities What is the probability that among 23 people (this class) there will be a shared birthday?
Chapter 7: Counting Principles
Probability.
Chapter 3 Probability.
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
Probability Review of Basic Facts
Lecture Slides Elementary Statistics Twelfth Edition
AP Statistics Chapter 6 Review
From Randomness to Probability
Filling in a Venn diagram
Statistics for 8th Edition Chapter 3 Probability
Natural Language Processing
Applicable Mathematics “Probability”
Discrete Probability Chapter 7 With Question/Answer Animations
Probability.
Lecture Slides Elementary Statistics Twelfth Edition
WARM - UP The American Red Cross says that about 45% of the US Population has Type O blood, 40% Type A, 11% Type B, and the rest Type AB. a.) Selecting.
Lecture 11 Sections 5.1 – 5.2 Objectives: Probability
Basic Concepts An experiment is the process by which an observation (or measurement) is obtained. An event is an outcome of an experiment,
STA 291 Spring 2008 Lecture 7 Dustin Lueker.
PROBABILITY.
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Lecture 12 Sections 5.3 Objectives: Conditional Probability Definition
Great Theoretical Ideas In Computer Science
Honors Statistics From Randomness to Probability
Section 6.2 Probability Models
Microsoft produces a New operating system on a disk. There is 0
Welcome to the wonderful world of Probability
Elementary Statistics 8th Edition
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.

STATISTICS AND PROBABILITY
Adapted from Walch Education
Basic Probability Chapter Goal:
Presentation transcript:

Lecture 2: Probability

Probability: Definition Consider an experiment with a finite number of mutually exclusive outcomes which are equiprobable. Let A denote some event associated with the possible outcomes of the experiment. The probability P(A) of the event A is defined as the fraction of the outcomes in which A occurs: P(A) = N(A) N , where N is the total number of outcomes of the experiment and N(A) is the number of outcomes leading to the occurrence of the event A.

Relative Frequency Suppose the experiment can be repeated any number of times, so that we can produce a whole series of independent trials under identical conditions, in each of which event A either occurs or does not occur. Let n be the total number of experiments in the whole series of trials, and let n(A) be the number of experiments in which A occurs. Then the ratio n(A)/n is called the relative frequency of the event A (in the given series of trials). It turns out that the relative frequencies n(A)/n observed in different series of trials are virtually the same for large n, clustering about P(A).

Elementary Events, Complementary Events The mutually exclusive outcomes of a random experiment are called elementary events. A typical elementary event will be denoted by ω. The set of all elementary events ω associated with a given experiment is called the sample space, denoted by Ω. An event A is said to be associated with the elementary events of Ω if, given any ω in Ω, we can always decide whether or not ω leads to the occurrence of A.

Elementary Events, Complementary Events (2) The same symbol A will be used to denote both the event A and the set of elementary events leading to the occurrence of A. An event A occurs if and only if one of the elementary events ω in the set A occurs. For an event A, the event “A does not occur” is called the complementary event of A, denoted by Ā.

Independent Events and Mutually Exclusive Events Two events 𝐴 1 and 𝐴 2 are said to be independent if the occurrence of one event has no influence on the probability of the occurrence of the other. Two events 𝐴 1 and 𝐴 2 are said to be mutually exclusive or incompatible if the occurrence of one event precludes the occurrence of the other, i.e., if 𝐴 1 and 𝐴 2 cannot occur simultaneously. In symbols, 𝐴 1 and 𝐴 2 are mutually exclusive if and only if 𝐴 1 ∩ 𝐴 2 = Ø .

Multiplication Rule (1) If two events A1 and A2 are independent, P( 𝑨 𝟏 ∩ 𝑨 𝟐 ) = P( 𝑨 𝟏 ) × P( 𝑨 𝟐 ) . Generalization: If the events A1, A2 , … , Ak are all independent of each other, P( 𝑨 𝟏 ∩ 𝑨 𝟐 ∩ … ∩ 𝑨 𝒌 ) = P( 𝑨 𝟏 ) × P( 𝑨 𝟐 ) × … × P(Ak) .

Addition Rule (1) If two events A1 and A2 are mutually exclusive, P( 𝑨 𝟏 ∪ 𝑨 𝟐 ) = P( 𝑨 𝟏 ) + P( 𝑨 𝟐 ) . Generalization: If Ai and Aj are mutually exclusive for any i and j, P( 𝑨 𝟏 ∪ 𝑨 𝟐 ∪ … ∪ 𝑨 𝒌 ) = P( 𝑨 𝟏 ) + P( 𝑨 𝟐 ) + … + P( 𝑨 𝒌 ).

Addition Rule (2) Since A and Ā are mutually exclusive, P( A∪ Ā ) = P(A) + P(Ā) . But P( A∪ Ā ) = P(Ω) = 1, from which we have P(Ā) = 1 – P(A) . Also note that if A1 and A2 are independent, A1 and Ā2 are also independent, and P( 𝐴 1 ∩ 𝐴 2 ) = P( 𝐴 1 ) × P( 𝐴 2 ) = ( 1 – P( 𝐴 1 )) × ( 1 – P( 𝐴 2 )) = 1 – P( 𝐴 1 ) – P( 𝐴 2 ) + (P( 𝐴 1 ) × P( 𝐴 2 )) = 1 – P( 𝐴 1 ) – P( 𝐴 2 ) + P(A1 ∩ 𝐴 2 ) = 1 – P( 𝐴 1 ∪ 𝐴 2 ) . Therefore, P( 𝑨 𝟏 ∪ 𝑨 𝟐 ) = 1 – P ( 𝑨 𝟏 ∩ 𝑨 𝟐 ) = 1 – P( 𝑨 𝟏 ) × P( 𝑨 𝟐 ) .

Problems There are 12 girls and 8 boys in a class of 20. If a student is chosen at random, what is the probability that a boy is chosen? On every school day the students draw lots to decide who will be on duty that day. In a week of 5 school days, what is the probability that all 5 students on duty are girls? If a group of 5 is chosen from the above class, what is the probability that the group consists of girls only? What is the probability that there is at least one boy in the group chosen above?

Problems If 10 students are chosen at random from the class, what is the probability that exactly 6 are girls? If the students draw lots on every school day to decide who will be on duty that day, in a week of 5 school days, what is the probability that (a) 3 girls and 2 boys are on duty, (b) no more than 3 girls are on duty, (c) no student is on duty for more than one day?

Problems If each one of 20 students chooses at random a number from 1 to 100, what is the probability that the 20 chosen numbers are all different? If the exam scripts of 20 students are distributed at random among the students, what is the probability that no one gets his/her own script?

Conditional Probability The conditional probability of A on the hypothesis B, i.e., the probability of A occurring under the condition that B is known to have occurred, is defined by P(𝑨|B) = 𝐏(𝑨∩𝑩) 𝐏(𝑩) . As P(A ∩ B) = P(𝐴|B) × P(B) = P(𝐵|A) × P(A) , we have P(𝑩|A) = P(𝑨|B ) × P(B) P(A) .

Conditional Probability (2) Suppose B1, B2, …, Bk is a “full set” of mutually exclusive events, i.e., B 1 ∪ B 2 ∪…∪ Bk = Ω . Then we have the total probability formula: P(A) = P(A|B1) × P(B1) + P(A|B2) × P(B2) + … + P(A|Bk) × P(Bk) . Bayes’ rule: If 𝐵 1 , 𝐵 2 , …, 𝐵 𝑘 is a full set of mutually exclusive events, then P(Bi|A) = P(A|B𝒊) × P(B𝒊) P(A) = P(A|B𝒊) × P(B𝒊) P(A|B1) × P(B1) + P(A|B2) × P(B2) + … + P(A|Bk) × P(Bk) .

Problems In a class of 12 girls and 8 boys, 7 of the girls and 5 of the boys are Chinese. All the others are not. If a Chinese student is chosen at random, what is the probability that a girl is chosen? If a girl student is chosen at random from a class, the probability that she is Chinese is 60%. If a boy is chosen, the probability that he is Chinese is 70%. There are twice as many girls as boys in the class. If a Chinese student is chosen at random, what is the probability that a girl is chosen?

Monty Hall Problem A guest X goes on a game show. He is given the choice of three doors. Behind one door is a car; behind the two others, goats. X picks a door, say No. 1, and the host H, who knows what is behind each door, opens another door, say No. 3, which has a goat. H then says to X, "Do you want to switch your choice to door No. 2?“ Is it to X’s advantage to switch his choice?