Chapter 6 Probability Mohamed Elhusseiny

Slides:



Advertisements
Similar presentations
Lecture 18 Dr. MUMTAZ AHMED MTH 161: Introduction To Statistics.
Advertisements

Probability Probability Principles of EngineeringTM
Lecture Discrete Probability. 5.2 Recap Sample space: space of all possible outcomes. Event: subset of of S. p(s) : probability of element s of.
1 Press Ctrl-A ©G Dear2009 – Not to be sold/Free to use Tree Diagrams Stage 6 - Year 12 General Mathematic (HSC)
Chapter 2 Probability. 2.1 Sample Spaces and Events.
CHAPTER 4: PROBABILITY.
7 Probability Experiments, Sample Spaces, and Events
Mathematics.
Section 2 Union, Intersection, and Complement of Events, Odds
Chapter Two Probability
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Chapter 4 Using Probability and Probability Distributions
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Probability Probability Principles of EngineeringTM
Pattern Classification, Chapter 1 1 Basic Probability.
UNDERSTANDING INDEPENDENT EVENTS Adapted from Walch Education.
CHAPTER 10: Introducing Probability
Stat 1510: Introducing Probability. Agenda 2  The Idea of Probability  Probability Models  Probability Rules  Finite and Discrete Probability Models.
You can make an organized list to show all possible
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 3 Section 3.2 Basic Terms of Probability.
Introduction In probability, events are either dependent or independent. Two events are independent if the occurrence or non-occurrence of one event has.
Principles of Statistics Chapter 2 Elements of Probability.
College Algebra Fifth Edition James Stewart Lothar Redlin Saleem Watson.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
BA 201 Lecture 6 Basic Probability Concepts. Topics Basic Probability Concepts Approaches to probability Sample spaces Events and special events Using.
S.CP.A.1 Probability Basics. Probability - The chance of an event occurring Experiment: Outcome: Sample Space: Event: The process of measuring or observing.
CPSC 531: Probability Review1 CPSC 531:Probability & Statistics: Review Instructor: Anirban Mahanti Office: ICT Class.
Two way tables and tree diagrams
Probability The calculated likelihood that a given event will occur
© 2010 Pearson Education, Inc. All rights reserved Chapter 9 9 Probability.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Chapter 3 Probability Larson/Farber 4th ed. Chapter Outline 3.1 Basic Concepts of Probability 3.2 Conditional Probability and the Multiplication Rule.
CHAPTER 10: Introducing Probability ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
Section 2 Union, Intersection, and Complement of Events, Odds
(c) 2007 IUPUI SPEA K300 (4392) Probability Likelihood (chance) that an event occurs Classical interpretation of probability: all outcomes in the sample.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Natural Language Processing Giuseppe Attardi Introduction to Probability IP notice: some slides from: Dan Jurafsky, Jim Martin, Sandiway Fong, Dan Klein.
Binomial Distribution
12.1/12.2 Probability Quick Vocab: Random experiment: “random” act, no way of knowing ahead of time Outcome: results of a random experiment Event: a.
CHAPTER 10: Introducing Probability ESSENTIAL STATISTICS Second Edition David S. Moore, William I. Notz, and Michael A. Fligner Lecture Presentation.
PROBABILITY References: Budiyono Statistika untuk Penelitian: Edisi Kedua. Surakarta: UNS Press. Spigel, M. R Probability and Statistics.
Math 1320 Chapter 7: Probability 7.1 Sample Spaces and Events.
Chapter 10 PROBABILITY. Probability Terminology  Experiment: take a measurement Like flipping a coin  Outcome: one possible result of an experiment.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Chapter 22 E. Outcomes of Different Events When the outcome of one event affects the outcome of a second event, we say that the events are dependent.
Terminologies in Probability
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
PROBABILITY AND PROBABILITY RULES
Math 145 September 25, 2006.
Basic Probability aft A RAJASEKHAR YADAV.
Sample Spaces, Subsets and Basic Probability
Unit 1: Probability and Statistics
Terminologies in Probability
Statistical Inference for Managers
CHAPTER 10: Introducing Probability
Terminologies in Probability
Terminologies in Probability
Combination and Permutations Quiz!
1. Probabilistic Models.
Terminologies in Probability
©G Dear 2009 – Not to be sold/Free to use
Sample Spaces, Subsets and Basic Probability
Math 145 June 26, 2007.
Terminologies in Probability
6.2 Probability Models.
Math 145 February 12, 2008.
Terminologies in Probability
Presentation transcript:

