STOR 435 Lecture 5. Conditional Probability and Independence - I

Similar documents
With Question/Answer Animations. Chapter 7

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

STOR Lecture 4. Axioms of Probability - II

STOR Lecture 6. Conditional Probability and Independence - II

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

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

P (E) = P (A 1 )P (A 2 )... P (A n ).

Chapter 6. Probability

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

4. Probability of an event A for equally likely outcomes:

Intermediate Math Circles November 8, 2017 Probability II

CSC Discrete Math I, Spring Discrete Probability

tossing a coin selecting a card from a deck measuring the commuting time on a particular morning

UNIT 5 ~ Probability: What Are the Chances? 1

Introduction to Probability, Fall 2009

Statistics 1L03 - Midterm #2 Review

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

Computational Perception. Bayesian Inference

2. Conditional Probability

Lecture 9: Naive Bayes, SVM, Kernels. Saravanan Thirumuruganathan

Conditional probability

Lectures Conditional Probability and Independence

Chapter 6: Probability The Study of Randomness

Probabilistic models

It applies to discrete and continuous random variables, and a mix of the two.

Lecture 1: Probability Fundamentals

Quantitative Understanding in Biology 1.7 Bayesian Methods

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

2 Chapter 2: Conditional Probability

Lecture 10: Bayes' Theorem, Expected Value and Variance Lecturer: Lale Özkahya

Announcements. Lecture 5: Probability. Dangling threads from last week: Mean vs. median. Dangling threads from last week: Sampling bias

Lecture 04: Conditional Probability. Lisa Yan July 2, 2018

Week 2: Probability: Counting, Sets, and Bayes

Math 140 Introductory Statistics

Chapter Six. Approaches to Assigning Probabilities

Stat 225 Week 1, 8/20/12-8/24/12, Notes: Set Theory

Probability and Independence Terri Bittner, Ph.D.

Probabilistic models

Problem # Number of points 1 /20 2 /20 3 /20 4 /20 5 /20 6 /20 7 /20 8 /20 Total /150

P (A) = P (B) = P (C) = P (D) =

STOR Lecture 16. Properties of Expectation - I

Conditional Probability

3.2 Intoduction to probability 3.3 Probability rules. Sections 3.2 and 3.3. Elementary Statistics for the Biological and Life Sciences (Stat 205)

Formalizing Probability. Choosing the Sample Space. Probability Measures

Conditional Probability 2 Solutions COR1-GB.1305 Statistics and Data Analysis

Conditional Probability & Independence. Conditional Probabilities

Math 140 Introductory Statistics

CH 3 P1. Two fair dice are rolled. What is the conditional probability that at least one lands on 6 given that the dice land on different numbers?

3 PROBABILITY TOPICS

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

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

TOPIC 12 PROBABILITY SCHEMATIC DIAGRAM

Discrete Mathematics and Probability Theory Spring 2014 Anant Sahai Note 10

PRACTICE PROBLEMS FOR EXAM 1

MATH 10 INTRODUCTORY STATISTICS

Probability in Programming. Prakash Panangaden School of Computer Science McGill University

Notice how similar the answers are in i,ii,iii, and iv. Go back and modify your answers so that all the parts look almost identical.

3.2 Probability Rules

MATH 3C: MIDTERM 1 REVIEW. 1. Counting

Discrete Probability

Crash Course in Statistics for Neuroscience Center Zurich University of Zurich

STT 315 Problem Set #3

Probability and Discrete Distributions

Stat 225 Week 2, 8/27/12-8/31/12, Notes: Independence and Bayes Rule

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

Lecture 6 Probability

1 INFO 2950, 2 4 Feb 10

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X.

Unit 4 Probability. Dr Mahmoud Alhussami

7.1 What is it and why should we care?

(a) Fill in the missing probabilities in the table. (b) Calculate P(F G). (c) Calculate P(E c ). (d) Is this a uniform sample space?

Probability Experiments, Trials, Outcomes, Sample Spaces Example 1 Example 2

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

Chapter 2 PROBABILITY SAMPLE SPACE

PROBABILITY.

4. Conditional Probability

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

2.6 Tools for Counting sample points

