ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring 2014 2. Axioms of Probability part one.

Slides:



Advertisements
Similar presentations
Probability: The Study of Randomness Chapter Randomness Think about flipping a coin n times If n = 2, can have 2 heads (100% heads), 1 heads and.
Advertisements

Chapter 6 Probability and Simulation
COUNTING AND PROBABILITY
Mathematics.
Probability Fall 2011, CISC1400 Dr. Zhang.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Combinatorial Analysis.
Unit 32 STATISTICS.
HUDM4122 Probability and Statistical Inference February 2, 2015.
Probability Dr. Deshi Ye Outline  Introduction  Sample space and events  Probability  Elementary Theorem.
Probability Of An Event Dhon G. Dungca, M.Eng’g..
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
1 Section 5.1 Discrete Probability. 2 LaPlace’s definition of probability Number of successful outcomes divided by the number of possible outcomes This.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Conditional probability part two.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Conditional probability part two.
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
What are the chances of that happening?. What is probability? The mathematical expression of the chances that a particular event or outcome will happen.
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.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
5.1 Basic Probability Ideas
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.
EGR Sample Space, S The set of all possible outcomes of an experiment. Each outcome is an element or member or sample point. If the set is finite.
Chapter 3 Section 3.2 Basic Terms of Probability.
Principles of Statistics Chapter 2 Elements of Probability.
Chapter 11 Probability Sample spaces, events, probabilities, conditional probabilities, independence, Bayes’ formula.
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Conditional probability.
Chapter 7 With Question/Answer Animations. Section 7.1.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Random variables part one.
Chapter 16 Probability. Activity Rock-Paper-Scissors Shoot Tournament 1)Pair up and choose one person to be person A and the other person B. 2)Play 9.
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Axioms of Probability part two.
Chapter 2: Probability · An Experiment: is some procedure (or process) that we do and it results in an outcome. A random experiment: is an experiment we.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
3. Conditional probability
A phenomenon is random if individual outcomes are uncertain, but there is nonetheless a regular distribution of outcomes in a large number of repetitions.
Statistics Lecture 4. Last class: measures of spread and box-plots Have completed Chapter 1 Today - Chapter 2.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Axioms of Probability part one.
Sixth lecture Concepts of Probabilities. Random Experiment Can be repeated (theoretically) an infinite number of times Has a well-defined set of possible.
Section 3.2 Conditional Probability and the Multiplication Rule.
Basic Concepts of Probability
Part I: Theory Ver Chapter 2: Axioms of Probability.
Andrej Bogdanov ENGG 2430A: Probability and Statistics for Engineers Spring Axioms of Probability.
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:
Chapter 7: Probability Lesson 1: Basic Principles of Probability Mrs. Parziale.
3.4 Elements of Probability. Probability helps us to figure out the liklihood of something happening. The “something happening” is called and event. The.
Probability and Statistics for Engineers Huang Xin 2016 Jan 20.
ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Random variables part one.
EGR Sample Space, S The set of all possible outcomes of an experiment. Each outcome is an element or member or sample point. If the set is finite.
3-1 Copyright © 2014, 2011, and 2008 Pearson Education, Inc.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
“Teach A Level Maths” Statistics 1
Introduction to Discrete Probability
ICS 253: Discrete Structures I
What Is Probability?.
Chapter 4 Probability Concepts
“Teach A Level Maths” Statistics 1
Sequences, Series, and Probability
What is Probability? Quantification of uncertainty.
4.5 – Finding Probability Using Tree Diagrams and Outcome Tables
Chapter 2: Probability · An Experiment: is some procedure (or process) that we do and it results in an outcome. A random experiment: is an experiment we.
Discrete Probability Chapter 7 With Question/Answer Animations
PROBABILITY AND STATISTICS
Probability Union Intersection Complement
1. Probabilistic Models.
“Teach A Level Maths” Statistics 1
Digital Lesson Probability.
e is the possible out comes for a model
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:

ENGG 2040C: Probability Models and Applications Andrej Bogdanov Spring Axioms of Probability part one

Probability models A probability model is an assignment of probabilities to every element of the sample space. Probabilities are nonnegative and add up to one. S = { HH, HT, TH, TT } ¼¼¼¼ Examples models a pair of coins with equally likely outcomes

Examples a pair of antennas each can be working or defective S = { WW, WD, DW, DD } Model 1: Each antenna defective 10% of the time Defects are “independent” WW WD DW DD Model 2:Dependent defects: e.g both antennas use same power supply WW WD DW DD

How to come up with a model? Option 1: Use common sense If there is no reason to favor one outcome over another, assign same probability to both S = { 11, 12, 13, 14, 15, 16, 21, 22, 23, 24, 25, 26, 31, 32, 33, 34, 35, 36, 41, 42, 43, 44, 45, 46, 51, 52, 53, 54, 55, 56, 61, 62, 63, 64, 65, 66 } E.g. and should get same probability So every outcome w in S must be given probability 1/|S| = 1/36

