CMPSCI 240: Reasoning about Uncertainty

Similar documents
CMPSCI 240: Reasoning Under Uncertainty

CMPSCI 240: Reasoning about Uncertainty

Venn Diagrams; Probability Laws. Notes. Set Operations and Relations. Venn Diagram 2.1. Venn Diagrams; Probability Laws. Notes

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

Lecture notes for probability. Math 124

Lecture 1. ABC of Probability

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Topic 5 Basics of Probability

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

Probability Theory Review

Fundamentals of Probability CE 311S

Sample Space: Specify all possible outcomes from an experiment. Event: Specify a particular outcome or combination of outcomes.

Statistical Inference

Probability- describes the pattern of chance outcomes

Properties of Probability

4. Probability of an event A for equally likely outcomes:

Econ 325: Introduction to Empirical Economics

Origins of Probability Theory

Chapter 6: Probability The Study of Randomness

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

Deep Learning for Computer Vision

ECE 302: Chapter 02 Probability Model

(6, 1), (5, 2), (4, 3), (3, 4), (2, 5), (1, 6)

Probability: Sets, Sample Spaces, Events

Recitation 2: Probability

Lecture Lecture 5

Recap. The study of randomness and uncertainty Chances, odds, likelihood, expected, probably, on average,... PROBABILITY INFERENTIAL STATISTICS

Chapter 5 : Probability. Exercise Sheet. SHilal. 1 P a g e

HW MATH425/525 Lecture Notes 1

Discrete Mathematics and Probability Theory Spring 2016 Rao and Walrand Note 14

Topic 2 Probability. Basic probability Conditional probability and independence Bayes rule Basic reliability

Communication Theory II

Lecture 3 - Axioms of Probability

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

Mathematical Foundations of Computer Science Lecture Outline October 18, 2018

The probability of an event is viewed as a numerical measure of the chance that the event will occur.

Probability Review I

Week 2. Section Texas A& M University. Department of Mathematics Texas A& M University, College Station 22 January-24 January 2019

Chapter 2. Probability. Math 371. University of Hawai i at Mānoa. Summer 2011

MATH MW Elementary Probability Course Notes Part I: Models and Counting

Axioms of Probability

Chapter 2: Probability Part 1

4 Lecture 4 Notes: Introduction to Probability. Probability Rules. Independence and Conditional Probability. Bayes Theorem. Risk and Odds Ratio

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

Introduction to Probability. Ariel Yadin. Lecture 1. We begin with an example [this is known as Bertrand s paradox]. *** Nov.

ECE353: Probability and Random Processes. Lecture 2 - Set Theory

Probabilistic models

Independence Solutions STAT-UB.0103 Statistics for Business Control and Regression Models

Chapter 3 : Conditional Probability and Independence

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample

P (A B) P ((B C) A) P (B A) = P (B A) + P (C A) P (A) = P (B A) + P (C A) = Q(A) + Q(B).

STAT 111 Recitation 1

Mean, Median and Mode. Lecture 3 - Axioms of Probability. Where do they come from? Graphically. We start with a set of 21 numbers, Sta102 / BME102

STP 226 ELEMENTARY STATISTICS

PROBABILITY VITTORIA SILVESTRI

Lecture 1 : The Mathematical Theory of Probability

Dynamic Programming Lecture #4

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

EE 178 Lecture Notes 0 Course Introduction. About EE178. About Probability. Course Goals. Course Topics. Lecture Notes EE 178

= 2 5 Note how we need to be somewhat careful with how we define the total number of outcomes in b) and d). We will return to this later.

Statistics for Financial Engineering Session 2: Basic Set Theory March 19 th, 2006

MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 3 9/10/2008 CONDITIONING AND INDEPENDENCE

Review of Basic Probability Theory

Preliminary Statistics Lecture 2: Probability Theory (Outline) prelimsoas.webs.com

UNIT 5 ~ Probability: What Are the Chances? 1

Lecture 8: Probability

AMS7: WEEK 2. CLASS 2

Introduction to Probability

Probability & Random Variables

STAT Chapter 3: Probability

Stat 225 Week 1, 8/20/12-8/24/12, Notes: Set Theory

Brief Review of Probability