Chapter 6 Probability Mohamed Elhusseiny

Introduction This chapter introduced the basic concepts of probability. It outlined rules and techniques for assigning probabilities to events. One objective in his and the following chapters is to develop the probability-based tools that are at the basis of statistical inference. Probability can also play a critical role in decision making

Assigning Probabilities to Events Random Experiment A random experiment is an action or process that lead to one of several possible outcomes. –O–O–O–Or is an experiment for which all possible outcomes are known but the true one is not known before making the experiment Sample space A sample space is the set of all possible outcome of a random experiment.

Examples –F–F–F–Flip or toss a coin one. The outcomes are S={ H, T} –F–F–F–Flip or toss a coin twice. The outcomes are S={ HH, HT, TH, TT} –R–R–R–Record student evaluation of a course. The outcomes are S={poor, fair, good, very good, Excellent} –F–F–F–Flip or toss a coin three times. The outcomes are S={ HHH, HHT, HTH, HTT, THH, THT, TTH, TTT }

The outcomes must be exhaustive ( all outcomes must be included), and they must be mutually exclusive ( no two outcomes can occur at the same time)The outcomes must be exhaustive ( all outcomes must be included), and they must be mutually exclusive ( no two outcomes can occur at the same time) Example when tossing a die one the following are exhaustive outcomes 1, 2, 3, 4, 5,Example when tossing a die one the following are exhaustive outcomes 1, 2, 3, 4, 5, 6 not

Requirement of probabilities Given a sample spaceGiven a sample space S = { O 1, O 2, …,O k } The probabilities assigned to the outcomes must satisfy the following 1.2.

Events An Event is a subset of the sample space SAn Event is a subset of the sample space S Example: In tossing a die one, let A be the event of having an outcome that is an even number and B be the event of having an outcome that is at least 3, and C the event of having a number greater than 5.Example: In tossing a die one, let A be the event of having an outcome that is an even number and B be the event of having an outcome that is at least 3, and C the event of having a number greater than 5. S = { 1, 2, 3, 4, 5, 6 } and A = { 2, 4, 6 } B = { 3, 4, 5, 6 } A = { 2, 4, 6 } B = { 3, 4, 5, 6 } C = { 6} C = { 6} Simple events

Probability of an event The probability of an event is the ratio between the number of element (simple event) in the event and the total number of elements in the sample space.The probability of an event is the ratio between the number of element (simple event) in the event and the total number of elements in the sample space. Example: S = { 1, 2, 3, 4, 5, 6 } and A = { 2, 4, 6 }P(A) = 3 / 6 A = { 2, 4, 6 }P(A) = 3 / 6 B = { 3, 4, 5, 6 }P(B) = 4 / 6 B = { 3, 4, 5, 6 }P(B) = 4 / 6 C = { 6}P(C) = 1 / 6 C = { 6}P(C) = 1 / 6

Rules of Probability Addition Rule: P(A  B) = P(A) + P(B) – P(A  B) P(A or B) = P(A) + P(B) if A and B are mutually exclusive Multiplication Rule: P(A  B) = P(A) · P(B) if A and B are independent Complement Rule: P( A c ) = 1 – P(A)

Example In tossing a coin 3 times, let A be the event of having exactly 2 heads, B the event of having at most 2 heads and C the event of having no heads, D no tails Then A = { HHT, HTH, THH} B = { HHT, HTH, THH, HTT, THT, TTH, TTT} C = { TTT} D ={ HHH} P(A  B) = P(A) + P(B) – P(A  B) = 3/8 + 7/8 - 3/8 =7/8 P(A)= 3 /8 P(B)= 7 /8P(C)=1/8 A  B={ HHT, HTH, THH} P(A  B)=3/8

