ERG 2040 tutorial 1 Zhu Lei.

Slides:



Advertisements
Similar presentations
Beginning Probability
Advertisements

Statistics and Probability
Probability (Unit 5) Is the likelihood or chance of an even occurring.
Probability and Statistics
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.
Section 5.1 and 5.2 Probability
9.7 Probability Mutually exclusive events. Definition of Probability Probability is the Outcomes divided by Sample Space. Outcomes the results of some.
Section 5.1 Constructing Models of Random Behavior.
Probability What is the probability of rolling the number 2 on a dice?
5.1 Sampling Distributions for Counts and Proportions.
1 Discrete Math CS 280 Prof. Bart Selman Module Probability --- Part a) Introduction.
Probability And Expected Value ————————————
PROBABILITY MODELS. 1.1 Probability Models and Engineering Probability models are applied in all aspects of Engineering Traffic engineering, reliability,
Chapter 4: Probability (Cont.) In this handout: Total probability rule Bayes’ rule Random sampling from finite population Rule of combinations.
Review of Probability and Binomial Distributions
5.2A Probability Rules! AP Statistics.
Chapter 15: Probability Rules!
Chapter 6 Probability.
Binomial PDF and CDF Section Starter Five marbles are on a table. Two of them are going to be painted with a “W” and the rest will be painted.
5.1 Basic Probability Ideas
Probability Denoted by P(Event) This method for calculating probabilities is only appropriate when the outcomes of the sample space are equally likely.
Unit 5 Probability.
Probability of Independent and Dependent Events
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Independence and Bernoulli.
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.
UNIT 8: PROBABILITY 7 TH GRADE MATH MS. CARQUEVILLE.
Anchor Activity NDA GAMES DAY You and a partner will create a game involving some form of probability. You will need to have rules (explained) What are.
Z. Z Scissors Paper Stone  Scissors beats paper (cuts it)  Paper beats rock (wraps it)  Rock beats scissors (blunts it)  Showing the same is a draw.
Section 7.2. Section Summary Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability Independence Bernoulli.
Chapter 9 Review. 1. Give the probability of each outcome.
September1999 CMSC 203 / 0201 Fall 2002 Week #9 – 21/23/25 October 2002 Prof. Marie desJardins.
Independence and Bernoulli Trials. Sharif University of Technology 2 Independence  A, B independent implies: are also independent. Proof for independence.
DR. DAWNE MARTIN DEPARTMENT OF MARKETING Show Me the Money.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Warm Up a) 28 b) ½ c) Varies Packet signatures???.
Rock, Paper, Scissors A Probability Experiment.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Rules of Probability. Recall: Axioms of Probability 1. P[E] ≥ P[S] = 1 3. Property 3 is called the additive rule for probability if E i ∩ E j =
13.3 Conditional Probability and Intersections of Events Understand how to compute conditional probability. Calculate the probability of the intersection.
Probability Basics Section Starter Roll two dice and record the sum shown. Repeat until you have done 20 rolls. Write a list of all the possible.
11/13 Basic probability Probability in our context has to do with the outcomes of repeatable experiments Need an Experiment Set X of outcomes (outcome.
Chapter 4 Probability, Randomness, and Uncertainty.
Examples 1.At City High School, 30% of students have part- time jobs and 25% of students are on the honor roll. What is the probability that a student.
Section 6.2: Probability Models Ways to show a sample space of outcomes of multiple actions/tasks: (example: flipping a coin and rolling a 6 sided die)
5.2 Day One Probability Rules. Learning Targets 1.I can describe a probability model for a chance process. 2.I can use basic probability rules, including.
Theoretical Probability Key words: knowing equally likely outcomes.
3/7/20161 Now it’s time to look at… Discrete Probability.
Do Now: March 28th A box contains a large number of plastic balls. Some of the balls are red and the rest are green. One ball will be selected at random.
1 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness.
Basic Probabilities Starting Unit 6 Today!. Definitions  Experiment – any process that generates one or more observable outcomes  Sample Space – set.
In games of chance the expectations can be thought of as the average outcome if the game was repeated multiple times. Expectation These calculated expectations.
Ch 11.7 Probability. Definitions Experiment – any happening for which the result is uncertain Experiment – any happening for which the result is uncertain.
13 Lesson 1 Let Me Count the Ways Fundamental Counting Principle, Permutations & Combinations CP Probability and Statistics FA 2014 S-ID.1S-CP.3S-CP.5.
Probability of Independent and Dependent Events
Now it’s time to look at…
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
PROBABILITY AND PROBABILITY RULES
Sequences, Series, and Probability
Discrete Probability Chapter 7 With Question/Answer Animations
Probability of Independent and Dependent Events
Probability of Independent and Dependent Events
Probability of Independent and Dependent Events
Probability And Expected Value ————————————
Probability 14.1 Experimental Probability 14.2 Principles of Counting
Probability and Statistics
Chapter 2.3 Counting Sample Points Combination In many problems we are interested in the number of ways of selecting r objects from n without regard to.
Probability And Expected Value ————————————
CSE 321 Discrete Structures
Probability of Independent and Dependent Events
Presentation transcript:

ERG 2040 tutorial 1 Zhu Lei

Components of a Probability Model The probability theory is designed for random experiments. We want to know how likely a certain outcome would appear. The Sample Space: the totality of the possible outcomes of a random experiment. (S) An event: a collection of certain sample points, or a subset of the sample space. (E)

Components of a Probability Model Example 1: Prof. Liew and Prof. Yum do paper-scissors-rock (石头剪子布) to decide who will grade the homework. The rule is: if some one loses, he will do all the works; if it is a draw, they do it together. First, we pay attention to Prof. Liew’s choice The Sample Space is: The Event set: any combinations of these three choices Event 1: Prof. Liew chose ‘Scissors’: E1={Scissors};          Event 2: Prof. Liew did not choose ‘rock’: E2={Paper, Scissors}. {Paper, Scissors, Rock}

Components of a Probability Model Example 1: Prof. Liew and Prof. Yum do paper-scissors-rock (石头剪子布) to decide who will grade the homework. The rule is: if some one loses, he will do all the works; if it is a draw, they do it together. Second, we pay attention to Prof. Liew and Prof. Yum’ choices. The Sample Space is: It contains 9 possible choices. The Event set: any combinations of these nine choices Event 1: Prof. Liew chose ‘Scissors’ while Prof. Yum dose not chose ‘Paper’: E1={ (s,s), (s,r) }; { (p,p), (p,s), (p,r), (s,p), (s,s), (s,r), (r,p), (r,s), (r,r) }

Components of a Probability Model Example 1: Prof. Liew and Prof. Yum do paper-scissors-rock (石头剪子布) to decide who will grade the homework. The rule is: if some one loses, he will do all the works; if it is a draw, they do it together. Next, we pay attention to the outcome of the game. That is who will grade the homework. The Sample Space is ? A. { Prof. Yum, Prof. Liew}; B. { Prof. Yum, Prof. Liew, Prof Yum & Prof. Liew} C. { Prof. Yum grade homework while Prof. Liew does not, Prof. Liew grade homework while Prof. Yum does not, Both Prof. Yum and Prof Liew grade the homework }

Exclusive Vs. Independent ‘Exclusive’ events are those from the same trial of the same experiment. They cannot happen together. ‘Independent’ events are those from different experiments or different trials of one experiment. The outcome of one event does not influence the others. Example: E1={Prof. Liew choose paper in the first round}; E2={Prof. Liew choose rock in the first round}; E3={Prof. Yum choose paper in the first round}; E4={Prof. Liew choose rock in the second round}; E1 and E2 are mutually exclusive, because Prof. Liew cannot choose both paper and stone at the same time, although he has two hands.

Mutually Independent Vs. Pairwise Independent Example: Let Y denote Prof. Yum’s choice. Let L denote Prof. Liew’s choice. Let C denote the outcome of the game; Suppose Prof. Yum and Prof. Liew made their choice randomly. Is Y independent with C? P(Y∩C)=P(Y)P(C)? Yes Are they mutually independent? Or P(Y∩L∩C)=P(Y)P(L)P(C)? No

Independent Events Example: Prof. Liew and Prof. Yum are both very smart guys. After several months, Prof Liew found out that Prof. Yum likes to use ‘rock’ the most. So he decide to use ‘paper’ to defeat Prof. Yum in the next round. Now is L independent with Y? (Yes) Prof. Yum found out that Prof. Liew would blink his eyes whenever he want to use scissors. After finding out this, Prof. Yum decide to use rock if Prof. Liew blink his eyes and use paper otherwise. Now is L independent with Y? (No) Following Prof. Yum’s strategy, does he still have chance to lose? Yes, he still have chance to lose

Conditional Probability The conditional probability of A given B is Example: 100 students took erg2040. 15% of them got Grade A for both homework and exams; 30% of them got Grade A for homework; 20% of them got Grade A in exams. For a student who did homework very well, what is the probability he got an A in exams? P(H)=0.3, P(E)=0.2, P(H∩E)=0.15 P(E | H) = P(H∩E)/ P(H)=0.5 This shows doing homework is very helpful!!

Bayes’ rule Bayes’ Rule!! The posteriori probability of Bj given A is Example: It is a peaceful night. You are sleeping. One of a sudden, the fire alarm rings………… You remember the fire alarm is 99% accurate, or P( Alarm| Fire )=99%.............. You got desperate…………….. At this moment, you remember a very important thing that may save your life: Bayes’ Rule!!

Bayes’ rule Example: The Fire alarm is 99% accurate, or P( Alarm| Fire )=99%. But it can be triggered by something else, smoking, candle, etc, So if there is no fire, it can still ring with P( Alarm| no fire)=2%. For a random night, the probability that the dormitory is on fire is very small P( Fire )=0.05%. Given the fire alarm is ringing, what is the probability that there is a fire? Then you can go back to sleep……

Bayes’ rule Fire Candle Alarm Bomb Smoking By the Bayes’ rule: There are many different things that can trigger the alarm. By Bayes’ rule, we can infer their possibility. Alarm Bomb By the Bayes’ rule:

Bernoulli trials For n trials, the probability of exactly k successes and (n-k) failures: The outcomes of different trials are independent. win with probability p and lose with probability 1-p for any trial. The order of outcomes does not matter. ‘win, win, lose’, ‘win, lose, win’ and ‘lose, win, win’ are considered as the same event with k=2.

Bernoulli trials Example: We gamble by rolling five dices. If the outcome contains exactly one ‘6’, you win 1 dollar from me; if not, I win 1 dollar from you. Will you play this with me? p=1/6, the outcome of one dice is ‘6’. q=1-p=5/6, the outcome of one dice is ‘1’, ‘2’, ‘3’, ‘4’, ‘5’. Pr{ you win } = p{exactly one dice is ‘6’}

Bernoulli trials Example: We gamble by rolling five dices. If the outcome contains exactly two ‘1’s and two ‘2’s, you win one dollar from me. If it contains exactly three ‘2’s, I win one dollar from you. p1=1/6, the outcome of one dice is ‘1’. p2=1/6, the outcome of one dice is ‘2’.

A question from homework Three couples (husbands and their wives) must sit at a round table in such a way that no husband is placed next to his wife. How many configurations exist?