STAT Chapter 3: Probability

ACCESS TO SCIENCE, ENGINEERING AND AGRICULTURE: MATHEMATICS 2 MATH00040 SEMESTER / Probability

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

Probability the chance that an uncertain event will occur (always between 0 and 1)

Notes slides from before lecture. CSE 21, Winter 2017, Section A00. Lecture 16 Notes. Class URL:

Chance, too, which seems to rush along with slack reins, is bridled and governed by law (Boethius, ).

2.4. Conditional Probability

Probability (Devore Chapter Two)

Conditional Probability, Total Probability Theorem and Bayes Rule

Chapter 7 Wednesday, May 26th

Conditional Probability P( )

MS-A0504 First course in probability and statistics

CS626 Data Analysis and Simulation

Statistical Methods for the Social Sciences, Autumn 2012

2.4 Conditional Probability

Discrete Structures Prelim 1 Selected problems from past exams

Contents. Decision Making under Uncertainty 1. Meanings of uncertainty. Classical interpretation

P Q (P Q) (P Q) (P Q) (P % Q) T T T T T T T F F T F F F T F T T T F F F F T T

1 Basic continuous random variable problems

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

Probability and Statistics Notes

ADVANCE TOPICS IN PROBABILITY THEORY

Transcription:

STOR 435 Lecture 5 Conditional Probability and Independence - I Jan Hannig UNC Chapel Hill 1 / 16

Motivation Basic point Think of probability as the amount of belief we have in a particular outcome. If we are rational, given data we update our prior beliefs in light of this data. 2 / 16

Motivation Basic point Think of probability as the amount of belief we have in a particular outcome. If we are rational, given data we update our prior beliefs in light of this data. Extreme Example: 1. Friend fills up a box with 10 balls of two type: Red and White. 2. They flipped a coin and either put in 2 Red and 8 Black or 8 Red and 2 black. 3. Since coined flipped chance 1/2 and 1/2 for either 4. You pick three balls without replacement and find all 3 of them are red. 2 / 16

Motivation Basic point Think of probability as the amount of belief we have in a particular outcome. If we are rational, given data we update our prior beliefs in light of this data. Extreme Example: 1. Friend fills up a box with 10 balls of two type: Red and White. 2. They flipped a coin and either put in 2 Red and 8 Black or 8 Red and 2 black. 3. Since coined flipped chance 1/2 and 1/2 for either 4. You pick three balls without replacement and find all 3 of them are red. 5. What is your best guess on what is in the urn? How certain are you? 2 / 16