Rules of Probability Example A = { HHT, HTH, THH} B = { HHT, HTH, THH, HTT, THT, TTH, TTT} C = { TTT} P(A  C) = P(A) + P(B) = 3/8 + 1/8 =4/8 P(C  B) = P(C) + P(B) – P(C  B) = 1/8 + 7/8 - 1/8 =7/8 P(A)= 3 /8 P(B)= 7 /8 P(C)=1/8 C  B={ TTT} P(C  B)=1/8

Rules of Probability Example A = { HHT, HTH, THH} B = { HHT, HTH, THH, HTT, THT, TTH, TTT} C = { TTT} P(A c ) = 1 - P(A) =1 - 3/8 = 5/8 P(B c ) = 1 - P(B) =1 - 7/8 = 1/8

Example A box containing 3 white balls, 4 black balls and 8 red balls. What is the sample space if one ball is selected at randomS = { W, B, R} What is the sample space if two ball is selected at random with replacement S = { WW, WB, WR, BB, BW, BR, RR, RW, RB} What is the sample space if two ball is selected at random with replacement S = { WB, WR, BW, BR, RW, RB}

Rules of Probability Example A box containing 3 white balls, 4 black balls and 8 red balls. Two balls are selected at random what is the probability that the first is red and the second is white P( R and W) = P( R  W) = (8/15) (3/15) P( R and W) = P( R  W) = (8/15) (3/14) With Replacement Without Replacement

Rules of Probability Example A box containing 3 white balls, 4 black balls and 8 red balls. Two balls are selected at random what is the probability that the first is white and the second is black P( W and B) = P( W  B) = (3/15) (4/15) P( W and B) = P( W  B) = (3/15) (4/14) With Replacement Without Replacement

Rules of Probability Example A box containing 3 white balls, 4 black balls and 8 red balls. Two balls are selected at random what is the probability that the one is white and the one is black P(One W and One B) =P( W and B) + P( B and W) = (3/15) (4/15) + (4/15) (3/15) P(One W and One B) =P( W and B) + P( B and W) = (3/15) (4/14) + (4/15) (3/14) With Replacement Without Replacement

Marginal and Joint probability A company ’ s employees have been classified according to age and salary, as shown in the following table: A1 B1 A2 A3 B2 B3 B P(B1(=43/100 P(B3(=26/100 P(B3(=31/100 P(A1(=35/100 P(A1 and B1(=32/100 Joint Probability Marginal Probability

Marginal and Joint probability One employee is selected at random, what is the probability that he is between years old A1 B1 A2 A3 B2 B3 B P(A2(= 49/100 P(A2and B2(= 18/100

Conditional probability It is the probability of one event given that the other event has occurred. It is to know hoe two events are related We would like to know for example what is the performance of a female student will be. The probability we look for is P( performance of a student given that the student is female) Written P (B/A) where EVANT A (OCCURRED) Event B (Not Yet Occurred)

Conditional probability Example:Example: One employee is selected at random and found to be under 30 years old, what is the probability that his salary is under $ 25,000 A1 B1 A2 A3 B2 B3 B P(A1 and B1(=32/100 P(A1 (=35/100

Conditional probability Example:Example: One employee is selected at random and found to have a salary that between $25,000 and $45,000, what is the probability that he is over 45 yr old A1 B1 A2 A3 B2 B3 B P(A3 and B2(=10/100 P(B2 (=35/100

BAYES ’ LAW Conditional probability is looking for the probability of a particular event when one of its causes has occurred. In many situations we may be interested in finding the probability of a specific cause for this particular event. ( A reverse thinking)Conditional probability is looking for the probability of a particular event when one of its causes has occurred. In many situations we may be interested in finding the probability of a specific cause for this particular event. ( A reverse thinking)

BAYES ’ LAW Example: A computer chips manufactory has three production lines to produce those chips. P1 (production line 1) produces 40% of the whole production of the manufactory, P2 (production line 2) produces 35% of the whole production of the manufactory, and P3 (production line 3) produces 25% of the whole production of the manufactory. It is known that P1 produce 3% defective items, P2 produce 2% defective items, and P3 produce 1.5% defective items. One item was drawn at random and found to be defective. What is the probability that this item was produces by P2.

P(P1) = 0.40 P(D/P1) = 0.03 P(P2) = 0.35 P(D/P2) = 0.02 P(P3) = 0.25 P(D/P3) = The required probability is P(P2/D)