MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 13.

Slides:



Advertisements
Similar presentations
Probability Part II.
Advertisements

Lecture Discrete Probability. 5.3 Bayes’ Theorem We have seen that the following holds: We can write one conditional probability in terms of the.
Probability What Are the Chances?. Section 1 The Basics of Probability Theory Objectives: Be able to calculate probabilities by counting the outcomes.
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
Mathematics.
Probability Sample Space Diagrams.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
SECTION 4.1 BASIC IDEAS Copyright ©2014 The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Probability. The probability of an event occurring is between 0 and 1 If an event is certain not to happen, the probability is 0 eg: the probability of.
Chapter 7 Probability 7.1 Experiments, Sample Spaces, and Events
1 Introduction to Stochastic Models GSLM Outline  course outline course outline  Chapter 1 of the textbook.
Chapter 4 Using Probability and Probability Distributions
Thinking Mathematically
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 4-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Probability.
Basics of probability Notes from:
Probability and combinatorics Notes from Virtual Laboratories in Probability and Statistics.
Bell Ringer Find the sample space for the gender of the children if a family has three children. Use B for boy and G for girl. Include order. For example,
The probability of an event based on the fact that some other event has occurred, will occur, or is occurring. P(B/A) = Conditional Probability The probability.
Section 1.1, Slide 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 13.1, Slide 1 13 Probability What Are the Chances?
Review of Probability Theory. © Tallal Elshabrawy 2 Review of Probability Theory Experiments, Sample Spaces and Events Axioms of Probability Conditional.
Probability and Counting Rules
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Section 1.1, Slide 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 13.1, Slide 1 13 Probability What Are the Chances?
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.
Aim: How do we find the probability of a simple event? Complete Worksheet.
“PROBABILITY” Some important terms Event: An event is one or more of the possible outcomes of an activity. When we toss a coin there are two possibilities,
Probability. An experiment is any process that allows researchers to obtain observations and which leads to a single outcome which cannot be predicted.
Each time an experiment such as one toss of a coin, one roll of a dice, one spin on a spinner etc. is performed, the result is called an ___________.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Probability Part 3 – What is Probability?. Probability Warm-up How many ways can a dinner patron select 3 appetizers and 2 vegetables if there are 6 appetizers.
Chapter 4 Lecture 3 Sections: 4.4 – 4.5. Multiplication Rule Recall that we used addition for the P(A or B). the word “or” in P(A or B) suggests addition.
Section 11.4 Tree Diagrams, Tables, and Sample Spaces Math in Our World.
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.
Probability The calculated likelihood that a given event will occur
Computing Fundamentals 2 Lecture 6 Probability Lecturer: Patrick Browne
Independent Events OBJ: Find the probability of independent events.
1.4 Equally Likely Outcomes. The outcomes of a sample space are called equally likely if all of them have the same chance of occurrence. It is very difficult.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Probability Basic Concepts Start with the Monty Hall puzzle
Probability Definition : The probability of a given event is an expression of likelihood of occurrence of an event.A probability isa number which ranges.
Dr. Fowler AFM Unit 7-8 Probability. Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall.
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.
Introducing probability BPS chapter 9 © 2006 W. H. Freeman and Company.
Basic Concepts of Probability
Conditional Probability and the Multiplication Rule NOTES Coach Bridges.
§2 Frequency and probability 2.1The definitions and properties of frequency and properties.
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
Unit 4 Section 3.1.
Warm Up: Quick Write Which is more likely, flipping exactly 3 heads in 10 coin flips or flipping exactly 4 heads in 5 coin flips ?
Chapter 4 Some basic Probability Concepts 1-1. Learning Objectives  To learn the concept of the sample space associated with a random experiment.  To.
12.3 Probability of Equally Likely Outcomes
Probability and Sample Space…….
Probability – part 1 Prof. Carla Gomes Rosen 1 1.
Chapter 4 Probability Concepts
Probability.
Introduction to Probability
Section 5.1 Basic Ideas.
13-5 Conditional Probability
Chapter 11: Further Topics in Algebra
Digital Lesson Probability.
Tree diagrams and tables
Probability Rules.
Chapter 4 Probability.
Chapter 4 Lecture 3 Sections: 4.4 – 4.5.
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.
Chapter 11 Probability.
Presentation transcript:

MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 13

Independence Terminology: – Joint probability P(A,B): probability of some events occurring together. – Marginal probability P(A): probability of a single event.

Independence Example Let two dice (red and green) be rolled so that all the 36 possible outcomes are equally likely. Let A be the event that the red die lands 4, and let B be the event that the green die lands 4. S=? Is S simple? |S|=? |A|=? |B|=? |A∩B|=?

Independence P(A) =6/36 P(B) =6/36 P(A)P(B)= 6/36*6/36=1/36 P(A∩B) =1/36 = P(A)P(B). Clearly, A and B are independent events. What we get on the red die has no influence on what we get on the green die. For independent events the joint probability equals the product of marginal probabilities. Conversely, when P(A∩B) = P(A)P(B), events A and B must be independent.

Independence There are 2 ways to look at the independence concept. – Intuitive – Probabilistic Intuitively, two events are independent if they do not influence or block the occurrence of each other. Probabilistically, two events are independent if joint probability equals the product of marginal probabilities.

Independence Example Let a point be selected at random from a square, [0, 4] × [0, 4]. Let A be the event that the selected point lies in the rectangle [1, 3] × [0, 4]. Let B be the event that the selected point lies in the rectangle [0, 4] × [1, 3]. Are A and B independent? P(A)=?P(B)=?P(A∩B)=?

Independence Example The sample space corresponding to the gender of 3 children of a family is as follows. S = {BBB, BBG, BGB, GBB, BGG, GBG, GGB, GGG}. Assume S is a simple sample space. Let A be the event that the family has both boys and girls, and let B be the event that the family has at most one girl. Are A and B independent events?

Independence A = family has both boys and girls = {BBG, BGB, GBB, BGG, GBG, GGB}, B = family has at most one girl = {BBB, BBG, BGB, GBB}. Therefore, P(A) = 6/8, P(B) = 4/8 and P(A ∩ B) = 3/8 = P(A)P(B). H.W: Check the independence when the family has only 2 children.

Independence Example Let a card be drawn from a well shuffled deck of 52 cards. Let A be the event that the drawn card is an ace. Let B be the event that the drawn card is a club. Show that A and B are independent events. Example We select a card at random from the standard deck of 52 cards, let A be the event that a face-card is drawn (i.e., a Jack, or Queen or King is drawn). Let B be the event that the drawn card is a club. Show that A and B are independent events.

Binomial Experiments Example We toss a fair coin twice. Let A = {H occurs on the first toss} and let B = {H occurs on the second toss}. Are A and B independent? The sample space is S = {HH, HT, TH, TT}. It is simple since the coin is fair. Now A = {HH,HT}, B = {HH, TH}, A ∩ B = {HH}. Therefore, P(A) = 1/2 = P(B) and P(A ∩ B) = 1/4. A and B are independent events since P(A ∩ B) = 1/4 = 1/2 · 1/2 = P(A)P(B).

Binomial Experiments Example Suppose now we toss an unfair coin twice, so that the probability of seeing H on a toss is p and it is not necessarily equal to 1/2. How can we compute probabilities for the singleton sets of the sample space S = {HH, HT, TH, TT}? P({HH})=p*pP({HT})=p*(1-p) P({TT})=(1-p)*(1-p)P({TH})=(1-p)*p

Binomial Experiments Example Suppose now we toss an unfair coin thrice. How can we compute probabilities for the singleton sets of the sample space S? S=?P(ω ∈ S)=?

Binomial Experiments Example Now let’s count the number of heads in the 3 tosses. Find P(0 heads in 3 tosses)? (1-p) 3 P(1 heads in 3 tosses)? p(1-p) 2 P(2 heads in 3 tosses)? p 2 (1-p) P(3 heads in 3 tosses)? p 3 P(j heads in 3 tosses)? C(3,j)p j (1-p) 3-j P(j heads in n tosses)? C(n,j)p j (1-p) n-j

Terminology Bernoulli experiment: An experiment which has only two possible outcomes is called a Bernoulli experiment. One of the outcomes is called Heads or “Success” and the other Tails or “Failure”. Bernoulli process: An experiment consisting of n unrelated (independent) and identical Bernoulli experiments.

Terminology Binomial experiment: An experiment consisting of n unrelated (independent) and identical Bernoulli experiments is called a binomial experiment if we count the total number of heads over the n Bernoulli trials.

Terminology Probability of j Heads in n tosses When a binomial experiment is performed, the probability of j Heads is for j = 0, 1, 2, · · ·, n, where n is the total number of Bernoulli experiments in the binomial experiment and p is the probability of heads on one Bernoulli experiment. This is called the Binomial model.

Product Spaces & Independent Trials If a random experiment consists of m sub-experiments, each called a trial, the sample space, S, may be considered a set product of the individual sets, S i, i = 1, 2, · · ·,m, consisting of the outcomes of each trial. S = S 1 × S 2 × S 3 × · · · × S m.

Product Spaces & Independent Trials The resulting product set, S, becomes a product space if P({ω}) = P(w 1 ) P(w 2 ) · · · P(w m ) with w 1,w 2, · · ·,w m considered as outcomes over their respective trials. In such a case the trials are said to be independent.

“a sequence of Bernoulli trials” “a sequence of Bernoulli trials” means that the trials are independent, each trial can have only 2 possible outcomes, (called Heads and Tails, denoted by H and T), and the probability of an H remains the same from trial to trial, and is usually denoted by p or r.

Binomial Experiments For a sequence of Bernoulli trials, several questions of interest can be raised — resulting into several different types of random experiments. 1. Binomial experiment. Restricting over the first n Bernoulli trials, what is the probability of obtaining k number of heads? for k = 0, 1, 2, · · ·, n.

Geometric experiment 2. Geometric experiment. Over the entire (infinite) sequence of Bernoulli trials, what is the probability that k tails will be observed to get the first head? p(1 − p) k,for k = 0, 1, 2, · · ·. Note the difference between the Binomial model and the Geometric model.

Shifted geometric experiment 3. Shifted geometric experiment. Over the entire (infinite) sequence of Bernoulli trials, what is the probability that k trials will be needed to get the first head? p(1 − p) k−1, for k = 1, 2, 3, · · ·. The justification is quite similar to the one used in the geometric experiment. The difference being that now we count the trial that results into the first head.

Negative binomial experiment 4. Negative binomial experiment. Over the entire (infinite) sequence of Bernoulli trials, what is the probability that k tails will be observed to get the first 10 heads? for k = 0, 1, 2, · · · H.W: See if you can justify this result.

Shifted negative binomial experiment 5. Shifted negative binomial experiment. Over the entire (infinite) sequence of Bernoulli trials, what is the probability that k trials will be observed to get the first 10 heads? for k = 10,11,12, · · · H.W: See if you can justify this result.

Mutual Independence Pairwise independence If A 1,A 2, · · · are events, then this sequence is called pairwise independent if every pair of two events is independent. Mutual independence If A 1,A 2, · · · are events, then this sequence is called mutually independent if every finite subset of events is independent. That is for every finite subset J of {1,2,3,…}.