When to use Bayes Rule. Bayes Rule for two choices. Bayes Rule for multiple choices. Will Murray s Probability, VI. Bayes Rule 1. VI.

Similar documents
{ } all possible outcomes of the procedure. There are 8 ways this procedure can happen.

Baye s theorem. Baye s Theorem Let E and F be two possible events of an experiment, then P (F ) P (E F ) P (F ) P (E F ) + P (F ) P (E F ).

UNIT 5 ~ Probability: What Are the Chances? 1

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

Chapter 4 Probability

ACMS Statistics for Life Sciences. Chapter 9: Introducing Probability

Probabilistic models

Producing data Toward statistical inference. Section 3.3

Probabilistic models

F71SM STATISTICAL METHODS

2. AXIOMATIC PROBABILITY

An Introduction to Combinatorics

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

13.1 The Basics of Probability Theory

Section 13.3 Probability

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

Lecture Stat 302 Introduction to Probability - Slides 5

Conditional probability

QUIZ 1 (CHAPTERS 1-4) SOLUTIONS MATH 119 FALL 2012 KUNIYUKI 105 POINTS TOTAL, BUT 100 POINTS

Chapter5 Probability.

Probability II: Binomial Expansion v2.1/05. Introduction. How to do a problem. Prerequisite: Probability I & Sex Inheritance

Chapter Summary. 7.1 Discrete Probability 7.2 Probability Theory 7.3 Bayes Theorem 7.4 Expected value and Variance

ORF 245 Fundamentals of Statistics Chapter 5 Probability

Review. More Review. Things to know about Probability: Let Ω be the sample space for a probability measure P.

Announcements. Topics: To Do:

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

Math P (A 1 ) =.5, P (A 2 ) =.6, P (A 1 A 2 ) =.9r

Event A: at least one tail observed A:

7.1 What is it and why should we care?

Topic 5: Probability. 5.4 Combined Events and Conditional Probability Paper 1

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

Probability and Sample space

Chapter 2 PROBABILITY SAMPLE SPACE

Chapter 3 Probability Chapter 3 Probability 3-1 Overview 3-2 Fundamentals 3-3 Addition Rule 3-4 Multiplication Rule: Basics

TMTA Calculus and Advanced Topics Test 2010

Exam III Review Math-132 (Sections 7.1, 7.2, 7.3, 7.4, 7.5, 7.6, 8.1, 8.2, 8.3)

Bayesian Logic Thomas Bayes:

Math II Final Exam Question Bank Fall 2016

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

2.6 Tools for Counting sample points

Probability Theory and Statistics

1.1 Introduction to Sets

Solution: Solution: Solution:

lecture notes October 22, Probability Theory

Chapter 15. General Probability Rules /42

P(A) = Definitions. Overview. P - denotes a probability. A, B, and C - denote specific events. P (A) - Chapter 3 Probability

Math 3201 Unit 1 Set Theory

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 2: Random Experiments. Prof. Vince Calhoun

Probability Notes (A) , Fall 2010

STP 226 ELEMENTARY STATISTICS

CS 441 Discrete Mathematics for CS Lecture 20. Probabilities. CS 441 Discrete mathematics for CS. Probabilities

Unit 1 Day 1. Set Operations & Venn Diagrams

STEP Support Programme. Statistics STEP Questions

Probability- describes the pattern of chance outcomes

IB Math High Level Year 1 Probability Practice 1

Chapter 0: Algebraic Concepts

Some Basic Concepts of Probability and Information Theory: Pt. 1

Reporting Category 2: Force, Motion, and Energy. A is a push or a pull in a specific direction.

Denker FALL Probability- Assignment 6

Chapter 1 Math Set: a collection of objects. For example, the set of whole numbers is W = {0, 1, 2, 3, }

Formalizing Probability. Choosing the Sample Space. Probability Measures

Properties of Probability

20C Sets and Venn diagrams

Chapter 15. Probability Rules! Copyright 2012, 2008, 2005 Pearson Education, Inc.

2.3 Conditional Probability

Let us think of the situation as having a 50 sided fair die; any one number is equally likely to appear.

AP Statistics Ch 6 Probability: The Study of Randomness

Statistical Theory 1

Random processes. Lecture 17: Probability, Part 1. Probability. Law of large numbers

Chapter 6 Sampling Distributions

Review. 8th grade science STAAR. Name Class. Underline your strong TEKS and circle your weak TEKS: 8.6A Unbalanced Forces

The Central Limit Theorem

You may use your calculator and a single page of notes. The room is crowded. Please be careful to look only at your own exam.

Chapter 6: Probability The Study of Randomness

SETS. Chapter Overview

H2 Mathematics Probability ( )

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

1 INFO 2950, 2 4 Feb 10

Algebra 1. Statistics and the Number System Day 3

Francine s bone density is 1.45 standard deviations below the mean hip bone density for 25-year-old women of 956 grams/cm 2.

Q1. Amina is making designs with two different shapes.

Skills Check #1 ESM 1

2014 Junior Cert Ordinary Level Official Sample Paper 1

More Sets Exercises with complete solutions

Law of Total Probability and Bayes Rule

