Chapter 1 Axioms of Probability. Wen-Guey Tzeng Computer Science Department National Chiao University

Similar documents
Chapter 1 Axioms of Probability. Wen-Guey Tzeng Computer Science Department National Chiao University

1. Axioms of probability

Section 13.3 Probability

Chapter Summary. 7.1 Discrete Probability 7.2 Probability Theory 7.3 Bayes Theorem 7.4 Expected value and Variance

Introduction to Probability

Origins of Probability Theory

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

Monty Hall Puzzle. Draw a tree diagram of possible choices (a possibility tree ) One for each strategy switch or no-switch

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

Mathematics for Informatics 4a

Statistical Theory 1

STT When trying to evaluate the likelihood of random events we are using following wording.

Probability Dr. Manjula Gunarathna 1

ACMS Statistics for Life Sciences. Chapter 9: Introducing Probability

Topic -2. Probability. Larson & Farber, Elementary Statistics: Picturing the World, 3e 1

{ } all possible outcomes of the procedure. There are 8 ways this procedure can happen.

PROBABILITY CHAPTER LEARNING OBJECTIVES UNIT OVERVIEW

BASICS OF PROBABILITY CHAPTER-1 CS6015-LINEAR ALGEBRA AND RANDOM PROCESSES

13.1 The Basics of Probability Theory

Lecture 3 Probability Basics

Chapter5 Probability.

Grades 7 & 8, Math Circles 24/25/26 October, Probability

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

Axioms of Probability

Conditional Probability

Dept. of Linguistics, Indiana University Fall 2015

With Question/Answer Animations. Chapter 7

Problems from Probability and Statistical Inference (9th ed.) by Hogg, Tanis and Zimmerman.

Chapter 13, Probability from Applied Finite Mathematics by Rupinder Sekhon was developed by OpenStax College, licensed by Rice University, and is

CSC Discrete Math I, Spring Discrete Probability

Mutually Exclusive Events

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD

STAT 430/510 Probability

What is the probability of getting a heads when flipping a coin

Producing data Toward statistical inference. Section 3.3

CS 361: Probability & Statistics

Lecture 3 - Axioms of Probability

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

Event A: at least one tail observed A:

STAT:5100 (22S:193) Statistical Inference I

Lecture Lecture 5

UNIT 5 ~ Probability: What Are the Chances? 1

Chance, too, which seems to rush along with slack reins, is bridled and governed by law (Boethius, ).

Announcements. Topics: To Do:

Chapter 4 Probability

Basic Statistics and Probability Chapter 3: Probability

Solution: Solution: Solution:

ELEG 3143 Probability & Stochastic Process Ch. 1 Probability

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

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

2. AXIOMATIC PROBABILITY

Statistical Inference

Discrete Structures for Computer Science

Probability Rules. MATH 130, Elements of Statistics I. J. Robert Buchanan. Fall Department of Mathematics

Basic Probability. Introduction

Fundamentals of Probability CE 311S

Lecture notes for probability. Math 124

Probability Theory and Applications

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

Announcements. Lecture 5: Probability. Dangling threads from last week: Mean vs. median. Dangling threads from last week: Sampling bias

LECTURE 1. 1 Introduction. 1.1 Sample spaces and events

STA Module 4 Probability Concepts. Rev.F08 1

Relationship between probability set function and random variable - 2 -

Probability Notes (A) , Fall 2010

Chapter 2: Probability Part 1

CS626 Data Analysis and Simulation

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

What is Probability? Probability. Sample Spaces and Events. Simple Event

STOR Lecture 4. Axioms of Probability - II

Econ 325: Introduction to Empirical Economics

Probabilistic models

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

Probability 1 (MATH 11300) lecture slides

Lecture 1. ABC of Probability

Chapter 2 PROBABILITY SAMPLE SPACE

UNIT Explain about the partition of a sampling space theorem?

EnM Probability and Random Processes

Chapter 7: Section 7-1 Probability Theory and Counting Principles

Lecture 10: Probability distributions TUESDAY, FEBRUARY 19, 2019

the time it takes until a radioactive substance undergoes a decay

Topic 3: Introduction to Probability

1 INFO 2950, 2 4 Feb 10

Probabilistic models

k P (X = k)

Probability, Random Processes and Inference

CHAPTER 3 PROBABILITY: EVENTS AND PROBABILITIES

F71SM STATISTICAL METHODS

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

3 PROBABILITY TOPICS

PROBABILITY THEORY 1. Basics

Chapter 1 (Basic Probability)

Discrete Probability

Discrete Probability. Mark Huiskes, LIACS Probability and Statistics, Mark Huiskes, LIACS, Lecture 2

AMS7: WEEK 2. CLASS 2

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

Probability 5-4 The Multiplication Rules and Conditional Probability

Discrete Probability

CHAPTER 15 PROBABILITY Introduction

12 1 = = 1

Lecture 1. Chapter 1. (Part I) Material Covered in This Lecture: Chapter 1, Chapter 2 ( ). 1. What is Statistics?

Transcription:

Chapter 1 Axioms of Probability Wen-Guey Tzeng Computer Science Department National Chiao University

What is probability? A branch of mathematics that deals with calculating the likelihood of a given event s occurrence, which is expressed as a number between 0 and 1. 2017 Fall 2

History Luca Paccioli(1445-1514), Studies of chances of events Niccolo Tartaglia(1499-1557) Girolamo Cardano(1501-1576) Galileo Galielei(1564-1642) Blaise Pascal(1623-1662) French Pierre de Fermat(1601-1665) Christian Huygens(1629-1695) 1657, first book On Calculations in Games of Chance James Bernoulli(1654-1705) 2017 Fall 3

Abraham de Moivre(1667-1754) Pierre-Simon Laplace(1749-1827) Simeon Denis Poisson(1781-1840) Karl Friedrich Gauss(1777-1855) Pafnuty Chebyshev(1821-1894) Andrei Markov(1856-1922) Aleksandr Lyapunov(1857-1918) Emile Borel(1871-1956) Serge Bernstein(1880-1968) Richard von Mises(1883-1953) 2017 Fall 4

1900 David Hilbert (1862-1943) pointed out the problem of the axiomatic treatment of the theory of probability 1933 Andrei Kolmogorov (1903-1987), Russian successfully axiomatized the theory of probability 2017 Fall 5

Experiment with uncertain results Experiments Toss a coin Toss a die Pick a person from a group Lifetime of a TV set Arrival time of a customer to a store A stock goes up or down tomorrow Outcomes (or samples): results of an experiment 2017 Fall 6

Sample space and Event For an experiment Sample space = {all outcomes} An event is a subset of the sample space Note: a subset of a sample space is not necessarily an event 2017 Fall 7

Experiment: flip a coin once Outcomes: H, T Sample space S = {H, T} Events: {}, {H}, {T}, {H,T} Experiment: flip two coins Sample space? 2017 Fall 8

Experiment: toss a die( 骰子 ) Sample space: which one? S = {1, 2, 3, 4, 5, 6} or S = {even, odd} or S = {red, black} or S = { (1, red), (2, black), } You can use whatever appropriate to your concerns 2017 Fall 9

Experiment: flip a coin and if the outcome is T, toss a die, else flip a coin again S={T1, T2, T3, T4, T5, T6, HT, HH} Events:? 2017 Fall 10

Experiment: Roll two dice at the same time Sample space: Events: The event that the first die is greater than the second die = The event that the sum of two dice is greater than 10 = 2017 Fall 11

Experiment: Put three balls of green, red and blue into two boxes randomly Sample space: Events: The event that green and red balls are in different boxes. = The event that red and blue balls are in the same boxes = 2017 Fall 12

Countable and uncountable S Countable number of outcomes Experiment: toss a coin until the head appears Sample space S = {H, TH, TTH, TTTH, } Uncountable number of outcomes Experiment: choose a number between 0 and 1 Lifetime of a TV set Sample space S = {x: x is real, 0x1} 2017 Fall 13