CS 441 Discrete Mathematics for CS Lecture 19. Probabilities. CS 441 Discrete mathematics for CS. Probabilities

Chapter 2 Class Notes

Mutually Exclusive Events

Probability: Axioms, Properties, Interpretations

ECE 340 Probabilistic Methods in Engineering M/W 3-4:15. Lecture 2: Random Experiments. Prof. Vince Calhoun

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

Chapter 1 (Basic Probability)

Random Signals and Systems. Chapter 1. Jitendra K Tugnait. Department of Electrical & Computer Engineering. James B Davis Professor.

Why study probability? Set theory. ECE 6010 Lecture 1 Introduction; Review of Random Variables

Probability 1 (MATH 11300) lecture slides

Chap 1: Experiments, Models, and Probabilities. Random Processes. Chap 1 : Experiments, Models, and Probabilities

MA : Introductory Probability

Introduction to Probability Theory, Algebra, and Set Theory

ENGI 4421 Introduction to Probability; Sets & Venn Diagrams Page α 2 θ 1 u 3. wear coat. θ 2 = warm u 2 = sweaty! θ 1 = cold u 3 = brrr!

Math 1313 Experiments, Events and Sample Spaces

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

STA111 - Lecture 1 Welcome to STA111! 1 What is the difference between Probability and Statistics?

STA 291 Lecture 8. Probability. Probability Rules. Joint and Marginal Probability. STA Lecture 8 1

Lecture 3. Probability and elements of combinatorics

Vina Nguyen HSSP July 6, 2008

CPSC340. Probability. Nando de Freitas September, 2012 University of British Columbia

Presentation on Theo e ry r y o f P r P o r bab a il i i l t i y

Random Variables and Events

Lecture 1 Introduction to Probability and Set Theory Text: A Course in Probability by Weiss

Notes 1 Autumn Sample space, events. S is the number of elements in the set S.)

Single Maths B: Introduction to Probability

Statistical Theory 1

Transcription:

CMPSCI 240: Reasoning about Uncertainty Lecture 2: Sets and Events Andrew McGregor University of Massachusetts Last Compiled: January 27, 2017

Outline 1 Recap 2 Experiments and Events 3 Probabilistic Models 4 Probability Rules

Recap Given two sets A and B then: The intersection of the sets, denoted A B, consists of all elements that are in both A and B. The union of the sets, denoted A B, consists of all elements that are in at least one of A or B. Given a universal set Ω and a set A Ω then: The complement of A, denoted A C, consists of all elements in Ω that aren t in A.

Outline 1 Recap 2 Experiments and Events 3 Probabilistic Models 4 Probability Rules

Experiments and Sample Spaces In probability theory, an experiment is a process that results in exactly one of several possible outcomes. The set of possible outcomes of a probabilistic experiment is called the sample space Ω of the experiment.

Experiments and Sample Spaces Rolling a single die. Ω =,,,,, Drawing a card from a deck. Ω =,...,,,...,,,...,,,..., Flipping a single coin. Ω =, Flipping a single coin twice. Ω =,,,

Events An event is a subset of the sample space Ω. Consider rolling a die and define the sample space to be: Ω =,,,,, Consider the event the dice comes up even. What subset of elements from Ω does this correspond to? x x Ω and x is even =,,

Atomic Events An atomic event is a subset of the sample space Ω that only contains a single outcome. Consider rolling a die and define the sample space to be: Ω =,,,,, is an atomic event., is an event, but not an atomic event since it contains two outcomes.

Constructing Arbitrary Events From Atomic Events Events are sets so any event can be expressed in terms of a union of atomic events Let A = x is an odd number =,,. Then A = Let B = x is less than 3 =,. Then B =

Constructing Complex Events From Simple Events We can construct complex events from unions or intersection of simpler ones. Consider the case of a single dice roll: Let C = x is an odd number and x is less than 3. Then C = A B = Let D = x is an odd number or x is less than 3. Then D = A B =,,,

Outline 1 Recap 2 Experiments and Events 3 Probabilistic Models 4 Probability Rules

Probability Laws and Probability Axioms A probability law is a function P(A) that assigns a number between 0 and 1 to events A Ω. It encodes our assumptions about the likelihood of an event: if A is likely P(A) will be near 1 and if A unlikely P(A) will be near 0. To be a mathematically valid probability law, the function P( ) must satisfy the three axioms of probability theory: 1 Nonnegativity: P(A) 0 for every A Ω 2 Normalization: P(Ω) = 1 3 Additivity: P(A B) = P(A) + P(B) if A and B are disjoint

Probabilistic Models An abstract probabilistic model consists of two basic elements: 1 A sample space Ω defining the outcomes of interest and 2 A valid probability law defining the probability P(A) of each event of of interest A Ω. A probability model is considered a model because it is intended to capture the most relevant features of a potentially much more complex real-world process.

Outline 1 Recap 2 Experiments and Events 3 Probabilistic Models 4 Probability Rules

Useful Probability Rules Probability of the Empty Event: P( ) = 0 Probability of Event Complement: P(A c ) = 1 P(A) Probability of Unions: If A 1,..., A N are mutually disjoint, P(A 1... A N ) = P(A 1 ) + P(A 2 ) +... + P(A N ).

Probability of Event Complement Question: What can we say about the probability P(A C ) of the complement A C of event A? 1 By definition A A C = Ω and A A C =. 2 We also know that P(Ω) = 1 by the normalization axiom. 3 Using these results we have: P(A A c ) = P(Ω) = 1 P(A A c ) = P(A) + P(A c ) P(A) + P(A c ) = P(Ω) = 1 P(A c ) = 1 P(A)... Normalization... Additivity

Probability of the Empty Event Question: What s the probability of the empty event? 1 Since Ω and are disjoint, the additivity axiom implies P(Ω ) = P(Ω) + P( ) 2 Next note that Ω = Ω and so P(Ω ) = P(Ω) 3 Therefore and hence P( ) = 0. P(Ω) + P( ) = P(Ω)

Probability of Finite Unions Question: Suppose we have a finite collection of mutually disjoint events A 1,..., A N. What can we say about the probability of the union of these events P(A 1... A N )? P(A 1... A N ) = P(A 1 (A 2... A N ))... Associativity = P(A 1 ) + P(A 2... A N )... Additivity = P(A 1 ) + P(A 2 (A 3... A N ))... Associativity = P(A 1 ) + P(A 2 ) + P(A 3... A N )... Additivity. = P(A 1 ) +... + P(A N )

Describing Discrete Probability Laws Consider an experiment where we ask people whether they like strawberries, kiwis, or green apples the most. The sample space is Ω =,,. The probability law needs to specify: P(,, ) =? P(, ) =?, P(, ) =?, P(, ) =? P( ) =?, P( ) =?, P( ) =?, P() =? Do we need to specify all 8 probabilities? No! If suffices to specify the probability for the atomic events since the union rule allows to determine the probability of the other events. E.g., P( ) = 0.75, P( ) = 0.2 and P( ) = 0.05 implies P(, ) = P( ) + P( ) = 0.75 + 0.2 = 0.95. Probabilities of the atomic events should sum to 1 so that P(Ω) = 1.

Clicker Questions Q1: If P(A) = 0.2, P(B) = 0.4 and A and B are disjoint events. What is P(A B)? Answer: D A: 0 B: 0.2 C: 0.4 D: 0.6 E: 0.8 Q2: If P(A) = 0.2, P(B) = 0.4 and A B. What is P(A B)? Answer: B A: 0.2 B: 0.4 C: 0.6 D: 0.8 E: 2 Q3: If P(A) = 0.2, P(B) = 0.4 and P(A B) = 0.1. What is P(A B)? Answer: C A: 0.1 B: 0.2 C: 0.5 D: 0.6 E: 0.7

Bonus Slide The last quiz question can be solved using the inclusion-exclusion rule : P(A B) = P(A) + P(B) P(A B). Note that if A and B are disjoint events, then P(A B) = 0 and this simplifies to the additivity rule. To prove the formula, let C 1 = A B c C 2 = A B C 3 = A c B be a partition of A B. Then note that P(A) + P(B) P(A B) = P(C 1 ) + P(C 2 ) + P(C 2 ) + P(C 3 ) P(C 2 ) = P(C 1 ) + P(C 2 ) + P(C 3 ) = P(A B)