STEP Support Programme. Statistics STEP Questions: Solutions

Read ahead and use your textbook to fill in the blanks. We will work the examples together.

$ and det A = 14, find the possible values of p. 1. If A =! # Use your graph to answer parts (i) (iii) below, Working:

ORF 245 Fundamentals of Statistics Chapter 1 Probability

Exercise 1. Exercise 2. Lesson 2 Theoretical Foundations Probabilities Solutions You ip a coin three times.

Section A Number Facts

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

Section 1: Whole Numbers TERM 1

(a) Calculate an estimate for the mean price paid for a new computer. (b) Calculate the value by the end of the third year.

With Question/Answer Animations. Chapter 7

Foundation Tier June 2015

MCB1007 Introduction to Probability and Statistics. First Midterm. Fall Solutions

Sets. Review of basic probability. Tuples. E = {all even integers} S = {x E : x is a multiple of 3} CSE 101. I = [0, 1] = {x : 0 x 1}

Finding an Equation of a Line

Conditional Probability

Transcription:

Will Murray s Probability, VI. Bayes Rule VI. Bayes Rule When to use Bayes Rule Your sample space must be a disjoint union of events: S B B 2 B n Then you have one event A that overlaps the others. Given that A occured, what is the probability that one of the B s is true? Draw Venn diagram. Bayes Rule for two choices If S B B 2 is a disjoint union, then P (B A) P (A B ) P (B ) P (A B ) P (B ) + P (A B 2 ) P (B 2 ). Bayes Rule for multiple choices If S B B n is a disjoint union, then P (B j A) P (A B j) P (B j ) n i P (A B i) P (B i ).

Will Murray s Probability, VI. Bayes Rule 2 Example I 20% of people who take home diabetes tests actually are diabetic. The accuracy of one brand of test is as follows: If the subject is diabetic, there is a 90% chance that the test will show positive. If she is not, there is an 80% chance that the test will show negative. If a woman takes the test and it shows positive, what is the chance that she actually is diabetic? Example I

Will Murray s Probability, VI. Bayes Rule Define A : test is positive. B : diabetic B 2 : not diabetic We want P (B A). P (B A) P (diabetic positive) P (positive diabetic)p (diabetic) P (positive diabetic)p (diabetic) + P (positive not diabetic)p (not diabetic) P (A B ) P (B ) P (A B ) P (B ) + P (A B 2 ) P (B 2 ) (0.9)(0.2) (0.9)(0.2) + (0.2)(0.8) 9 7 (Note that this is only about 2, surprising considering that the test is accurate at least 80% of the time!) Example II A small college has 220 women and 50 men. 40% of the women play tennis, and 0% of the men do. If you find an extra tennis racket on the court, what is the chance that it belongs to a woman?

Will Murray s Probability, VI. Bayes Rule 4 P (woman tennis) P (tennis woman)p (woman) P (tennis woman)p (woman) + P (tennis man)p (man) 0.4 22 7 0.4 22 7 + 0. 5 7 0.4 22 0.4 22 + 0. 5 0.662 Example III In the state of New Alarkania, 40% of the voters are Democrats, 50% are Republicans, and 0% are Freemasons. A survey shows that 20% of Democrats, 0% of Republicans, and 50% of Freemasons support freeway lanes for pogo sticks. A voter chosen at random supports the lanes. What is the probability that she is a Democrat? Example III

Will Murray s Probability, VI. Bayes Rule 5 Define the events: A : {she supports the lanes} B D : {she is a Democrat} B R : {she is a Republican} B F : {she is Freemason}. P (B j A) P (A B j) P (B j ) n i P (A B i) P (B i ). P (B D A) P (A B D )P (B D ) P (A B D )P (B D ) + P (A B R )P (B R ) + P (A B F )P (B F ) 2 5 5 2 + + 5 5 0 2 2 0 2 25 7 2 7 25 Example IV We have three bags, one with two apples, one with two oranges, and one with an apple and an orange. We draw one fruit from one bag, and it s an apple. What is the chance that the other fruit in the same bag is an apple? Example IV

Will Murray s Probability, VI. Bayes Rule 6 Events: B : B aa : two apples. B 2 : B oo : two oranges. B : B oa : one of each. A : we pull out an apple. We are calculating P (B aa A). P (B j A) P (A B j) P (B j ) n i P (A B i) P (B i ). P (B aa A) P (A B aa )P (B aa ) P (B aa )P (A B aa ) + P (B oo )P (A B oo ) + P (B oa )P (A B oa ) + 0 + 2 + 6 2 2 Example V A family has three children (with no twins). If there are at least two girls, what is the probability that the oldest child is a girl?

Will Murray s Probability, VI. Bayes Rule 7 Bayes Solution: Define A : at least two girls. B : oldest child is girl. B 2 : oldest child is boy. P (B A) P (A B ) P (B ) P (A B ) P (B ) + P (A B 2 ) P (B 2 ) 4 2 4 8 + 8 8 + 2 4 2 8 2 4 Counting solution: Our possibilities are GGG, GGB, GBG, and BGG. Three of them qualify, so it s 4.