Introduction to Probability and Statistics I Lecture 7 and 8

Similar documents
Business Statistics. Chapter 4 Using Probability and Probability Distributions QMIS 120. Dr. Mohammad Zainal

Chapter 4 Student Lecture Notes 4-1

Textbook: pp Chapter 2: Probability Concepts and Applications

Contents 2.1 Basic Concepts of Probability Methods of Assigning Probabilities Principle of Counting - Permutation and Combination 39

Probability. Ms. Weinstein Probability & Statistics

Chapter 4: Probability and Counting Rules

Applied Statistics I

Statistics Intermediate Probability

Probability. The MEnTe Program Math Enrichment through Technology. Title V East Los Angeles College

CHAPTER 9 - COUNTING PRINCIPLES AND PROBABILITY

Chapter 3: Elements of Chance: Probability Methods

CHAPTERS 14 & 15 PROBABILITY STAT 203

Chapter 5 - Elementary Probability Theory

November 6, Chapter 8: Probability: The Mathematics of Chance

Basic Probability Ideas. Experiment - a situation involving chance or probability that leads to results called outcomes.

Chapter 1. Probability

8.2 Union, Intersection, and Complement of Events; Odds

Def: The intersection of A and B is the set of all elements common to both set A and set B

Chapter 6: Probability and Simulation. The study of randomness

CHAPTER 2 PROBABILITY. 2.1 Sample Space. 2.2 Events

Chapter 1. Probability

Week 3 Classical Probability, Part I

Classical Definition of Probability Relative Frequency Definition of Probability Some properties of Probability

ECON 214 Elements of Statistics for Economists

STOR 155 Introductory Statistics. Lecture 10: Randomness and Probability Model

Probability is the likelihood that an event will occur.

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

Section Introduction to Sets

Probability (Devore Chapter Two)

Axiomatic Probability

Probability Models. Section 6.2

Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules

STAT 155 Introductory Statistics. Lecture 11: Randomness and Probability Model

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

Empirical (or statistical) probability) is based on. The empirical probability of an event E is the frequency of event E.

Theory of Probability - Brett Bernstein

Lecture 4: Chapter 4

Probability. Engr. Jeffrey T. Dellosa.

Section 6.5 Conditional Probability

Probability - Chapter 4

Grade 7/8 Math Circles February 25/26, Probability

Math 227 Elementary Statistics. Bluman 5 th edition

Combinatorics: The Fine Art of Counting

Lecture 4: Chapter 4

APPENDIX 2.3: RULES OF PROBABILITY

0-5 Adding Probabilities. 1. CARNIVAL GAMES A spinner has sections of equal size. The table shows the results of several spins.

Intermediate Math Circles November 1, 2017 Probability I

Independent and Mutually Exclusive Events

1MA01: Probability. Sinéad Ryan. November 12, 2013 TCD

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

Probability and Statistics. Copyright Cengage Learning. All rights reserved.

Raise your hand if you rode a bus within the past month. Record the number of raised hands.

Find the probability of an event by using the definition of probability

Total. STAT/MATH 394 A - Autumn Quarter Midterm. Name: Student ID Number: Directions. Complete all questions.

Fundamentals of Probability

Probability Concepts and Counting Rules

Counting Methods and Probability

Lesson 4: Chapter 4 Sections 1-2

Compound Probability. Set Theory. Basic Definitions

Math 1313 Section 6.2 Definition of Probability

Probability and Randomness. Day 1

Chapter 2. Permutations and Combinations

4.1 Sample Spaces and Events

Chapter 15 Probability Rules!

Unit 1 Day 1: Sample Spaces and Subsets. Define: Sample Space. Define: Intersection of two sets (A B) Define: Union of two sets (A B)

Chapter 6: Probability and Simulation. The study of randomness

Statistics 1040 Summer 2009 Exam III

7.1 Experiments, Sample Spaces, and Events

Answer each of the following problems. Make sure to show your work.

"Well, statistically speaking, you are for more likely to have an accident at an intersection, so I just make sure that I spend less time there.

November 11, Chapter 8: Probability: The Mathematics of Chance

Probably About Probability p <.05. Probability. What Is Probability? Probability of Events. Greg C Elvers

PROBABILITY. 1. Introduction. Candidates should able to:

CSC/MATA67 Tutorial, Week 12

Answer each of the following problems. Make sure to show your work.

STAT 430/510 Probability

Objective: Determine empirical probability based on specific sample data. (AA21)

STAT 3743: Probability and Statistics

Chapter 3: Probability (Part 1)

Applications of Probability

Module 4 Project Maths Development Team Draft (Version 2)

RANDOM EXPERIMENTS AND EVENTS

Mathematics 'A' level Module MS1: Statistics 1. Probability. The aims of this lesson are to enable you to. calculate and understand probability

Sample Spaces, Events, Probability

Probability MAT230. Fall Discrete Mathematics. MAT230 (Discrete Math) Probability Fall / 37

Probability Review 41

4.3 Rules of Probability

