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

Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
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.
Probability & Certainty: Intro Probability & Certainty.
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,
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
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.
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.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Independence and Bernoulli.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 13, Slide 1 Chapter 13 From Randomness to Probability.
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.
Using Probability and Discrete Probability Distributions
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.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
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.
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.
BIOSTAT 3 Three tradition views of probabilities: Classical approach: make certain assumptions (such as equally likely, independence) about situation.
POSC 202A: Lecture 4 Probability. We begin with the basics of probability and then move on to expected value. Understanding probability is important because.
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.
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:
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 © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
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
Now it’s time to look at…
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.
A Survey of Probability Concepts
Applicable Mathematics “Probability”
Elementary Statistics
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
Now it’s time to look at…
Probability Probability Principles of EngineeringTM
Probability.
Presentation transcript:

Probability & Certainty: Intro Probability & Certainty

Probability & Certainty: Intro Overview History of probability theory Everything you need to know on one slide 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 notorious ‘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

Probability & Certainty: Intro History of probability theory In particular, even the greatest geniuses of the time had difficulty wrapping their minds around two notions: –i.) that one could (and, indeed, had to) count possibilities that had never actually existed –ii.) that order could be obtained from randomness.

Probability & Certainty: Intro Everything you need to know about probability for this class. 1.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 the event can fail to happen + the number of ways it can happen 2.To combine probabilities of independent events (unrelated ‘ands’), multiply the odds of each event. 3.To combine probabilities of mutually exclusive events (‘either/ors’), add them together. [ Conditional probability P(A|B) = P(A,B) / P(B) = P(A and B)/P(B) - but you don’t really need to know that until after the midterm.]

Probability & Certainty: Intro Everything you need to know about probability for this class. 1.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 the event can fail to happen + the number of ways it can happen 2.To combine probabilities of independent events (unrelated ‘ands’), multiply the odds of each event. 3.To combine probabilities of mutually exclusive events (‘either/ors’), add them together. [ Conditional probability P(A|B) = P(A,B) / P(B) = P(A and B)/P(B) - but you don’t really need to know that until after the midterm.] The devil is in the details.

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? Does anyone know what the binomial theorem defines?

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? I’ll give a prize for a formal answer that uses Bayes’ Theorem