Today we ll discuss ways to learn how to think about events that are influenced by chance.

Similar documents
Discrete Probability

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

STAT Chapter 3: Probability

Fundamentals of Probability CE 311S

Math 243 Section 3.1 Introduction to Probability Lab

Econ 325: Introduction to Empirical Economics

Probability Notes (A) , Fall 2010

Basic Statistics and Probability Chapter 3: Probability

Event A: at least one tail observed A:

Chapter 14. From Randomness to Probability. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018

Probability Year 9. Terminology

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

Chapter 2 PROBABILITY SAMPLE SPACE

Intermediate Math Circles November 8, 2017 Probability II

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

2011 Pearson Education, Inc

Properties of Probability

Probability and Probability Distributions. Dr. Mohammed Alahmed

Probability. Chapter 1 Probability. A Simple Example. Sample Space and Probability. Sample Space and Event. Sample Space (Two Dice) Probability

Probability: Why do we care? Lecture 2: Probability and Distributions. Classical Definition. What is Probability?

Math 140 Introductory Statistics

Math 140 Introductory Statistics

5.5 PROBABILITY AS A THEORETICAL CONCEPT

STA Module 4 Probability Concepts. Rev.F08 1

Conditional Probability. CS231 Dianna Xu

Probability Year 10. Terminology

Conditional Probability

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

SDS 321: Introduction to Probability and Statistics

Probability and Independence Terri Bittner, Ph.D.

Formalizing Probability. Choosing the Sample Space. Probability Measures

UNIT 5 ~ Probability: What Are the Chances? 1

3.2 Probability Rules


Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Chap 4 Probability p227 The probability of any outcome in a random phenomenon is the proportion of times the outcome would occur in a long series of

Introduction to Probability

Chapter 6: Probability The Study of Randomness

Elementary Discrete Probability

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Lecture Lecture 5

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

Math 140 Introductory Statistics

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

Lecture 2: Probability and Distributions

Mutually Exclusive Events

MAT Mathematics in Today's World

Lecture 4 : Conditional Probability and Bayes Theorem 0/ 26

Chapter 2. Probability. Math 371. University of Hawai i at Mānoa. Summer 2011

4.2 Probability Models

MTH302 Quiz # 4. Solved By When a coin is tossed once, the probability of getting head is. Select correct option:

5.3 Conditional Probability and Independence

Chapter 2: Probability Part 1

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

Discrete Probability. Chemistry & Physics. Medicine

Probability and Statistics Notes

STAT:5100 (22S:193) Statistical Inference I

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

MATH 10 INTRODUCTORY STATISTICS

lecture notes October 22, Probability Theory

6.2 Introduction to Probability. The Deal. Possible outcomes: STAT1010 Intro to probability. Definitions. Terms: What are the chances of?

Chapter 6. Probability

AMS7: WEEK 2. CLASS 2

Statistical testing. Samantha Kleinberg. October 20, 2009

Continuing Probability.

Statistics 251: Statistical Methods

Examples of frequentist probability include games of chance, sample surveys, and randomized experiments. We will focus on frequentist probability sinc

STAT 516: Basic Probability and its Applications

Probability and Sample space

Probability, Conditional Probability and Bayes Rule IE231 - Lecture Notes 3 Mar 6, 2018

ECE 450 Lecture 2. Recall: Pr(A B) = Pr(A) + Pr(B) Pr(A B) in general = Pr(A) + Pr(B) if A and B are m.e. Lecture Overview

Chapter 13, Probability from Applied Finite Mathematics by Rupinder Sekhon was developed by OpenStax College, licensed by Rice University, and is

Outline. Probability. Math 143. Department of Mathematics and Statistics Calvin College. Spring 2010

Mathematics. ( : Focus on free Education) (Chapter 16) (Probability) (Class XI) Exercise 16.2

Independence Solutions STAT-UB.0103 Statistics for Business Control and Regression Models

Chapter 1 (Basic Probability)

P [(E and F )] P [F ]

Lecture 3 Probability Basics

Ch 14 Randomness and Probability

A brief review of basics of probabilities

ENGR 200 ENGR 200. What did we do last week?

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Probability & Random Variables

Lecture 8: Conditional probability I: definition, independence, the tree method, sampling, chain rule for independent events

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

Useful for Multiplication Rule: When two events, A and B, are independent, P(A and B) = P(A) P(B).

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample

Statistics for Managers Using Microsoft Excel/SPSS Chapter 4 Basic Probability And Discrete Probability Distributions

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com

Chapter 2 Class Notes

Introduction to Probability Theory

Probability: Part 1 Naima Hammoud

RVs and their probability distributions

Probability Review Lecturer: Ji Liu Thank Jerry Zhu for sharing his slides

Grades 7 & 8, Math Circles 24/25/26 October, Probability

4. Conditional Probability P( ) CSE 312 Autumn 2012 W.L. Ruzzo

1 Probability Theory. 1.1 Introduction

2.4. Conditional Probability

Transcription:

Overview Today we ll discuss ways to learn how to think about events that are influenced by chance. Basic probability: cards, coins and dice Definitions and rules: mutually exclusive events and independent events Expectation: given probabilites, what can we compute? Conditional probability: for example, the probability that a child smokes, given that her parents do. More applications: why it s very hard to detect rare things. Discrete Probability p.1/24

What does probability mean? To say that an event has probability p means that the long-term average of is p. Number of times event occurs Number of times it could have occured Example 0.1 (A fair coin) Two possible outcomes: Heads and Tails Each assumed equally likely, so P (Heads) = P (Tails) = 1/2 Discrete Probability p.2/24

Properties of probabilities Probabilities are numbers 0 p 1. Given an exhaustive list of possible outcomes, their probabilities add up to one. The pair A happens and A doesn t happen are exhaustive, so P (not A) = 1 P (A) Discrete Probability p.3/24

Mutually exclusive events Two events are mutually exclusive if one precludes the other, for example: Toss a coin and get Heads and Get Tails on the same toss. Example 0.2 (Drawing cards) Consider drawing a card from an ordinary deck: what it the probability of getting an ace? Discrete Probability p.4/24

Mutually exclusive events Two events are mutually exclusive if one precludes the other, for example: Toss a coin and get Heads and Get Tails on the same toss. Example 0.2 (Drawing cards) Consider drawing a card from an ordinary deck: what it the probability of getting an ace? Answer Number of aces Number of cards in deck = 4 52 = 1 13. Discrete Probability p.4/24

Addition rule for mutually exclusive events The previous example suggests a rule for working out the probability of either of two mutually exclusive events happening: If A & B are mutually exclusive events, P (A or B) = P (A) + P (B). Example 0.2 (Rolling a die) A single roll of a die may show a 1 or a 2, but not both. The probability that it shows either a 1 or a 2 is 1/6 + 1/6 = 1/3. Discrete Probability p.5/24

Independent events Two events are independent if knowing that one has happened tells us nothing about whether the other will happen. Example 0.2 (Tossing two coins) Consider tossing a penny and a pound coin. Use h & t to show the result for the penny, and H & T, for the pound. Possible outcomes are {hh, ht, th, tt}. Each is equally likely. Discrete Probability p.6/24

Multiplication rule for independent events By counting it is clear that P(Heads on penny) = (2/4) = 0.5 P(Heads on pound) = (2/4) = 0.5 P(Heads on both) = (1/4) = 0.25 Example suggests a rule for probability of two independent events happening together: If A & B are independent events, P (A and B) = P (A) P (B). Discrete Probability p.7/24

More about combining events Finally, there is a rule for combining the probabilities of events that are not mutually exclusive (i.e. those for which P (A & B) 0). Generally, P(A or B) = P(A) + P(B) - P(A & B). To see how this works consider rolling two dice, one six-sided and one four-sided and consider events A The four-sided die comes up an even number; B The sum of the two rolls is an even number. Discrete Probability p.8/24

Outcomes for the two dice 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 4 4 4 4 4 4 Outcomes contributing to event A appear in dashed boxes. Those contributing to event B are circled. Six outcomes contribute to both events. Discrete Probability p.9/24

Using the rule Counting up events from the diagram, one can see the rule in action P (A or B) = P (A) + P (B) P (A and B) = (12/24) + (12/24) (6/24) = (1/2) + (1/2) (1/4) = (3/4) Discrete Probability p.10/24

Review: mutually exclusive events If A & B are mutually exclusive, which of the following statements are true? a) P (A or B) = P (A) + P (B) b) P (A and B) = 0 c) P (A and B) = P (A) P (B) d) P (A) = P (B) e) P (A) + P (B) = 1 Discrete Probability p.11/24

Review: mutually exclusive events If A & B are mutually exclusive, which of the following statements are true? a) P (A or B) = P (A) + P (B) b) P (A and B) = 0 c) P (A and B) = P (A) P (B) d) P (A) = P (B) e) P (A) + P (B) = 1 Answer: only a) and b) are true. Discrete Probability p.11/24

Review: independence The probability of a certain hard-to-manufacture chip having fault X is 0.20 while the probability of it having flaw Y is 0.05. If these probs are independent, which of the following is true? a) prob. it has both faults is 0.01; b) prob. it has both faults is 0.25; c) prob. it has either fault, or both, is 0.24; d) if it has X, prob. it has Y also is 0.01; e) if it has Y, prob. it has X also is 0.20. Discrete Probability p.12/24

Review: independence The probability of a certain hard-to-manufacture chip having fault X is 0.20 while the probability of it having flaw Y is 0.05. If these probs are independent, which of the following is true? a) prob. it has both faults is 0.01; b) prob. it has both faults is 0.25; c) prob. it has either fault, or both, is 0.24; d) if it has X, prob. it has Y also is 0.01; e) if it has Y, prob. it has X also is 0.20. Answer: a), c) and e) are true. Discrete Probability p.12/24

Conditional probability Want a concise notion/notation for the probability that one event occurs, given that another has. Example 0.2 Roll a six-sided die: what is the probability of getting a two, given that the result is an even number? There are three possible even numbers, { 2, 4, 6 } and only one of them is a 2, so by direct counting the probability is (1/3). Discrete Probability p.13/24

The notation P(A B) Write conditional probabilities as P (A B) and read them as the probability of A given B". Examples include: P ( It will rain tomorrow it is raining now ) P ( It will rain tomorrow one is in Manchester ) P ( Woman gets breast cancer mother and sister did ) Discrete Probability p.14/24

A sum rule The simplest rule about conditional probabilities underlies reasonable statements such as: P ( rain Manchester ) + P ( no rain Manchester ) = 1. More formally, the rule is If one has an exhaustive list of mutually exclusive events then their conditional probabilities add up to one. Discrete Probability p.15/24

Recovering ordinary probabilities Sometimes one needs to pass from conditional probabilities back to non-conditional ones. The main tool one needs is the formula: P (A&B) = P (A B) P (B) ( ) Discrete Probability p.16/24

Using conditional probability Epidemiology of lung cancer Divide subjects into three groups Heavy smokers: more that 40 a day Smokers: up to 39 per day Non-smokers: none Find risk of cancer for each group, e.g. continued... P (lung cancer heavy smoker). Discrete Probability p.17/24

Using... Use conditional probabilities to find risk for general population: P ( subject develops lung cancer ) = P ( [cancer & heavy smoker] or [cancer & smoker] or [cancer & non-smoker]) = P ( cancer & heavy smoker ) + P ( cancer & smoker ) + P ( cancer & non-smoker ) Discrete Probability p.18/24

Using... Then use ( ) to say P ( subject develops lung cancer ) = P ( cancer heavy smoker ) P ( heavy smoker ) + P ( cancer smoker ) P ( smoker ) + P ( cancer non-smoker ) P ( non-smoker ) Discrete Probability p.19/24

Bayes Theorem On the left side of ( ) the events A and B play the same role: A&B means the same thing as B&A. On the right things seem to be different: P (A B) is not generally the same as P (B A), but P (A B) P (B) = P (A&B) = P (B&A) = P (B A) P (A) which means P (A B) P (B) = P (B A) P (A) This final expression is sometimes known as Bayes Theorem. Discrete Probability p.20/24

Application: screening for rare conditions Consider a screening program for a CCTV system that observes Manchester s city centre target population (say, persons subject to exclusion orders) is rare (1 per 10,000 of population); test correctly flags 99% of such persons (true positive); test flags only 0.5% of ordinary shoppers (false positive). What is the probability that when the system identifies a suspect, they really do pose a threat? Discrete Probability p.21/24

Formulate the problem Using the lanuage of conditional probability we want P ( threat positive test ); we have P ( pos threat ) = 0.99 P ( pos ordinary ) = 0.005 P ( threat ) = 0.0001 P ( ordinary ) = (1 P ( threat )) = 0.9999 Start with Bayes Theorem P ( threat pos ) P ( pos ) = P ( pos threat ) P ( threat ) Discrete Probability p.22/24

Solve for necessary probabilities P ( threat pos ) = P ( pos threat ) P ( threat ) P ( pos ) We need P ( pos ), but we can find it with a calculation similar to the one about probability of lung cancer sketched earlier: P ( pos ) = P ( pos threat ) P ( threat ) + P ( pos ordinary ) P ( ordinary ) Discrete Probability p.23/24

Assemble results P ( ill pos ) = P ( pos threat ) P ( threat ) P ( pos ) = (0.99 0.0001)/(0.99 0.0001 + 0.005 0.9999) 0.019 Discouraging: a positive result from a implausibly precise recognition system gives only a lukewarm indication that a person may pose a problem. Discrete Probability p.24/24