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

Similar documents
STAT Chapter 3: Probability

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

Chapter 2 PROBABILITY SAMPLE SPACE

STA Module 4 Probability Concepts. Rev.F08 1

Conditional Probability

Probabilistic models

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

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

Chapter 6: Probability The Study of Randomness

Probability. VCE Maths Methods - Unit 2 - Probability

2. Conditional Probability

Lecture Lecture 5

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

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

STAT 430/510 Probability

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

UNIT 5 ~ Probability: What Are the Chances? 1

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

Lecture 3 - Axioms of Probability

3.2 Probability Rules

Why should you care?? Intellectual curiosity. Gambling. Mathematically the same as the ESP decision problem we discussed in Week 4.

SDS 321: Introduction to Probability and Statistics

Econ 325: Introduction to Empirical Economics

Event A: at least one tail observed A:

What is Probability? Probability. Sample Spaces and Events. Simple Event

Chapter 4 Probability

Deep Learning for Computer Vision

Events A and B are said to be independent if the occurrence of A does not affect the probability of B.

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS

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

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G.

Chapter 15. General Probability Rules /42

MAT Mathematics in Today's World

9/6/2016. Section 5.1 Probability. Equally Likely Model. The Division Rule: P(A)=#(A)/#(S) Some Popular Randomizers.

Probabilistic models

Mean, Median and Mode. Lecture 3 - Axioms of Probability. Where do they come from? Graphically. We start with a set of 21 numbers, Sta102 / BME102

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS

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

CSC Discrete Math I, Spring Discrete Probability

2.4. Conditional Probability

Conditional Probability (cont'd)

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

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

Term Definition Example Random Phenomena

Business Statistics MBA Pokhara University

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

A survey of Probability concepts. Chapter 5

What is a random variable

Lecture 6 Probability

Conditional Probability. CS231 Dianna Xu

Name: Exam 2 Solutions. March 13, 2017

Probability Pearson Education, Inc. Slide

1 Probability Theory. 1.1 Introduction

Probability- describes the pattern of chance outcomes

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

Properties of Probability

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Probability and Sample space

Lecture 1 : The Mathematical Theory of Probability

Basic Concepts of Probability. Section 3.1 Basic Concepts of Probability. Probability Experiments. Chapter 3 Probability

Review Basic Probability Concept

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

Conditional Probability

27 Binary Arithmetic: An Application to Programming

First Digit Tally Marks Final Count

STAT 201 Chapter 5. Probability

2011 Pearson Education, Inc

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

Probability 5-4 The Multiplication Rules and Conditional Probability

Ch 14 Randomness and Probability

Lecture notes for probability. Math 124

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD

Homework (due Wed, Oct 27) Chapter 7: #17, 27, 28 Announcements: Midterm exams keys on web. (For a few hours the answer to MC#1 was incorrect on

Chapter. Probability

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

Math 140 Introductory Statistics

Topic 2 Probability. Basic probability Conditional probability and independence Bayes rule Basic reliability

Math 140 Introductory Statistics

Basic Statistics and Probability Chapter 3: Probability

ELEG 3143 Probability & Stochastic Process Ch. 1 Experiments, Models, and Probabilities

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

Discrete Structures for Computer Science

Conditional Probability, Independence and Bayes Theorem Class 3, Jeremy Orloff and Jonathan Bloom

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

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


Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Probability: Terminology and Examples Class 2, Jeremy Orloff and Jonathan Bloom

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

MA : Introductory Probability

Week 2: Probability: Counting, Sets, and Bayes

Probability and Independence Terri Bittner, Ph.D.

Quantitative Methods for Decision Making

Chapter 6. Probability

With Question/Answer Animations. Chapter 7

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

Probability Notes (A) , Fall 2010

CS4705. Probability Review and Naïve Bayes. Slides from Dragomir Radev

Introduction Probability. Math 141. Introduction to Probability and Statistics. Albyn Jones

Transcription:

Chapter 14 From Randomness to Probability How to measure a likelihood of an event? How likely is it to answer correctly one out of two true-false questions on a quiz? Is it more, less, or equally likely as guessing five out of ten true-false questions? Is it likely or unlikely to answer all ten true-false questions on a quiz if all answers are simply guessed? If you roll two dice, is it more likely to roll the sum of ten, or the sum of eight? What does it mean There is thirty percents chance for a rain tomorrow? You will be able to answer the questions above with confidence when we finish this and the next chapter. Consider the following experiment: Adam has taken a 10 True-False questions quiz. He claims that he came totally unprepared and had to select each answer by tossing a coin. And he got a B! Can you believe it? Rare Event Rule for Inferential Statistics: If under given assumptions (like truly random guessing) the probability of an observed event (like guessing randomly, and getting all 10 answers correct) is very small, then we should conclude that the assumption was wrong. So, if a chance to guess most of the true-false answers on a quiz is small, then reject the assumption of random guessing and conclude that Adam was bragging: he must have known at least some answers! Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary) Each observation of a random phenomenon is called a trial. The value of the random phenomenon, and call it an outcome. When we combine outcomes, the resulting combination is an event. The collection of all possible outcomes is called the sample space. Examples of random phenomena: 1. A toss of a coin 2. A roll of a die 3. A random selection of an individual from a population 1

