Chapter 2 Probability. Motivation We need concept of probability to make judgments about our hypotheses in the scientific method. Is the data consistent.

Slides:



Advertisements
Similar presentations
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Advertisements

Probability Simple Events
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
Presentation 5. Probability.
Mathematics in Today's World
Probability Week 4 GT Probability A value between zero and one, inclusive, describing the relative possibility (chance or likelihood) an event will.
Probability Sample Space Diagrams.
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
Chapter 4 Using Probability and Probability Distributions
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Keller: Stats for Mgmt & Econ, 7th Ed Probability
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Chapter 4 Probability.
Union… The union of two events is denoted if the event that occurs when either or both event occurs. It is denoted as: A or B We can use this concept to.
Math 310 Section 7.1 Probability. What is a probability? Def. In common usage, the word "probability" is used to mean the chance that a particular event.
1 Introduction to Probability Chapter 6. 2 Introduction In this chapter we discuss the likelihood of occurrence for events with uncertain outcomes. We.
Chapter 6 Probability.
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability.
Probability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
A Survey of Probability Concepts Chapter 5. 2 GOALS 1. Define probability. 2. Explain the terms experiment, event, outcome, permutations, and combinations.
Lecture Slides Elementary Statistics Twelfth Edition
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
SESSION 27 & 28 Last Update 6 th April 2011 Probability Theory.
From Randomness to Probability
Chapter Six Probability Sir Naseer Shahzada. There is a 99% chance we’ll do… …in today’s class !
© 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
LECTURE 15 THURSDAY, 15 OCTOBER STA 291 Fall
LECTURE 14 TUESDAY, 13 OCTOBER STA 291 Fall
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
CHAPTER 12: General Rules of Probability Lecture PowerPoint Slides The Basic Practice of Statistics 6 th Edition Moore / Notz / Fligner.
Chapter 4 Probability ©. Sample Space sample space.S The possible outcomes of a random experiment are called the basic outcomes, and the set of all basic.
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
A Survey of Probability Concepts
1 Chapter 4 – Probability An Introduction. 2 Chapter Outline – Part 1  Experiments, Counting Rules, and Assigning Probabilities  Events and Their Probability.
Statistics for Management and Economics Chapter 6
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
5.1 Randomness  The Language of Probability  Thinking about Randomness  The Uses of Probability 1.
Probability Basic Concepts Start with the Monty Hall puzzle
1 Probability Chapter Assigning probabilities to Events Random experiment –a random experiment is a process or course of action, whose outcome.
Introduction to Probability 1. What is the “chance” that sales will decrease if the price of the product is increase? 2. How likely that the Thai GDP will.
Fall 2002Biostat Probability Probability - meaning 1) classical 2) frequentist 3) subjective (personal) Sample space, events Mutually exclusive,
Lecture 7 Dustin Lueker. 2STA 291 Fall 2009 Lecture 7.
+ Chapter 5 Overview 5.1 Introducing Probability 5.2 Combining Events 5.3 Conditional Probability 5.4 Counting Methods 1.
Stat 1510: General Rules of Probability. Agenda 2  Independence and the Multiplication Rule  The General Addition Rule  Conditional Probability  The.
Probability Concepts. 2 GOALS 1. Define probability. 2. Explain the terms experiment, event, outcome, permutations, and combinations. 3. Define the terms.
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
Probability and Simulation The Study of Randomness.
Section Constructing Models of Random Behavior Objectives: 1.Build probability models by observing data 2.Build probability models by constructing.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
Probability Models Section 6.2. The Language of Probability What is random? What is random? Empirical means that it is based on observation rather than.
Concepts of Probability Introduction to Probability & Statistics Concepts of Probability.
CHAPTER 5 Probability: What Are the Chances?
Warm-up How many digits do you need to simulate heads or tails (or even or odd)? 2) To simulate an integer % probability of passing or failing?
Chapter 4 Probability Concepts
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
Chapter 6 Probability Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.
MAT 446 Supplementary Note for Ch 2
A Survey of Probability Concepts
CHAPTER 4 (Part A) PROBABILITY
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Section 6.2 Probability Models
Keller: Stats for Mgmt & Econ, 7th Ed Probability
Chapter 4 Probability.
CHAPTER 4 PROBABILITY Prem Mann, Introductory Statistics, 8/E Copyright © 2013 John Wiley & Sons. All rights reserved.
A random experiment gives rise to possible outcomes, but any particular outcome is uncertain – “random”. For example, tossing a coin… we know H or T will.
Presentation transcript:

Chapter 2 Probability

Motivation We need concept of probability to make judgments about our hypotheses in the scientific method. Is the data consistent with our hypotheses? We need concept of probability to make judgments about our hypotheses in the scientific method. Is the data consistent with our hypotheses? Example: Example: Suppose an old drug cures 50 percent of the time. Our new drug cures 6 out of 10 patients. Is our new drug better ?

Probabilities… The probability of any outcome of a random phenomenon is the proportion of times the outcome would occur in a very long series of repetitions. The probability of any outcome of a random phenomenon is the proportion of times the outcome would occur in a very long series of repetitions. Probability is a long-term frequency. Probability is a long-term frequency. List the outcomes of a random experiment… List the outcomes of a random experiment…

Randomness …a random experiment is an action or process that leads to one of several possible outcomes. …a random experiment is an action or process that leads to one of several possible outcomes. Example 1: Example 1: ExperimentOutcomes Flip a coinHeads, Tails Exam Marks Numbers: 0, 1, 2,..., 100 Assembly Timet > 0 seconds Course GradesF, D, C, B, A, A+

Ex2 Probability Trees : Flip a coin Heads Tails Heads Tails Heads Tails.5 P(HH) = 1/4 P(HT) = 1/4 P(TH) = 1/4 P(TT) = 1/4

Ex3. Two Coin Flips P(No Heads) = P(TT) = ¼ P(No Heads) = P(TT) = ¼ P(One Head) = P(HT) + P(TH) = 1/4 +1/4= 1/2 P(One Head) = P(HT) + P(TH) = 1/4 +1/4= 1/2 P(Two Heads) = P(HH) = 1/4 P(Two Heads) = P(HH) = 1/4

Example This list must be exhaustive, i.e. ALL possible outcomes included. This list must be exhaustive, i.e. ALL possible outcomes included. Ex : Die roll {1,2,3,4,5}Die roll {1,2,3,4,5,6} The list must be mutually exclusive, i.e. no two outcomes can occur at the same time: The list must be mutually exclusive, i.e. no two outcomes can occur at the same time: Ex : Die roll {odd number or even number} Die roll{ number less than 4 or even number}

Sample Space & Event Set of all possible outcomes is called the sample space, S. Set of all possible outcomes is called the sample space, S. Ex : Coin toss: S={H, T}, Die toss: S={1, 2, 3, 4, 5, 6} Toss coin twice: S={HH, TT, HT, TH} An individual outcome of a sample space is called a simple event An individual outcome of a sample space is called a simple event An event is a collection or set of one or more simple events in a sample space. An event is a collection or set of one or more simple events in a sample space. Example : Example : Roll of a die: S = {1, 2, 3, 4, 5, 6} Simple event: the number “3” will be rolled Event: an even number (one of 2, 4, or 6) will be rolled

Properties of Probabilities… (1) The probability of any outcome is between 0 and 1 0 ≤ P(O i ) ≤ 1 for each i, and (2) The sum of the probabilities of all the outcomes equals 1 P(O 1 ) + P(O 2 ) + … + P(O k ) = 1 P(O i ) represents the probability of outcome i

Events & Probabilities… The probability of an event is the sum of the probabilities of the simple events that constitute the event. The probability of an event is the sum of the probabilities of the simple events that constitute the event. Ex : Ex : (assuming a fair die) S = {1, 2, 3, 4, 5, 6} and P(1) = P(2) = P(3) = P(4) = P(5) = P(6) = 1/6 Then:P(EVEN) = P(2) + P(4) + P(6) = 1/6 + 1/6 + 1/6 = 3/6 = 1/2 = P(2) + P(4) + P(6) = 1/6 + 1/6 + 1/6 = 3/6 = 1/2

Equally Likely Outcomes Probabilities under equally likely outcome case is simply the number of outcomes making up the event, divided by the number of outcomes in S. Probabilities under equally likely outcome case is simply the number of outcomes making up the event, divided by the number of outcomes in S. Example: Example: A die toss, A={2, 4, 6}, so P(A) = 3/ 6 = 1/2 =.5 Example: Example: Coin toss, A={H}, P(A) = 1/2=.5

6.12 Classical Approach… If an experiment has n possible outcomes, this method would assign a probability of 1/n to each outcome. If an experiment has n possible outcomes, this method would assign a probability of 1/n to each outcome. Example : Example : Experiment: Rolling a die Sample Space: S = {1, 2, 3, 4, 5, 6} Probabilities: Each sample point has a 1/6 chance of occurring.

Experiment: Rolling dice Experiment: Rolling dice Sample Space: S = {2, 3, …, 12} Probability Examples: P(2) = 1/36 P(2) = 1/36 P(7) = 6/36 P(7) = 6/36 P(10) = 3/36 P(10) = 3/

Bits & Bytes Computer Shop tracks the number of desktop computer systems it sells over a month (30 days): Bits & Bytes Computer Shop tracks the number of desktop computer systems it sells over a month (30 days): For example, For example, 10 days out of 30 2 desktops were sold. From this we can construct the probabilities of an event Desktops Sold# of Days

Relative Frequency Approach… “There is a 40% chance Bits & Bytes will sell 3 desktops on any given day” Desktops Sold# of DaysDesktops Sold 011/30 = /30 = /30 = /30 = /30 =.17 ∑ = 1.00