The unfair die S = { 1, 2, 3, 4, 5, 6 } 2 cm 1 cm Common sense model: Probability should be proportional to surface area outcome surface area (in cm 2 ) probability

How to come up with a model? Option 2 The probability of an outcome should equal the fraction of times that it occurs when the experiment is performed many times under the same conditions.

How to come up with a model? S = { 1, 2, 3, 4, 5, 6 } toss 50 times outcome occurrences probability

How to come up with a model? toss 500 times The more times we repeat the experiment, the more accurate our model will be outcome occurrences probability

How to come up with a model? toss 5000 times The more times we repeat the experiment, the more accurate our model will be outcome occurrences probability

How to come up with a model? S = { WW, WD, DW, DD } MTWTFSSMTWTFSSMTWTFSSMTWTFSS WWxxxxxxxx WD DWx DDxxxxx outcome occurrences WWWDDWDD probability 8/1401/145/14

Exercise Give a probability model for the gender of Hong Kong young children. sample space = { boy, girl } Model 1:common sense 1/2 Model 2: from Hong Kong annual digest of statistics,

Events An event is a subset of the sample space. Examples S = { HH, HT, TH, TT } first coin comes out heads E 2 = { HH, HT } both coins come out same E 3 = { HH, TT } both coins come out heads E 1 = { HH }

Events The complement of an event is the opposite event. both coins come out heads E 1 = { HH } both coins do not come out heads E 1 c = { HT, TH, TT } S E EcEc

Events The intersection of events happens when all events happen. (a) first coin comes out heads E 2 = { HH, HT } (b) both coins come out same E 3 = { HH, TT } both (a) and (b) happen E 2 E 3 = { HH } S E F

Events The union of events happens when at least one of the events happens. (a) first coin comes out heads E 2 = { HH, HT } (b) both coins come out same E 3 = { HH, TT } at least one happens E 2 ∪ E 3 = { HH, HT, TT } S E F

Probability for finite spaces The probability of an event is the sum of the probabilities of its elements Example S = { HH, HT, TH, TT } ¼ ¼ ¼ ¼ both coins come out heads E 1 = { HH } P(E 1 ) = ¼ first coin comes out heads E 2 = { HH, HT } P(E 2 ) = ½ both coins come out same E 3 = { HH, TT } P(E 3 ) = ½

Axioms for finite probability A finite probability space is specified by: A finite sample space S. For every event E, a probability P(E) such that S E 1. for every E : 0 ≤ P(E) ≤ 1 S 2. P(S) = 1 S EF 3. If EF = ∅ then P(E ∪ F) = P(E) + P(F)

Rules for calculating probability Complement rule: P(E c ) = 1 – P(E) S E EcEc Difference rule: If E ⊆ F P(F and not E) = P(F) – P(E) S E F Inclusion-exclusion: P(E ∪ F) = P(E) + P(F) – P(EF) S E F You can prove them using the axioms. in particular, P(E) ≤ P(F)

Exercise In some town 10% of the people are rich, 5% are famous, and 3% are rich and famous. For a random resident of the town what are the chances that: (a) The person is not rich? (b) The person is rich but not famous? (c) The person is either rich or famous (but not both)?

Exercise S R F 10% 5% 3%

Equally likely outcomes A probability space has equally likely outcomes if P({x}) = 1/|S| for every x in S Then for every event E P(E) = number of outcomes in E number of outcomes in S |S||S| |E||E| =

Problem You toss a coin 4 times. What are the chances that a pair of consecutive heads occurs? S = { HHHH, HHHT, HHTH, HHTT,..., TTTT } We assume equally likely outcomes. E = { HHHH, HHHT, HHTH, HHTT, THHH, THHT, TTHH } P(E) = |E|/|S| = 7/16. Solution

Problem An urn contains 1 red ball and n - 1 blue balls. The balls are shuffled randomly. You draw k balls without replacement. What is the probability that you drew the red ball? Example: n = 5, k = 3 S = { RBBBB, BRBBB, BBRBB, BBBRB, BBBBR } with equally likely outcomes E = {x: the first 3 symbols of x contain an R } = { RBBBB, BRBBB, BBRBB } P(E) = |E|/|S| = 3/5

Solution S = all arrangements of 1 R and n - 1 B s. we assume equally likely outcomes. E = all arrangements in S where the R occurs in one of the first k positions P(E) = |S||S| |E||E| = n k

Problem for you to solve An urn contains 8 red balls and 8 blue balls, shuffled randomly. You draw 4 balls without replacement. What is the probability that you drew: (a) No red balls? (b) At least one red ball? (d) The same number of red and blue balls? (c) At least one ball of each color?

Poker In 5-card poker you are dealt 5 random cards from a deck. What is the probability you get a: