



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A set of lecture slides from the university of illinois at urbana-champaign's electrical and computer engineering department for ece 313: probability with engineering applications, fall 2000. The slides cover topics such as conditional probability, the chain rule, the theorem of total probability, and conditional pmf. The slides also include examples and formulas.
Typology: Study notes
1 / 7
This page cannot be seen from the preview
Don't miss anything!




ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 1 of 38
l Given that event A of probability P(A) > 0 occurred, the conditional probability of B
as
the same as P(B) l Conditional probabilities satisfy the axioms of probability theory ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 2 of 38
l The chain rule also applies to conditional probabilities given an event H (say)
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 3 of 38
l The theorem of total probability allows us to compute unconditional probabilities from conditional probabilities
l The theorem also applies to conditional probabilities
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 4 of 38
Given a countable partition A 1 , A 2 , … An, … of the sample space,
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 5 of 38
i j l In particular,
l Equality holds if and only if P(A) = 0 or
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 6 of 38
l The chain rule or product rule allows us to compute a joint probability (probability of an intersection) as the product of various conditional probabilities l The theorem of total probability allows us to find an unconditional probability from conditional probabilities l Results are very important and very useful tools in probabilistic analyses
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 7 of 38
l The pmf of a discrete random variable X tells us the probabilities with which we observe X taking on various values l When partial knowledge is available about the outcome, we should update the pmf probabilities from their original values to the corresponding conditional probabilities l This updated or modified pmf is called the conditional pmf of X
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 8 of 38
l The pmf of a discrete random variable X taking on values u 1 , u 2 , … is given by p X (ui) = P{ X = ui}, i = 1, 2, … l Given that event A (with P(A) > 0) has occurred, the conditional pmf of X is
where the right side now has conditional probabilities given that A occurred
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 9 of 38
l In defining the pmf of X , it was assumed that values u 1 , u 2 , … occur with nonzero probabilities, i.e. p X (ui) > 0 for each ui l Given that the event A occurred, it might be that certain values ui of X can never occur under these conditions l { X = ui} ∩ A = ∅
for such values ui
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 10 of 38
l X has value 1, 2, 3, and 4 respectively with probabilities 1/2, 1/4, 1/8, and 1/ l Let A = { X is an even number}; P(A) = 3/ l The conditional pmf of X is given by
l Note that the conditional probabilities have the same ratios (1/4):(1/8) as (2/3):(1/3)
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 11 of 38
pmf of X
conditional pmf of X given that X is an even number
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 12 of 38
l Just as conditional probabilities are a probability measure, conditional pmfs are valid pmfs l The conditional expectation of X is the expectation of X computed using the conditional pmf of X instead of the pmf
l Similarly, the conditional variance uses the conditional pmf instead of the pmf
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 19 of 38
l Given A, X is binomial; parameters (n, p) l Given Ac, X is binomial; parameters (n, q) l P(A) = 1/2 l q ≠ 1 – p
= average of two binomial probabilities l The unconditional pmf of X is a mess
l E[ X ] = (np + nq)/ ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 20 of 38
l Given A, X is binomial; parameters (n, p) l Given Ac, X is binomial; parameters (n, q) l P(A) = 1/2 l q ≠ 1 – p
l The conditional mean is np or nq with equal probability l var(conditional mean) = [n(p–q)/2] 2 l var( X ) = [np(1–p)+nq(1–q)]/2 + [n(p–q)/2] 2
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 21 of 38
l The example is a very simple illustration of the use of conditional expectations l In many important instances, conditional expectations are much easier to calculate than the unconditional expectations l The theorem of total probability is the tool that we use to obtain unconditional expectations from conditional expectations
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 22 of 38
l Given that event A of probability P(A) > 0 occurred, the conditional probability of B
as
l Simplest version of Bayes’ formula ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 23 of 38
l Bayes’ formula
is also called Bayes’ theorem, or Bayes’ lemma, or often (mistakenly) Bayes’ rule l Bayes’ rule (discussed later) refers to a methodology for decision-making that is an extremely controversial topic among statisticians l No controversy about Bayes’ formula ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 24 of 38
l Bayes’ formula
is a very simple consequence of the definition of conditional probability l In applications, P(B) is usually replaced by its equivalent expression as given by the theorem of total probability
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 25 of 38
l The numerator is always one of the terms in the denominator
l When it is calculated twice by an ECE 313 student in a hurry on homework or exam! l Save and re-use the appropriate term!
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 26 of 38
the more general version of the theorem of total probability, the more general total probability appears in the denominator l The numerator is still one of the terms in the denominator
i ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 27 of 38
l Example: Box I has 3 green and 2 red balls, while Box II has 2 green and 2 red balls. A ball is drawn at random from Box I and transferred to Box II. Then, a ball is drawn at random from Box II. l G = event ball drawn from Box II is green l A = event ball transferred is red
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 28 of 38
l G = event ball drawn from Box II is green l A = event ball transferred is red
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 29 of 38
l If a green ball is drawn from Box II, it is reasonable to assume (more likely) that a green ball was transferred over!
Box I
Box II
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 30 of 38
l Whenever there is a fire, a fire alarm rings with probability 1 – 10–8. If there is no fire, the fire alarm does occasionally ring. The probability of such false alarms is 10 – l Both these probabilities can be measured experimentally by the manufacturer (and touted in its advertising!) l What the user is more concerned about is: When the fire alarm is ringing, is there actually a fire? or is it just a false alarm?
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 37 of 38
l In the next two lectures, we shall discuss the general notion of decision making in the face of uncertainty n How to make decisions? n What are the probabilities that our decisions are incorrect? n What is the decision rule that minimizes the error probability? n What decision rule minimizes the costs?
ECE 313 - Lecture 14 © 2000 Dilip V. Sarwate, University of Illinois at Urbana-Champaign, All Rights Reserved Slide 38 of 38
l We discussed the notion of the conditional pmf of a random variable and related it to the pmf via the theorem of total probability l We discussed conditional means and variances and their relation to the mean and variance l We discussed Bayes’ formula and some simple applications