Intuitively probability of an event is a long-run proportion of times the event occurs in many independent repetitions of the experiment. Law of Large Numbers: the long-run relative frequency of repeated event gets closer and closer to a single value called the probability of the event. This definition of probability is often called empirical probability # of times A has occured # of repetition s A) Proportion and probability. Let p be a proportion of population having certain property S. If one individual is selected from this population at random, then the probability that it has the property S is p Example: In a given very large batch of calculators 5% are defective. Therefore, the probability of selecting at random a defective calculator is 5%. Here is a nice link which might help you understand the frequency distribution of the outcomes on an example of throwing a die (or two) many times: http://gwydir.demon.co.uk/jo/probability/dice.htm It is often HARD to find the probability of a given event! But we can approximate it quite well by simulating the event. Have you heard of the Three Doors game? Check below and try yourself. http://www.stat.sc.edu/%7ewest/javahtml/letsmakeadeal.html 2

Model of a random phenomenon 1. The sample space S = the set of all possible outcomes 2. Events = subsets of the sample space Venn Diagram A If A is an event, the event that "A does not occur" is denoted A c and is called the complement of A A A C Two events are called disjoint, if they cannot occur simultaneously A B Combined events: A and B, A or B A and B A or B Union of A and B Union of A and B 3

3. Probability = a function that assigns a number to each event A. That number is denoted as A) (called the probability of an event A) with the following properties: 0 A) 1 S) = 1 (S represents the set of all possible outcomes.) Events A and A C are complementary events if they are disjoint (mutually exclusive, no common outcomes), and A c ) = 1- A) if A are B are disjoint then A or B) = A) + B) Definition: Events A and B are independent if A and B) = A) B) Examples: A coin is tossed three times. a) Find S (sample space) of this experiment Solutions: The sample space S = {HHH, HHT, HTH, THH, HTT, THT, TTH, TTT} b) Let A = "two heads (H) in three tosses" B = "H in first toss" C = "H in second toss" Find the probability of the events A, B, C. Solutions: First find the list of simple events from sample space matching each description: A= {HHT, HTH, THH} B= {HHH, HHT, HTH, HTT } C= {HHH, HHT, THH, THT } Probability of each outcome = 1/8: equally likely outcomes with the total of 8 outcomes A) = 3/8 B) = 4/8 = 1/2 C) = 4/8 = ½ More examples of combined events: E={B and C} = H in first toss and H in second toss = {HHH, HHT} F={B or C} = H in first toss or H in second toss = 4

= { HHH, HHT, HTH, HTT, THH, THT } Independence of the events. Read the descriptions of events A and B in the example above. Are A and B independent? How to check if two events E and F are independent? Show that A and B)=A) B) Are the events E and F independent? The event {A and B} =" two heads in three tosses and H in the first toss} H" = {HHH, HHT} A and B) = 2/8 =1/4 A)=3/8 F) =2/8 E and F) =? =E) F) No What Can Go Wrong? Beware of probabilities that don t add up to 1.To be a legitimate probability assignment, the sum of the probabilities for all possible outcomes must total 1. Don t add probabilities of events if they re not disjoint. Events must be disjoint to use the Basic Addition Rule. Don t multiply probabilities of events if they re not independent. Direct multiplication of probabilities of events that are not independent is one of the most common errors people make in dealing with probabilities. Don t confuse disjoint and independent disjoint events can t be independent (why?) 5

STT 200 Classwork Chapter 14 A A white and colored dice are tossed 1. Identify the events: A ="sum equals 6", B = "sum is at most 5", C= "same number on each die", D ="at least one shows 4" and find their probabilities 2. Find the probability of the event that "the sum is at least 6" 3. Find the probability of A or B. Are the events A and B independent? Are they disjoint? 4. Let W=" white shows 4" and V=" colored shows 4" Are the events W and V independent? Are they disjoint? 6

STT 200 Classwork Chapter 14 B 7

8

9

