Tim Marks, Dept. of Computer Science and Engineering Probability Tim Marks University of California San Diego.

Slides:



Advertisements
Similar presentations
Set theory and Bayes’ Rule Sets and set operations Axioms of probability Probabilities of sets Bayes’ rule Chapter 2 of Haldar and Mahadevan’s Probability,
Advertisements

CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Instructor Longin Jan Latecki C3: Conditional Probability And.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Probability Theory Part 1: Basic Concepts. Sample Space - Events  Sample Point The outcome of a random experiment  Sample Space S The set of all possible.
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.
Business and Economics 7th Edition
1. Probability 2. Random variables 3. Inequalities 4. Convergence of random variables 5. Point and interval estimation 6. Hypotheses testing 7. Nonparametric.
Chapter 4 Probability.
STAT 104: Section 4 27 Feb, 2008 TF: Daniel Moon.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 4-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Chapter 4: Basic Probability
PROBABILITY (6MTCOAE205) Chapter 2 Probability.
AP STATISTICS.   Theoretical: true mathematical probability  Empirical: the relative frequency with which an event occurs in a given experiment  Subjective:
Probability and Statistics Dr. Saeid Moloudzadeh Axioms of Probability/ Basic Theorems 1 Contents Descriptive Statistics Axioms of Probability.
Chapter 4 Probability Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
The Erik Jonsson School of Engineering and Computer Science © Duncan L. MacFarlane Probability and Stochastic Processes Yates and Goodman Chapter 1 Summary.
The Erik Jonsson School of Engineering and Computer Science Chapter 1 pp William J. Pervin The University of Texas at Dallas Richardson, Texas
Chapter 8 Probability Section R Review. 2 Barnett/Ziegler/Byleen Finite Mathematics 12e Review for Chapter 8 Important Terms, Symbols, Concepts  8.1.
Sample space The set of all possible outcomes of a chance experiment –Roll a dieS={1,2,3,4,5,6} –Pick a cardS={A-K for ♠, ♥, ♣ & ♦} We want to know the.
Dr. Gary Blau, Sean HanMonday, Aug 13, 2007 Statistical Design of Experiments SECTION I Probability Theory Review.
CHAPTER 5 Probability: Review of Basic Concepts
Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
Chapter 11 Probability Sample spaces, events, probabilities, conditional probabilities, independence, Bayes’ formula.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Instructor Longin Jan Latecki C2: Outcomes, events, and probability.
Random Experiment Random Variable: Continuous, Discrete Sample Space: S Event: A, B, E Null Event Complement of an Event A’ Union of Events (either, or)
Lesson 6 – 2b Probability Models Part II. Knowledge Objectives Explain what is meant by random phenomenon. Explain what it means to say that the idea.
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.
AP STATISTICS LESSON 6.3 (DAY 1) GENERAL PROBABILITY RULES.
Lesson Probability Rules. Objectives Understand the rules of probabilities Compute and interpret probabilities using the empirical method Compute.
26134 Business Statistics Tutorial 7: Probability Key concepts in this tutorial are listed below 1. Construct contingency table.
Probability You’ll probably like it!. Probability Definitions Probability assignment Complement, union, intersection of events Conditional probability.
12/7/20151 Math b Conditional Probability, Independency, Bayes Theorem.
1 1 Slide © 2004 Thomson/South-Western Assigning Probabilities Classical Method Relative Frequency Method Subjective Method Assigning probabilities based.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 4 Introduction to Probability Experiments, Counting Rules, and Assigning Probabilities.
2. Introduction to Probability. What is a Probability?
1 Probability: Liklihood of occurrence; we know the population, and we predict the outcome or the sample. Statistics: We observe the sample and use the.
YMS Chapter 6 Probability: Foundations for Inference 6.1 – The Idea of Probability.
Probability Rules. We start with four basic rules of probability. They are simple, but you must know them. Rule 1: All probabilities are numbers between.
Probability. Rules  0 ≤ P(A) ≤ 1 for any event A.  P(S) = 1  Complement: P(A c ) = 1 – P(A)  Addition: If A and B are disjoint events, P(A or B) =
Lesson 8.7 Page #1-29 (ODD), 33, 35, 41, 43, 47, 49, (ODD) Pick up the handout on the table.
Probability: Terminology  Sample Space  Set of all possible outcomes of a random experiment.  Random Experiment  Any activity resulting in uncertain.
Copyright © 2014 by McGraw-Hill Higher Education. All rights reserved. Essentials of Business Statistics: Communicating with Numbers By Sanjiv Jaggia and.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Probability Rules In the following sections, we will transition from looking at the probability of one event to the probability of multiple events (compound.
11.7 Continued Probability. Independent Events ► Two events are independent if the occurrence of one has no effect on the occurrence of the other ► Probability.
5-Minute Check on Section 6-2a Click the mouse button or press the Space Bar to display the answers. 1.If you have a choice from 6 shirts, 5 pants, 10.
1 Chapter 4, Part 1 Basic ideas of Probability Relative Frequency, Classical Probability Compound Events, The Addition Rule Disjoint Events.
AP Statistics Section 6.2 B Probability Rules. If A represents some event, then the probability of event A happening can be represented as _____.
PROBABILITY AND BAYES THEOREM 1. 2 POPULATION SAMPLE PROBABILITY STATISTICAL INFERENCE.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
STATISTICS 6.0 Conditional Probabilities “Conditional Probabilities”
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Chapter 4 Probability.
AP Statistics Probability Rules. Definitions Probability of an Outcome: A number that represents the likelihood of the occurrence of an outcome. Probability.
PROBABILITY 1. Basic Terminology 2 Probability 3  Probability is the numerical measure of the likelihood that an event will occur  The probability.
Probability What is the probability of rolling “snake eyes” in one roll? What is the probability of rolling “yahtzee” in one roll?
Statistics for Managers 5th Edition
Chapter 3 Probability.
Chapter 4 Probability.
Chapter 4. Probability
Probability Models Section 6.2.
COnDITIONAL Probability
From Randomness to Probability
Click the mouse button or press the Space Bar to display the answers.
Probability Rules Rule 1.
More About Probability
Business and Economics 7th Edition
An Introduction to….
Chapter 12 Vocabulary.
Basic Probability Chapter Goal:
Presentation transcript:

Tim Marks, Dept. of Computer Science and Engineering Probability Tim Marks University of California San Diego

Tim Marks, Dept. of Computer Science and Engineering Probability Foundations of probability theory were developed around 1654 by Pascal and Fermat. –To answer a question from a gambling French nobleman, the Chevalier de Méré, concerning games of chance We will discuss probability in the context of a much more noble and important problem: Listening to music on my iPod

Tim Marks, Dept. of Computer Science and Engineering My iTunes library (100 songs) Number of songs Genre Decade Classical C Folk F Rock R 20 Seventies S Eighties E Nineties N 17310

Tim Marks, Dept. of Computer Science and Engineering Random experiment Experiment: –A song is randomly selected from my iTunes library –(There are 100 songs in my iTunes library) Outcomes: –There are 100 possible outcomes o 1 = Song 1 is selected o 2 = Song 2 is selected o 100 = Song 100 is selected Event –An event is a set of outcomes Example: C is the event “a classical song is selected” C = {o 2, o 5, o 17, …}  The set of all classical song outcomes

Tim Marks, Dept. of Computer Science and Engineering Events Every event A must have 0 ≤ P(A) ≤ 1 Examples of events: C = a Classical song is selected F = a Folk song is selected R = a Rock song is selected S = a song from the Seventies is selected E = a song from the Eighties is selected N = a song from the Nineties is selected Examples –P(F) = ? –P(N) = ?

Tim Marks, Dept. of Computer Science and Engineering Two special Events The certain event –The universal set (the entire sample space) of outcomes  = {o 1, o 2, o 3, …, o 100 } –P(  ) = 1  Probability that when an outcome occurs (when a song is selected from the iPod), it will be one of the outcomes in the sample space (one of the songs on the playlist). The impossible event –The empty set of outcomes (the complement of the set  ) ø = {} –P(ø) = 0  Probability that when an outcome occurs (when a song is selected from the iPod), it will not be one of the outcomes in the sample space (one of the songs on the playlist).

Tim Marks, Dept. of Computer Science and Engineering Events formed from other Events Intersection –The event “A and B” = A  B P(A and B) = P(A  B) = P(A, B) Examples: –P(R, E) = P(R  E) = ? Genre Decade Classical C Folk F Rock R 20 Seventies S Eighties E Nineties N – P(C, F) = ?

Tim Marks, Dept. of Computer Science and Engineering Events formed from other Events Union –The event “A or B” = A  B P(A or B) = P(A  B) P(A  B) = P(A) + P(B) – P(A, B) Examples: –P(F  S) = P(F) + P(S) – P(F, S) = ? Genre Decade Classical C Folk F Rock R 20 Seventies S Eighties E Nineties N – P(F  R) = ? – P(R  E) = ?

Tim Marks, Dept. of Computer Science and Engineering Conditional probability Examples: = ? Genre Decade Classical C Folk F Rock R 20 Seventies S Eighties E Nineties N – P(F | N) = ? P(A | B) = P(A, B) P(B) The probability of A given B P(R | S) = P(R, S) P(S)

Tim Marks, Dept. of Computer Science and Engineering Statistical Independence Examples: –S and C are independent –E and R are not independent Genre Decade Classical C Folk F Rock R 20 Seventies S Eighties E Nineties N – Are S and F independent? – Are C and R independent? We say that A and B are independent if P(A, B) = P(A)P(B)

Tim Marks, Dept. of Computer Science and Engineering Equivalent conditions for Independence P(A, B) = P(A)P(B)   P(A | B) = P(A) i.e.,knowing whether B happened gives you no information about whether A happened. »Review examples from last slide with this interpretation By similar reasoning,  P(B | A) = P(B)

Tim Marks, Dept. of Computer Science and Engineering Bayes’ Rule (a.k.a. Bayes’ Theorem) Reverend Thomas Bayes (1702–1761) Suppose we know P(A | B). –What if we want to know P(B | A) ? –Can infer P(B | A) from our knowledge of: P(A | B)  Likelihood P(B)  Prior Derivation of Bayes’ Rule (on board) Bayes’ rule: Example: