Probability & Certainty: Intro Probability & Certainty.

Slides:



Advertisements
Similar presentations
Probability, Part 1 We’ve looked at several counting techniques to determine the number of possible arrangements or groupings in a given scenario. These.
Advertisements

Great Theoretical Ideas in Computer Science.
Chapter 4 Probability and Probability Distributions
COUNTING AND PROBABILITY
How likely something is to happen.
Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
9.7 Probability Mutually exclusive events. Definition of Probability Probability is the Outcomes divided by Sample Space. Outcomes the results of some.
NIPRL Chapter 1. Probability Theory 1.1 Probabilities 1.2 Events 1.3 Combinations of Events 1.4 Conditional Probability 1.5 Probabilities of Event Intersections.
1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.
Dependent and Independent Events. If you have events that occur together or in a row, they are considered to be compound events (involve two or more separate.
Chapter 4 Probability.
Statistics: Intro Statistics or What’s normal about the normal curve, what’s standard about the standard deviation, and what’s co-relating in a correlation?
PROBABILITY MODELS. 1.1 Probability Models and Engineering Probability models are applied in all aspects of Engineering Traffic engineering, reliability,
Learning Goal 13: Probability Use the basic laws of probability by finding the probabilities of mutually exclusive events. Find the probabilities of dependent.
Probability & Certainty: Intro Probability & Certainty.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 4-2 Basic Concepts of Probability.
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
Probability, Bayes’ Theorem and the Monty Hall Problem
Lecture 10 – Introduction to Probability Topics Events, sample space, random variables Examples Probability distribution function Conditional probabilities.
Slide 1 Definition Figures 3-4 and 3-5 Events A and B are disjoint (or mutually exclusive) if they cannot both occur together.
5.1 Basic Probability Ideas
1 9/8/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
C4, L1, S1 Probabilities and Proportions. C4, L1, S2 I am offered two lotto cards: –Card 1: has numbers –Card 2: has numbers Which card should I take.
1 9/23/2015 MATH 224 – Discrete Mathematics Basic finite probability is given by the formula, where |E| is the number of events and |S| is the total number.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Independence and Bernoulli.
Math 409/409G History of Mathematics
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
Probability Distributions
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
 P(A c ∩ B) + P(A ∩ B)=P(B)  P(A c ∩ B) and P(A ∩ B) are called joint probability.  P(A) and P(B) are called marginal probability.  P(A|B) and P(B|A)
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.
C4, L1, S1 Chapter 3 Probability. C4, L1, S2 I am offered two lotto cards: –Card 1: has numbers –Card 2: has numbers Which card should I take so that.
Week 21 Conditional Probability Idea – have performed a chance experiment but don’t know the outcome (ω), but have some partial information (event A) about.
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 Chapter 4, Part 1 Repeated Observations Independent Events The Multiplication Rule Conditional Probability.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics Statistics & Econometrics.
Class 2 Probability Theory Discrete Random Variables Expectations.
Journal: 1)Suppose you guessed on a multiple choice question (4 answers). What was the chance that you marked the correct answer? Explain. 2)What is the.
Chapter 3 Probability  The Concept of Probability  Sample Spaces and Events  Some Elementary Probability Rules  Conditional Probability and Independence.
Chapter 14: From Randomness to Probability Sami Sahnoune Amin Henini.
EMIS 7300 SYSTEMS ANALYSIS METHODS Spring 2006 Dr. John Lipp Copyright © Dr. John Lipp.
Chapter 4 Probability, Randomness, and Uncertainty.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
1 Chapter 4, Part 1 Basic ideas of Probability Relative Frequency, Classical Probability Compound Events, The Addition Rule Disjoint Events.
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:
STROUD Worked examples and exercises are in the text Programme 29: Probability PROGRAMME 29 PROBABILITY.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
3/7/20161 Now it’s time to look at… Discrete Probability.
Conditional Probability If two events are not mutually exclusive, the fact that we know that B has happened will have an effect on the probability of A.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Chance We will base on the frequency theory to study chances (or probability).
The Law of Averages. What does the law of average say? We know that, from the definition of probability, in the long run the frequency of some event will.
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.
Virtual University of Pakistan
A Survey of Probability Concepts
Probability ·  fraction that tells how likely something is to happen ·   the relative frequency that an event will occur.
What is Probability? Quantification of uncertainty.
BASIC PROBABILITY Probability – the chance of something (an event) happening # of successful outcomes # of possible outcomes All probability answers must.
A Survey of Probability Concepts
Applicable Mathematics “Probability”
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Probabilities and Proportions
Honors Statistics From Randomness to Probability
Probability Probability Principles of EngineeringTM
Probability.
Presentation transcript:

Probability & Certainty: Intro Probability & Certainty

Probability & Certainty: Intro Overview History of probability theory Some basic probability theory –Calculating simple probabilities –Combining mutually-exclusive probabilities –Combining independent probabilities –More complex probabilities –Calculating conditional probabilities Bayes’ Theorem, and why we should care about it A test case: The ‘Let’s Make A Deal!’ problem

Probability & Certainty: Intro History of probability theory Compress all of human history (350K years) in one 24- hour day: –the first recorded general problem representation (geometry, invented by Thales of Miletus about 450 B.C.) would have appeared only 9 minutes and 30 seconds ago – the first systematic large-scale collection of empirical facts (Tycho Brahe’s collection of astronomical observations) would have appeared only a minute and a half ago –the first mathematical equation which was able to predict an empirical phenomena (Newton’s 1697 equation for planetary motion) would have appeared only one minute and twelve seconds ago –Probability theory appeared between 1654 (a minute and a half ago) and 1843 (34 seconds ago).

Probability & Certainty: Intro History of probability theory The emergence of elementary probability theory in the 1650s met with enormous resistance and lack of comprehension when it was first introduced, despite its formal character, its utility, and (what we now recognize as) its simplicity. The difficult points (Margolis, 1993) were philosophical rather than mathematical: the notions that one could count possibilities that had never actually existed, and that order could be obtained from randomness.

Probability & Certainty: Intro Basic probability theory: Example 1 A boring standard example: How likely is it that we will throw a 6 with one dice? Basic principle: The probability of any particular event is equal to the ratio of the number of ways the event can happen over the number of ways anything can happen (= the number of ways the event can fail to happen + the number of ways it can happen).

Probability & Certainty: Intro Basic probability theory: Example 2 How likely is it that we will throw a 7 with two die? There is more than one way for the event to happen: 6 + 1, 1+6, 5 + 2, 2+5, 3 + 4, = 6 ways There are 36 (6 x 6) ways for anything to happen So the probability of 7 with two die is 6/36 or 1/6.

Probability & Certainty: Intro Basic probability theory: Example 3 We roll the die 4 times, and never get a seven. What is the probability that we’ll get on the 5th roll? Independent events are events that don’t effect each other’s probability. Since the every roll is independent of every other, the odds are still 1/6.

Probability & Certainty: Intro Basic probability theory: Example 4 We roll the die twice and get a seven both times. What is the probability of that? To combine probabilities of independent events, multiply the odds of each event. The odds of each 7 are 1/6, so the odds of two rolls of 7 in a row are 1/6 x 1/6 = 1/36.

Probability & Certainty: Intro Basic probability theory: Example 5 We roll the die. What are the odds are getting either a 7 or a 2? Now the events are mutually exclusive: if one happens, the other cannot. To combine probabilities of mutually exclusive events, add them together. 6/36 [odds of 7] + 1/36 [odds of 2] = 7/36

Probability & Certainty: Intro Basic probability theory: Example 6.1 We roll the die twice. What are the odds that we get at least one 7 from the two rolls? Can we just add the probabilities of getting a 7 on each roll? No: because the events are not mutually exclusive anymore if we could, we’d be above 100%- guaranteed a 7- after 6 rolls! Where could the guarantee come from?

Probability & Certainty: Intro Basic probability theory: Example 6.2 We roll the die twice. What are the odds that we get at least one 7 from the two rolls? Can we just multiply the probabilities of getting a 7 on each roll? No: because the events are not independent (Why not?) And 1/6 x 1/6 is less than 1/6- so we’d have smaller chance with two rolls than with one!