Chapter 15 Probability Rules! Model of a random occurrence (discussed in Chapter 14) 1. The sample space S = the set of all possible outcomes 2. Events = subsets of the sample space A c = "A does not occurs" - the complement of A Two events are called disjoint, if they cannot occur simultaneously Combined events: A or B, A and B 3. Probability = a function that to each event A assigns a number A) 0 A) 1 S) = 1 A c ) = 1-A) if A are B are disjoint, then A or B) = A) + B) Example (Model with Equally Likely Outcomes) If the sample space has finitely many possible outcomes and all outcomes are equally likely, then the probability of an event A is count of outcomes in A PA ( ) count of all possible outcomes Many models do not have this property. General addition rule A or B) = A) + B) - A and B) Examples: 1. Let s count how many people in our classroom have dogs. How many have cats. How many have both. Find the probability that a randomly selected person in our class has a dog or a cat. Are the two events: having a dog and having a cat disjoin? Are they independent? 10

2. Select a single card from a deck. What is the probability of drawing a king or a diamond? On Venn diagram the probability of events A, B, A or B, A and B can be represented by the areas of the regions: A A and B B Example. Police report that 78% of drivers stopped on suspicion of drunk driving are given a breath test, 36% a blood test, and 22% both tests. What is the probability that a randomly selected DUI suspect is given 1. A test? Ans: 0.78 + 0.36 0.22 = 0.92 2. A blood test or a breath test, but not both? Ans: 0.70 (see diagram) 3. Neither test? Ans: 0.08 (see diagram) 0.08 0.56 0.22 0.14 11

Gender Conditional Probability Example. Given is a contingency table of students cross-classified by their school goal and gender Goals Grades Popular Sports Total Boy 24 10 13 47 Girl 27 19 7 53 Total 51 29 20 100 A student is selected at random. Let G ="a girl is selected" and S = "wants to excel at sports" 1. Find G) Ans: 53/100 = 0.53 2. Find S) Ans: 20/100 = 0.20 3. Find the probability that "a girl is selected and she wants to excel at sports" G and S) = 7/100 = 0.07 4. Find the probability that "a student wants to excel at sports, given that a girl is selected ". S G) #( S and G) #( G) = 7/53 = 0.13 Conditional probability of B given that A has occurred is defined by B A) Aand A) B) Conditional probability of A given that B has occurred is defined by 12

A B) Aand B) B) Recall that events A and B are independent, if A and B) = A) B). So, if A and B are independent, then B A) PB ( ) General multiplication rule From Aand B) B A) it follows that A) Aand B) A) B A) or Aand B) B) A B) Example. In a lot of 10 elements there are two defectives. Two elements are selected at random and without replacement, one after another. 1. What is the probability that the first is good and the second is defective? 2. What is the probability that both are defective? 3. What is the probability that the second is defective? Tree Diagram A tree diagram helps us think through conditional probabilities by showing sequences of events as paths that look like branches of a tree. 7/9 G 2 8/10 G 1 2/9 D 2 8/9 G 2 2/10 D 1 1/9 D 2 Answers: Let G= selecting good one and D= selecting a defective one 1. G 1 and D 2 )= (8/10) * (2/9) = 8/45 2. D 1 and D 2 )= (2/10)*(1/9)=1/45 G 1 and D 2 ) + D 1 and D 2 ) = (8/10)*(2/9) + (2/10)*(1/9) = 8/45+1/45=9/45=0.2 or 20% 13

Reversing Conditional Probability Suppose we want to know A B), but we know only A), B), and B A). We can compute A and B) from the formula A and B) = A) B A)= B) A B)= From this information, we can find A B): A B) A and B) B) (or, by relabeling, find B A)) 14

Reversing the Conditioning (Bayes Rule) Example. In April 2003 Science magazine reported a new test for ovarian cancer. Ovarian cancer afflicts 1 out of 5000 women. The test is highly sensitive, correctly detecting 99.97% of women who have the disease. But it s unlikely that it will be used because it gives false positives 5% of the time. Why is it a big problem? Draw a probability tree and determine the probability that a woman who tests positive actually has ovarian cancer. 0.9997 + 0.0002 C 0.0003-0.9998 0.05 + H 0.95 - What have we learned? The probability rules from Chapter 14 only work in special cases when events are disjoint or independent. We now know the General Addition Rule and General Multiplication Rule. We also know about conditional probabilities and that reversing the conditioning can give surprising results. Venn diagrams, tables, and tree diagrams help organize our thinking about probabilities. We now know more about independence a sound understanding of independence will be important throughout the rest of this course. 15

Classwork Chapter 15 16

17

18