Conditional Probability… Conditional probability is used to determine how two events are related; that is, we can determine the probability of one event given the occurrence of another related event. Conditional probability is used to determine how two events are related; that is, we can determine the probability of one event given the occurrence of another related event. Conditional probabilities are written as P(A | B) and read as “the probability of A given B” and is calculated as: Conditional probabilities are written as P(A | B) and read as “the probability of A given B” and is calculated as:

Again, the probability of an event given that another event has occurred is called a conditional probability… Again, the probability of an event given that another event has occurred is called a conditional probability… Note how “A given B” and “B given A” are related…

Conditional Probability Example: Example: Die toss, A={1, 2, 3}, B={2, 4, 6}. P(A | B) = P(A and B) / P(B) = (1/6) / (3/6) = 1/3.

Example Why are some mutual fund managers more successful than others? One possible factor is where the manager earned his or her MBA. The following table compares mutual fund performance against the ranking of the school where the fund manager earned their MBA: Mutual fund outperforms the market Mutual fund doesn’t outperform the market Top 20 MBA program Not top 20 MBA program E.g. This is the probability that a mutual fund outperforms AND the manager was in a top- 20 MBA program; it’s a joint probability.

Alternatively, we could introduce shorthand notation to represent the events: A 1 = Fund manager graduated from a top-20 MBA program A 1 = Fund manager graduated from a top-20 MBA program A 2 = Fund manager did not graduate from a top-20 MBA program A 2 = Fund manager did not graduate from a top-20 MBA program B 1 = Fund outperforms the market B 1 = Fund outperforms the market B 2 = Fund does not outperform the market B 2 = Fund does not outperform the market B1B1 B2B2 A1A A2A Ex : P(A 2 and B 1 ) =.06 = the probability a fund outperforms the market and the manager isn’t from a top-20 school.

Example : What’s the probability that a fund will outperform the market given that the manager graduated from a top-20 MBA program? Example : What’s the probability that a fund will outperform the market given that the manager graduated from a top-20 MBA program?Recall: A 1 = Fund manager graduated from a top-20 MBA program A 2 = Fund manager did not graduate from a top-20 MBA program B 1 = Fund outperforms the market B 2 = Fund does not outperform the market Thus, we want to know “what is P(B 1 | A 1 ) ?” Thus, we want to know “what is P(B 1 | A 1 ) ?”

We want to calculate P(B 1 | A 1 ) We want to calculate P(B 1 | A 1 ) Thus, there is a 27.5% chance that that a fund will outperform the market given that the manager graduated from a top-20 MBA program. B1B1 B2B2 P(A i ) A1A A2A P(B j )

Marginal Probabilities… Marginal probabilities are computed by adding across rows and down columns; that is they are calculated in the margins of the table: Marginal probabilities are computed by adding across rows and down columns; that is they are calculated in the margins of the table: B1B1 B2B2 P(A i ) A1A A2A P(B j ) P(B 1 ) = P(A 2 ) = “ what’s the probability a fund outperforms the market?” “what’s the probability a fund manager isn’t from a top school?” BOTH margins must add to 1 (useful error check)

Probability Problems P(Married) = 59,920/103,870 P(Married | 18-29) = 7842/ 22,512

Independence… One of the objectives of calculating conditional probability is to determine whether two events are related. One of the objectives of calculating conditional probability is to determine whether two events are related. In particular, we would like to know whether they are independent, that is, if the probability of one event is not affected by the occurrence of the other event. In particular, we would like to know whether they are independent, that is, if the probability of one event is not affected by the occurrence of the other event. Two events A and B are said to be independent if Two events A and B are said to be independent if P(A|B) = P(A) or P(B|A) = P(B)

Independence Events A and B are independent if: Events A and B are independent if: P(A|B) = P(A), that is, if the additional knowledge of B does not change the probability of A happening. On the marriage problem, the events Marriage and are dependent because P(Marriage|18-29) does not equal P(Marriage), so these events are dependent. On the marriage problem, the events Marriage and are dependent because P(Marriage|18-29) does not equal P(Marriage), so these events are dependent. In die tossing, event roll a 3 on roll 2 is independent of roll a 6 on roll 1. In die tossing, event roll a 3 on roll 2 is independent of roll a 6 on roll 1. P(3 | 6) =1/6 =P(3) = 1/6.

Independence… For example, we saw that For example, we saw that P(B 1 | A 1 ) =.275 The marginal probability for B 1 is: P(B 1 ) = 0.17 Since P(B 1 |A 1 ) ≠ P(B 1 ), B 1 and A 1 are not independent events. Since P(B 1 |A 1 ) ≠ P(B 1 ), B 1 and A 1 are not independent events. Stated another way, they are dependent. That is, the probability of one event (B 1 ) is affected by the occurrence of the other event (A 1 ). Stated another way, they are dependent. That is, the probability of one event (B 1 ) is affected by the occurrence of the other event (A 1 ).