History Information updating Use: Initial Belief }{{} Prior probability and Observed Data = New improved Belief }{{} Posterior Probability Major road block 1. What to do when no initial belief exists? 2. LaPlace suggested treating everything equally likely. Fisher pointed out that knowing things are equally likely and not knowing are very different states of nature. 3 / 16

History time Bayes theorem and conditional probability Many useful applications 1. Alan Turing and cracking of the ENIGMA (German navy secret code). 2. Cold War: Finding missing H-bomb, nuclear subs etc. 3. Bayesian spam filters, computer science, Google, neuroscience (adaptive brains). 4 / 16

History time Bayes theorem and conditional probability Many useful applications 1. Alan Turing and cracking of the ENIGMA (German navy secret code). 2. Cold War: Finding missing H-bomb, nuclear subs etc. 3. Bayesian spam filters, computer science, Google, neuroscience (adaptive brains). Origins Name goes back to Reverend Thomas Bayes in the 1740s. Amateur mathematician (owing to religious persecution was barred from English universities). Discovered independently and developed in a tremendous number of applications by Laplace, the Newton of France. 4 / 16

History Figure: Thomas Bayes. Licensed under Public domain via Wikimedia Commons Bayes never actually published his results. When he died, relatives asked another famous amateur mathematician (Price) to look at his mathematical work. He cleaned it up and sent for publication. The form we use formulated by Laplace one of the most powerful mathematicians in the history of science. Laplace made fundamental contributions in a myriad of sciences including Statistics, celestial mechanics, physics, biology and earth sciences. Laplace in this course: Central limit theorem; Normal approximation to the Binomial 5 / 16

Conditional Probability: Motivating Problem Example 1 Jan is teaching a large Statistics course. The composition of his course is as follows: In State Out State Total Female 52 18 70 Male 15 15 30 Total 67 33 100 You are planning on taking the course the next semester and so ask Jan to pick one the students in his class at random so that you can talk to him/her. Calculate probability of the following 1. Chosen student is In State. 2. Chosen student is Female. 3. Jan tells you that the chosen student is female. What is the chance that the student is also In State? 4. Jan tells you that the chosen student is male. What is the chance that the student is also In State? 6 / 16

Conditional Probability and Independence Solution to Example 1 7 / 16

Conditional Probability and Independence Definition of conditional probability Define: probability that E occurs given that F has occurred. Name: conditional probability of E given F. Notation: P (E F ). Examples Ex. 1: toss 2 dice; E = {first die is 3} and F = {sum is 8}. Find P (E F ). Ex. 2: blood test for a disease; false positive can happen; E = {person has disease} and F = {test is positive}. Find P (E F ). 8 / 16

Conditional Probability and Independence Definition If P (F ) > 0, P (E F ) = P (E F ). P (F ) Note 1 through Venn diagrams: Note 2 For equally likely outcomes, P (E F ) = Number of outcomes in E F Total number of outcomes in S Number of outcomes in F Total number of outcomes in S so that one can think of F as a new (reduced) sample space. = Number of outcomes in E F Total number of outcomes in F, 9 / 16

Think-Pair-Share Example Jane has 2 kids. Note that the sample space is {BB, BG, GB, GG}. You may assume that all possible outcomes are equally likely. You are told that one of the kids is a girl. What is the chance that the other one is also a girl? 10 / 16

Think-Pair-Share Example Jane has 2 kids. Note that the sample space is {BB, BG, GB, GG}. You may assume that all possible outcomes are equally likely. You are told that one of the kids is a girl. What is the chance that the other one is also a girl? A 1/3 B 1/2 C 2/3 D Something else 10 / 16

Conditional Probability and Independence Example 2 Two cards are randomly chosen without replacement from an ordinary deck of 52 cards. Let B be the event that both cards are hearts and let A be the event that at least one heart is chosen. Find P (B A). 11 / 16

Conditional Probability and Independence Computing probabilities via conditioning Note: P (E F ) = P (F ) P (E F ) P (F ) = P (F )P (E F ). More generally: The multiplication rule P (E 1 E 2... E n ) = P (E 1 )P (E 2 E 1 )P (E 3 E 1 E 2 )... P (E n E 1... E n 1 ) 12 / 16

Conditional Probability and Independence Example 3: Suppose Jan has a class of 50 students. Out of these, 20 students favorite subject in the whole world is probability and the remaining 30 students whose favorite subject is Combinatorics. Suppose Jan picks 2 students without replacement. If we assume that at each draw each student not yet picked is equally likely to be chosen, what is the probability that both students chosen love probability? 13 / 16

Conditional Probability and Independence Example A recent college graduate is planning to write her actuarial exams. She will write the first exam in June (which she has a.9 probability of passing) and then will write the second exam in July. Given that she passed the 1st exam, the probability that she passes the second exam is.8. What is the probability that she passes both exams? 14 / 16

Conditional Probability and Independence Example Klára is interested in pursuing Actuarial Science and wants to talk to an MDS student currently pursing this as a career. There are two STOR 435 Sections (01 and 02). Next week, she plans to pick one of these sections uniformly at random and then pick a student uniformly at random from the chosen section (since he does not know who is and is not pursing Actuarial Science). Suppose Section 01 has 30% MDS Actuarial students and Section 02 has 50 % actuarial students. Suppose next week Section 01 has a midterm and Section 02 does not. So if an actuarial student gets selected from Section 01 then the chance Klára gets a reply is 30 %. If an actuarial student gets selected from Section 02 then the chance Klára gets a reply is 80 %. Assume that if the student Klára emails is not an actuarial student then she gets no response. a What is the chance Klára picks Section 01 and gets a response? b What is the chance Klára gets a response? 15 / 16

Solution continued 16 / 16