Event operations E and F are events over sample space S. E 1, E 2, are events. 2017 Fall 14 E S E F E F E F E EF F E c,,,, i i i i i n i i n i E E E E 1 1 1 1,,,

Associative laws: EU(FUG)=(EUF)UG E(FG)=(EF)G Distributive laws: (EF)UH=(EUH)(FUH) (EUF)H=(EH)U(FH) De Morgan s laws (E U F) c = E c F c (EF) c = E c U F c E = ES = E(FUF c ) = EF U EF c 2017 Fall 15

Event occurrence Event E has occurred if the outcome of an experiment belongs to E. Experiment: roll a die S = {1, 2, 3, 4, 5, 6} E 1 = {1, 3, 5} E 2 = {5, 6} E 3 = {1, 2, 3} If we rolled a die and got outcome=5, then events E 1 and E 2 occurred, but E 3 did not occur. 2017 Fall 16

Experiment: observe a TV set s lifetime in days Sample space S: Events E1: the event that the lifetime is greater than a week E2: the event that the lifetime is less than 3 days You bought a TV and it was broken after 2 week. Then, event E 1 occurred and E 2 did not occur. 2017 Fall 17

Probability function P A function from events to reals between 0 and 1 For every event A, 0P(A) 1 P(A): the probability (odd) that event E occurs. Questions What is a legitimate P for a sample space S? Complied with our intuition about probability Derive useful probability laws and theorems No conflicts between event probabilities For an experiment, how to define/deduce an appropriate probability function? 2017 Fall 18

Types of sample spaces Countable Finite Infinite Uncountable 2017 Fall 19

Finite S Example: toss a die S={1, 2, 3, 4, 5, 6} For equally likely samples For an event A, let # of elemtns in A P A = # of elements in S Example: roll a fair die. What is the probability that the result is even? What is the probability that the result is greater than 2? Question: what if outcomes are not equally likely? (The die is a fake.) 2017 Fall 20

Infinite and countable S Example, Toss a coin till a head appears. Sample space S={H, TH, TTH, TTTH, } Let P( {T i H} ) = 1/2 i+1 and P( {o 1, o 2,, o m } ) = P({o 1 }) + P({o 2 }) + + P({o m }) What is the probability that the number of tosses is less than or equal to 3? What is the probability that the number of tosses is odd? It cannot be all outcomes occur equally likely. 2017 Fall 21

Uncountable S Example: choose a real number between 0 and 2. Sample space S={x : x is real and 0x2} However, not every subset is an event. How to define P? P( {0.3} )? P( {x: 0.1x0.2} )? P( {0.3} {x: 0.1x0.2} )? 2017 Fall 22

Two ways to define P Frequentist probability Axiomatic probability 2017 Fall 23

Frequentist probability For an event A, do n times of independent experiments, # of occurrences of event A P A = lim n n Rationale Constructively define P(A) Capture our intuition about probability Problems: This limitation may not converge. Even if it converges, it is hard to compute the exact value. Some events occur only one, such as, tomorrow s weather. It is not possible to repeat experiments 2017 Fall 24

Axiomatic probability Find a minimum set of axioms for S and P to satisfy. These axioms are valid and consistent. From this set of axioms, we can derive all useful probability theorems and laws. Then, (S, P) is a legal probability model. 2017 Fall 25

Probability axioms Definition. (Probability Axioms) S: a sample space A: an event of S P is a probability function for S if P satisfies Axiom 1: P(A) 0 Axiom 2: P(S) = 1 Axiom 3: If A 1, A 2, A 3, is an infinite sequence of mutually exclusive events, then P( --infinite additivity A ) i1 i i1 P( A i ) 2017 Fall 26

Rationale: It focuses on valid operations on probability values rather than on the assignment of values to P(A). If P satisfies the three axioms, all fundamental probability theorems and laws can be derived from the axioms. 2017 Fall 27

Problems It does not tell you how to assign values to P(A). We need to find a way to assign probability values to some P(A). For example, For finite S and all samples in S are equally likely, then P(A) = #(A)/#(S). If some P(A) s are known, we use these P(A) s and the derived theorems to compute P(B) of other events B. The appropriateness of the assignment to P(A) for the experiment needs to be validated. 2017 Fall 28

Derive Theorems by Axioms Theorem: P() = 0 Proof: 2017 Fall 29

Theorem: If A 1, A 2, A 3,, A n are mutually exclusive, P( n ) n i1 Ai i 1 P( A i ) 2017 Fall 30

Theorem: P(A c ) = 1 P(A) Proof: 2017 Fall 31

Theorem: If A B, P(B-A) = P(BA c ) = P(B)-P(A) Proof: Corollary: If A B, P(A) <= P(B) 2017 Fall 32

Theorem: P(AUB) = P(A) + P(B) - P(AB) Proof: 2017 Fall 33

Inclusion-Exclusion Principle )... ( 1) (... ) ( ) ( ) ( )... ( 2 1 1 2 1 n n k j i j i i n A A A P A A A P A A P A P A A A P 2017 Fall 34

Deduce P by Axioms Experiment: toss a fair die - all outcomes are equally likely S= {1, 2, 3, 4, 5, 6} P(S) = P({1, 2, 3, 4, 5, 6}) = P({1})+P({2})+ +P({6}) Since the die is Fair: P({1}) = P({2}) = = P({6}) P({1}) = P({2}) = = P({6}) = 1/6 2017 Fall 35

Experiment: toss a bias coin The probability that the head appears is twice as much as the tail S = {H, T} Probability function P? 2017 Fall 36

Experiment: sexes of three children in a family Count the number of boys and girls Sample space S1 = {bbb, ggg, bbg, bgg} Probability function P? List from older to younger Sample space S2 = {bbb, bbg, bgg, bgb, ggg, ggb, gbb, gbg} Probability function P? 2017 Fall 37

Use Theorems to compute P(B) Problem: In a community of 400 adults, 300 bike or swim or do both, 160 swim, and 120 swim and bike. What is the probability that an adult, selected at random from this community, bikes? Sol: S = { (A 1, B, NS), (A 2, B, S),, (A 400, NB, S) } A: event that a person swims B: event that a person bikes Goal: compute P(B) P(AUB)=300/400, P(A)=160/400, P(B)=P(AUB)+P(AB)-P(A) P(AB)=120/400 = 300/400+120/400-160/400=260/400= 0.65 2017 Fall 38

Problem: a number is chosen at random from the set {1, 2, 3,, 1000}. What is the probability that it is divisible by 3 or 5, that is, either 3 or 5 or both? Sol: S ={1, 2, 3,, 1000} A: event that the outcome is divisible by 3 B: event that the outcome is divisible by 5 Goal: Compute P(A U B) P(AUB) =P(A)+P(B)-P(AB) =333/1000+200/1000-66/1000 =467/1000 2017 Fall 39

Problem: in a community, 32% of the population are male smokers, 27% are female smokers. Randomly choose a person from the community. What is the probability that this person smokes? Sol: Sample space S = {all persons in the community} = { (M 1, S), (M 2, N), (M 3, N),, (F 1, N), (F 2, S), } Probability function P: all outcomes are equally likely Event A: the chosen person smokes Event B: the chosen person is male Goal: Compute P(A) P(A) = P(AB) + P(AB c ) = 0.32 + 0.27 = 0.59 What is the probability that the person is male? P(B)=? 2017 Fall 40

Probabilities 0 and 1 When S is uncountable Not every subset of S is an event. For P(E) = 1, it does not mean E=S. For P(F) = 0, it does not mean F=. Thus, P(F)=0 does not mean event F will never happen. Event F can happen, but with probability 0. Example: selecting a random point from (0,1) A={1/3, 2/3}, P(A)=0 B=(0,1)-A, P(B)=1 2017 Fall 41