Introduction to Probability. Definitions The sample space is a set S composed of all the possible outcomes of an experiment. If we flip a coin twice,

Slides:



Advertisements
Similar presentations
Theoretical Probability
Advertisements

Probability Probability Principles of EngineeringTM
Lecture 13 Elements of Probability CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
1 Probability Theory Dr. Deshi Ye
Lesson Objective Be able to calculate probabilities for Binomial situations Begin to recognise the conditions necessary for a Random variable to have a.
Introduction to Probability Experiments, Outcomes, Events and Sample Spaces What is probability? Basic Rules of Probability Probabilities of Compound Events.
Great Theoretical Ideas in Computer Science.
Section 5.1 and 5.2 Probability
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 4 PRINCIPLES OF PROBABILITY.
Unit 4 Sections 4-1 & & 4-2: Sample Spaces and Probability  Probability – the chance of an event occurring.  Probability event – a chance process.
NIPRL Chapter 1. Probability Theory 1.1 Probabilities 1.2 Events 1.3 Combinations of Events 1.4 Conditional Probability 1.5 Probabilities of Event Intersections.
Probability and Sampling: Part I. What are the odds? What are the odds of finding a newspaper at the news stand? New York times Village Voice Jerusalem.
1 Chapter 6: Probability— The Study of Randomness 6.1The Idea of Probability 6.2Probability Models 6.3General Probability Rules.
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
Probability.
Math 310 Section 7.2 Probability. Succession of Events So far, our discussion of events have been in terms of a single stage scenario. We might be looking.
INFM 718A / LBSC 705 Information For Decision Making Lecture 6.
INFM 718A / LBSC 705 Information For Decision Making Lecture 7.
INFM 718A / LBSC 705 Information For Decision Making Lecture 8.
Bell Work: Factor x – 6x – Answer: (x – 8)(x + 2)
Section 6.2 ~ Basics of Probability Introduction to Probability and Statistics Ms. Young.
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
Review of Probability Theory. © Tallal Elshabrawy 2 Review of Probability Theory Experiments, Sample Spaces and Events Axioms of Probability Conditional.
Probability and Probability Distributions
Conditional Probability. Conditional Probability of an Event Illustrating Example (1): Consider the experiment of guessing the answer to a multiple choice.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Conditional Probability and Independence If A and B are events in sample space S and P(B) > 0, then the conditional probability of A given B is denoted.
Math 409/409G History of Mathematics
3.1 & 3.2: Fundamentals of Probability Objective: To understand and apply the basic probability rules and theorems CHS Statistics.
AP STATISTICS Section 6.2 Probability Models. Objective: To be able to understand and apply the rules for probability. Random: refers to the type of order.
1 Chapters 6-8. UNIT 2 VOCABULARY – Chap 6 2 ( 2) THE NOTATION “P” REPRESENTS THE TRUE PROBABILITY OF AN EVENT HAPPENING, ACCORDING TO AN IDEAL DISTRIBUTION.
Math 15 – Elementary Statistics Sections 7.1 – 7.3 Probability – Who are the Frequentists?
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Probability The calculated likelihood that a given event will occur
What is Probability?. The Mathematics of Chance How many possible outcomes are there with a single 6-sided die? What are your “chances” of rolling a 6?
Applicable Mathematics “Probability” Page 113. Definitions Probability is the mathematics of chance. It tells us the relative frequency with which we.
Journal: 1)Suppose you guessed on a multiple choice question (4 answers). What was the chance that you marked the correct answer? Explain. 2)What is the.
The Wonderful World… of Probability. When do we use Probability?
Section 6.2 Probability Models. Sample Space The sample space S of a random phenomenon is the set of all possible outcomes. For a flipped coin, the sample.
확률및공학통계 (Probability and Engineering Statistics) 이시웅.
Section 2 Union, Intersection, and Complement of Events, Odds
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 4 Introduction to Probability Experiments, Counting Rules, and Assigning Probabilities.
Introduction  Probability Theory was first used to solve problems in gambling  Blaise Pascal ( ) - laid the foundation for the Theory of Probability.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
How likely is it that…..?. The Law of Large Numbers says that the more times you repeat an experiment the closer the relative frequency of an event will.
Example Suppose we roll a die and flip a coin. How many possible outcomes are there? Give the sample space. A and B are defined as: A={Die is a 5 or 6}
Chapter 2. Conditional Probability Weiqi Luo ( 骆伟祺 ) School of Data & Computer Science Sun Yat-Sen University :
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
Unit 4 Section 3.1.
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
Elementary Probability.  Definition  Three Types of Probability  Set operations and Venn Diagrams  Mutually Exclusive, Independent and Dependent Events.
Chapter 4: Probability. Probability of an Event Definitions An experiment is the process of observing a phenomenon that has variation in its outcomes.
Introduction to Algorithms Probability Review – Appendix C CIS 670.
Section Constructing Models of Random Behavior Objectives: 1.Build probability models by observing data 2.Build probability models by constructing.
AP STATISTICS LESSON AP STATISTICS LESSON PROBABILITY MODELS.
PROBABILITY AND STATISTICS WEEK 2 Onur Doğan. Introduction to Probability The Classical Interpretation of Probability The Frequency Interpretation of.
PROBABILITY Probability Concepts
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
5.2 Probability
Probability Today you will need …… Orange Books Calculator Pen Ruler
EXAMPLE 1 Find a sample space
Probability Probability underlies statistical inference - the drawing of conclusions from a sample of data. If samples are drawn at random, their characteristics.
Probability Trees By Anthony Stones.
Great Theoretical Ideas In Computer Science
Probability.
Digital Lesson Probability.
I flip a coin two times. What is the sample space?
6.1 Sample space, events, probability
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:

Introduction to Probability

Definitions The sample space is a set S composed of all the possible outcomes of an experiment. If we flip a coin twice, the sample space might be taken as S = {hh, ht, th, tt} The sample space for the outcomes of the 2000 US presidential election might be taken as S = {Bush, Gore, Nader, Buchanan}

Definitions (continued) An event is a subset of the sample space, or A  S is an “event”. A = {hh} would be the event that heads occur twice when a coin is flipped twice. A = {Gore, Bush} would be the event that a major party candidate wins the election.

Probability 1) For every event A  S, Pr(A)  0 2) Σp i = 1 3) All of the probabilities constitute the probability distribution. 4) For all A  S, Pr(A) + Pr(Ā) = 1

Statistical Independence H is statistically independent of G if: Pr(H  G) = Pr(H) Recall that Pr(H and G) = Pr(G)Pr(H  G) If H and G are independent, then we can replace Pr(H  G) with Pr(H)

Statistical Independence Thus for independent events, Pr(H and G) = Pr(G)Pr(H) Example: the probability of having a boy, girl, and then boy in a family of three The sex of each child is independent of the sex of the others, thus we can calculate Pr(B and G and B) = Pr(B)Pr(G)Pr(B) Pr(B and G and B) = (1/2)(1/2)(1/2) = 1/8

Review of Probability Rules 1) Pr(G or H) = Pr(G) + Pr(H) - Pr(G and H); for mutually exclusive events, Pr(G and H) = 0 2) Pr(G and H) = Pr(G)Pr(H  G), also written as Pr(H  G) = Pr(G and H)/Pr(G) 3) If G and H are independent then, Pr(H  G) = Pr(H), thus Pr(G and H) = Pr(G)Pr(H)

Odds Another way to express probability is in terms of odds, d d = p/(1-p) p = probability of an outcome

Odds (continued) Example: What are the odds of getting a six on a dice throw? We know that p=1/6, so d = 1/6/(1-1/6) = (1/6)/(5/6) = 1/5. Gamblers often turn it around and say that the odds against getting a six on a dice roll are 5 to 1.

Bayes Theorem Sometimes we have prior information or beliefs about the outcomes we expect. Example: I am thinking of buying a used Saturn at Honest Ed's. I look up the record of Saturns in an auto magazine and find that, unfortunately, 30% of these cars have faulty transmissions. To get a better estimate of the particular car I want to purchase, I hire a mechanic who can make a guess on the basis of a quick drive around the block. I know that the mechanic is able to pronounce 90% of the faulty cars faulty and he is able to pronounce 80% of the good cars good.

Bayes Theorem (continued) What is the chance that the Saturn I'm thinking of buying has a faulty transmission: 1) Before I hire the mechanic? 2) If the mechanic pronounces it faulty? 3) If the mechanic pronounces it ok?

Bayes Theorem (continued) We can represent this information in a decision tree. Using Bayes Theorem: Pr(A  MA) = Pr(A)Pr(MA  A) Pr(A)Pr(MA  A) + Pr(Ā)Pr(MA  Ā) A = transmission is actually faulty MA= mechanic declares transmission faulty

Bayes Theorem (continued) Pr(A) =.3 Pr(MA  A) =.9 Pr(Ā) =.7 Pr(MA  Ā) =.2 Pr(A  MA) = (.3)(.9)=.27/.41 =.659 (.3)(.9) + (.7)(.2)

Bayes Theorem (continued) Interpretation: The probability that the transmission is faulty if the mechanic declares it faulty is 0.659, which is a much better estimate than our guess based on the auto magazine (0.3).

Another Example What is the probability that the transmission is faulty if the mechanic claims it is good? Pr(A  M Ā) = Pr(A)Pr(M Ā  A) Pr(A)Pr(M Ā  A) + Pr(Ā)Pr(M Ā  Ā) Pr(A  M Ā) = (.3)(.1) =.3/.59 =.051 (.3)(.1) + (.7)(.8)

Another Example (continued) Interpretation: The probability that the transmission is faulty if the mechanic declares it good is only.051, quite small.

Generalizing Bayes Theorem We can generalize Bayes Theorem to problems with more than 2 outcomes. Suppose there are 3 nickel sized coins in a box. Coin 1Coin 2Coin 3 2 headed2 tailedfair

Generalizing Bayes Theorem You reach in and grab a coin at random and flip it without looking at the coin. It comes up heads. What is the probability that you have drawn the two headed coin (#1)? Pr(2H  head) = Pr(2H)Pr(head  2H) Pr(2H)Pr(head  2H) + Pr(fair)Pr(head  fair) + Pr(2T)Pr(head  2T) Pr(2H  head) = (1/3)(1)= (1/3)/(1/2) = 2/3 =.667 (1/3)(1) + (1/3)(1/2) + (1/3)(0)