Grade 6 Math Circles Fall Oct 14/15 Probability

(a) Suppose you flip a coin and roll a die. Are the events obtain a head and roll a 5 dependent or independent events?

Define and Diagram Outcomes (Subsets) of the Sample Space (Universal Set)

A Probability Work Sheet

P(X is on ) Practice Test - Chapter 13. BASEBALL A baseball team fields 9 players. How many possible batting orders are there for the 9 players?

Chapter 12: Probability & Statistics. Notes #2: Simple Probability and Independent & Dependent Events and Compound Events

CSE 312: Foundations of Computing II Quiz Section #2: Inclusion-Exclusion, Pigeonhole, Introduction to Probability (solutions)

, -the of all of a probability experiment. consists of outcomes. (b) List the elements of the event consisting of a number that is greater than 4.

Mathematical Foundations HW 5 By 11:59pm, 12 Dec, 2015

Section Summary. Finite Probability Probabilities of Complements and Unions of Events Probabilistic Reasoning

Mathacle. Name: Date:

Fundamental. If one event can occur m ways and another event can occur n ways, then the number of ways both events can occur is:.

Probability and Counting Techniques

Transcription:

Introduction to Probability and Statistics I Lecture 7 and 8 Basic Probability and Counting Methods

Computing theoretical probabilities:counting methods Great for gambling! Fun to compute! If outcomes are equally likely to occur P( A) # of ways A can occur total# of outcomes Note: these are called counting methods because we have to count the number of ways A can occur and the number of total possible outcomes

Summary of Counting Methods Counting methods for computing probabilities Permutations order matters! Combinations Order doesn t matter With replacement Without replacement Without replacement

Permutations Order matters! A permutation is an ordered arrangement of objects With replacement=once an event occurs, it can occur again (after you roll a 6, you can roll a 6 again on the same die) Without replacement=an event cannot repeat (after you draw an ace of spades out of a deck, there is 0 probability of getting it again)

Combinations Order doesn t matter Introduction to combination function, or choosing Written as: n C r or n r Spoken: n choose r

Combinations How many two-card hands can I draw from a deck when order does not matter (eg, ace of spades followed by ten of clubs is the same as ten of clubs followed by ace of 52 cards 51 cards spades) 52x51 2 52! (52 2)!2

Summary of Counting Methods Counting methods for computing probabilities Permutations order matters! Combinations Order doesn t matter With replacement: n r Without replacement: n(n-1)(n-2) (n-r+1)= n! ( n r)! Without replacement: n r n! ( n r)! r!

Important Terms Random Experiment a process leading to an uncertain outcome Basic Outcome a possible outcome of a random experiment Sample Space the collection of all possible outcomes of a random experiment Event any subset of basic outcomes from the sample space

32 Probability Probability the chance that an uncertain event will occur (always between 0 and 1) 1 Certain 0 P(A) 1 For any event A 5 0 Impossible

Assessing Probability There are three approaches to assessing the probability of an uncertain event: 1 classical probability N probability of event A A N numberof outcomesthat satisfythe event total numberof outcomesinthe samplespace Assumes all outcomes in the sample space are equally likely to occur

Counting the Possible Outcomes Use the Combinations formula to determine the number of combinations of n things taken k at a time C n k k!(n n! k)! where n! = n(n-1)(n-2) (1) 0! = 1 by definition

Assessing Probability Three approaches (continued) 2 relative frequency probability n probability of event A A n numberof events inthe populationthat satisfyevent total numberof events inthe population A the limit of the proportion of times that an event A occurs in a large number of trials, n 3 subjective probability an individual opinion or belief about the probability of occurrence

Probability Postulates 1 If A is any event in the sample space S, then 0 P(A) 2 Let A be an event in S, and let O i denote the basic outcomes Then (the notation means that the summation is over all the basic outcomes in A) 1 P(A) P(O i) A 3 P(S) = 1

33 Probability Rules The Complement rule: P( A) 1P(A) ie, P(A) P(A) 1 The Addition rule: The probability of the union of two events is P(A B) P(A) P(B) P(A B)

A Probability Table Probabilities and joint probabilities for two events A and B are summarized in this table: B B A P(A B) P(A B) P(A) A P( A B) P( A B) P(A) P(B) P(B) P(S) 10

Addition Rule Example Consider a standard deck of 52 cards, with four suits: Let event A = card is an Ace Let event B = card is from a red suit

Addition Rule Example (continued) P(Red U Ace) = P(Red) + P(Ace) - P(Red Ace) = 26/52 + 4/52-2/52 = 28/52 Color Type Red Black Total Ace 2 2 4 Non-Ace 24 24 48 Total 26 26 52 Don t count the two red aces twice!

Conditional Probability A conditional probability is the probability of one event, given that another event has occurred: P(A B) P(A B) P(B) The conditional probability of A given that B has occurred P(B A) P(A B) P(A) The conditional probability of B given that A has occurred

Conditional Probability Example Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a CD player (CD) 20% of the cars have both What is the probability that a car has a CD player, given that it has AC? ie, we want to find P(CD AC)

Conditional Probability Example Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a CD player (CD) 20% of the cars have both CD No CD Total AC 2 5 7 No AC 2 1 3 Total 4 6 10 (continued) P(CD AC) P(CD AC) P(AC) 2 7 2857

Conditional Probability Example (continued) Given AC, we only consider the top row (70% of the cars) Of these, 20% have a CD player 20% of 70% is 2857% CD No CD Total AC 2 5 7 No AC 2 1 3 Total 4 6 10 P(CD AC) P(CD AC) P(AC) 2 7 2857

Multiplication Rule Multiplication rule for two events A and B: P(A B) P(A B)P(B) also P(A B) P(B A) P(A)

Multiplication Rule Example P(Red Ace) = P(Red Ace)P(Ace) 2 4 4 52 2 52 number of cards that are redandace total number of cards Color Type Red Black Total Ace 2 2 4 Non-Ace 24 24 48 Total 26 26 52 2 52

Statistical Independence Two events are statistically independent if and only if: P(A B) P(A)P(B) Events A and B are independent when the probability of one event is not affected by the other event If A and B are independent, then P(A B) P(A) if P(B)>0 P(B A) P(B) if P(A)>0

Statistical Independence Example Of the cars on a used car lot, 70% have air conditioning (AC) and 40% have a CD player (CD) 20% of the cars have both CD No CD Total AC 2 5 7 No AC 2 1 3 Total 4 6 10 Are the events AC and CD statistically independent?

Statistical Independence Example P(AC CD) = 02 CD No CD Total AC 2 5 7 No AC 2 1 3 Total 4 6 10 (continued) P(AC) = 07 P(CD) = 04 P(AC)P(CD) = (07)(04) = 028 P(AC CD) = 02 P(AC)P(CD) = 028 So the two events are not statistically independent

34 Bivariate Probabilities Outcomes for bivariate events: B 1 B 2 B k A 1 P(A 1 B 1 ) P(A 1 B 2 ) P(A 1 B k ) A 2 P(A 2 B 1 ) P(A 2 B 2 ) P(A 2 B k ) A h P(A h B 1 ) P(A h B 2 ) P(A h B k )

Joint and Marginal Probabilities The probability of a joint event, A B: P(A B) number of outcomessatisfyinga andb total number of elementaryoutcomes Computing a marginal probability: P(A) P(A B 1) P(A B2) P(A B k ) Where B 1, B 2,, B k are k mutually exclusive and collectively exhaustive events

Marginal Probability Example P(Ace) P(Ace Red) P(Ace Black) 2 52 2 52 4 52 Color Type Red Black Total Ace 2 2 4 Non-Ace 24 24 48 Total 26 26 52

Using a Tree Diagram Given AC or no AC: All Cars 2 7 5 7 2 3 P(AC CD) = 2 P(AC CD) = 5 P(AC CD) = 2 1 3 P(AC CD) = 1

Odds The odds in favor of a particular event are given by the ratio of the probability of the event divided by the probability of its complement The odds in favor of A are odds P(A) 1-P(A) P(A) P(A)

Odds: Example Calculate the probability of winning if the odds of winning are 3 to 1: odds 3 1 P(A) 1-P(A) Now multiply both sides by 1 P(A) and solve for P(A): 3 x (1- P(A)) = P(A) 3 3P(A) = P(A) 3 = 4P(A) P(A) = 075

Overinvolvement Ratio The probability of event A 1 conditional on event B 1 divided by the probability of A 1 conditional on activity B 2 is defined as the overinvolvement ratio: P(A P(A 1 1 B B An overinvolvement ratio greater than 1 implies that event A 1 increases the conditional odds ration in favor of B 1 : P(B1 A1) P(B1) P(B A ) P(B ) 2 1 1 2 ) ) 2

35 Bayes Theorem P(E i A) P(A E P(A E i P(A) 1 )P(E ) )P(E i 1 P(A E ) P(A E 2 i )P(E ) )P(E 2 i ) P(A E k )P(E k ) where: E i = i th event of k mutually exclusive and collectively exhaustive events A = new event that might impact P(E i )

Bayes Theorem Example A drilling company has estimated a 40% chance of striking oil for their new well A detailed test has been scheduled for more information Historically, 60% of successful wells have had detailed tests, and 20% of unsuccessful wells have had detailed tests Given that this well has been scheduled for a detailed test, what is the probability that the well will be successful?

Bayes Theorem Example (continued) Let S = successful well U = unsuccessful well P(S) = 4, P(U) = 6 (prior probabilities) Define the detailed test event as D Conditional probabilities: P(D S) = 6 P(D U) = 2 Goal is to find P(S D)

Bayes Theorem Example Apply Bayes Theorem: (continued) P(S D) P(D P(D S)P(S) S)P(S) P(D U)P(U) (6)(4) (6)(4) (2)(6) 24 24 12 667 So the revised probability of success (from the original estimate of 4), given that this well has been scheduled for a detailed test, is 667