Probability & Certainty: Intro Basic probability theory: Example 6.3 We roll the die twice. What are the odds that we get at least one 7 from the two rolls? We can turn part of the problem into a problem of mutual exclusivity by asking: what are the odds of there being exactly one seven out of two rolls? one way is to roll 7 first, but not second - the odds of this are 1/6 * 5/6 (independent events) = the odds of rolling 7 second are 5/6 * 1/6 (independent events) = since these two outcomes are mutually exclusive, we can add them to get = 0.277

Probability & Certainty: Intro Basic probability theory: Example 6.4 We roll the die twice. What are the odds that we get at least one 7 from the two rolls? Now we need to know: what are the odds of there being two sevens out of two rolls? We already know: it’s 1/36 = 0.03 So: the odds that we get at least one 7 is the odds of two 7s + the odds of one 7 (mutually exclusive events) = = 0.3

Probability & Certainty: Intro Basic probability theory: The generalization Does anyone know how to generalize this calculation, so we can easily calculate the odds of an event of probability p happening r times out of n tries, for any values of p,r, and n? The binomial theorem: Tune in for the exciting next class!

Probability & Certainty: Intro Basic probability theory: Conditional probability What if a dice is biased so that it rolls 6 twice as often as every other number? How can we deal with ‘uneven’ base rates? Why should we care? –Because real life uses biased dice –eg. the conditional probability of being schizophrenic, given that a person has an appointment with a doctor who specializes in schizophrenia, is quite different from the unconditional probability that a person has schizophrenia (the base rate)

Probability & Certainty: Intro Basic probability theory: Conditional probability A particular disorder has a base rate occurrence of 1/1000 people. A test to detect this disease has a false positive rate of 5%. Assume that the test diagnoses correctly every person who has the disease. What is the chance that a randomly selected person with a positive result actually has the disease? [Take a guess.] Harvard Med School estimates: About half said 95%. Average response was 56%. Only 16% gave the correct answer.

Probability & Certainty: Intro Basic probability theory: Conditional probability A particular disorder has a base rate occurrence of 1/1000 people. A test to detect this disease has a false positive rate of 5%. Assume that the test diagnoses correctly every person who has the disease. What is the chance that a randomly selected person with a positive result actually has the disease? Conditional probability P(A|B) = P(A,B) / P(B) = P(A and B)/P(B) Let A = Has the disorder and B = Has a positive test result In 10,000 people, P(A and B) = P(B) = Chance that a randomly selected person with a positive result actually has the disease= * 1000 = * 1000 (false positives) + 10 (true positives) = /510 = 0.02 or just a 2% chance

Probability & Certainty: Intro A generalization: Bayes’ theorem P(A|B) = P(B|A) P(A) / P(B) Proof: By definition, (1.) P(A|B) = P(A,B) / P(B) (2.) P(B|A) = P(A,B) / P(A) (3.) P(B|A) P(A) = P(A,B) [Multiply (2.) by P(A)] (4.) P(A|B) P(B) = P(B|A) P(A) [Substitute (1.) in (3.)] (5.) P(A|B) = P(B|A) P(A) / P(B)

Probability & Certainty: Intro Let’s try Bayes’ theorem P(A|B) = P(B|A) P(A) / P(B) Let: P(A) = Probability of disease = P(B) = Probability of positive test = = P(B|A) = Probability of positive test given disease = 1 Then: P(A|B) = P(B|A) P(A) / P(B) = (1 x 0.001) / (0.0501) = 0.02

Probability & Certainty: Intro The Notorious 3-Curtain (‘Let’s Make A Deal’) Problem! Three curtains hide prizes. One is good. Two are not. You choose a curtain. The MC opens another curtain. It’s not good. He gives you the chance to stay with our first choice, or switch to the remaining unopened curtain. Should you stay or switch, or does it matter?

Probability & Certainty: Intro P(A|B) = P(B|A) P(A) / P(B) Assume you choose A and switch to the unopened one Let:P(A) = Probability it is behind the unopened one (B or C): 2/3 P(B) = Probability it is not behind A: 2/3 P(B|A) = Probability it is not behind A, given that it is behind the unopened one (B or C): 1 Then: P(A|B) = Probability it is behind the unopened one (B or C), given that it is not behind A = P(B|A) P(A) / P(B) = (1 x 2/3) / 2/3 = 1= 100% of the time. But it is given that it is not behind A 2/3 of the time, so 2/3 of the time we can be certain of winning if we switch!