ENEE 324: Conditional Expectation Richard J. La Fall 2004.

Slides:



Advertisements
Similar presentations
Some additional Topics. Distributions of functions of Random Variables Gamma distribution,  2 distribution, Exponential distribution.
Advertisements

Problem Set 3 20.)A six-sided die (whose faces are numbered 1 through 6, as usual) is known to be counterfeit: The probability of rolling any even number.
Chapter 5.1 & 5.2: Random Variables and Probability Mass Functions
Conditional Probability and Independence. Learning Targets 1. I can calculate conditional probability using a 2-way table. 2. I can determine whether.
CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Slides by Michael Maurizi Instructor Longin Jan Latecki C9:
8.7 Probability. Ex 1 Find the sample space for each of the following. One coin is tossed. Two coins are tossed. Three coins are tossed.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Chapter 4 Discrete Random Variables and Probability Distributions
Statistics Lecture 18. Will begin Chapter 5 today.
Probability Theory Part 2: Random Variables. Random Variables  The Notion of a Random Variable The outcome is not always a number Assign a numerical.
Today Today: More of Chapter 2 Reading: –Assignment #2 is up on the web site – –Please read Chapter 2 –Suggested.
Random Variables A Random Variable assigns a numerical value to all possible outcomes of a random experiment We do not consider the actual events but we.
1 Review of Probability Theory [Source: Stanford University]
Lecture 3 Chapter 2. Studying Normal Populations.
Random Variable (RV) A function that assigns a numerical value to each outcome of an experiment. Notation: X, Y, Z, etc Observed values: x, y, z, etc.
Tch-prob1 Chapter 4. Multiple Random Variables Ex Select a student’s name from an urn. S In some random experiments, a number of different quantities.
C4: DISCRETE RANDOM VARIABLES CIS 2033 based on Dekking et al. A Modern Introduction to Probability and Statistics Longin Jan Latecki.
Chapter 4: Joint and Conditional Distributions
Joint Probability distribution
Jointly distributed Random variables
Joint Distribution of two or More Random Variables
Chapter6 Jointly Distributed Random Variables
A multiple-choice test consists of 8 questions
Warm up: Solve each system (any method). W-up 11/4 1) Cars are being produced by two factories, factory 1 produces twice as many cars (better management)
ELEC 303, Koushanfar, Fall’09 ELEC 303 – Random Signals Lecture 7 – Discrete Random Variables: Conditioning and Independence Farinaz Koushanfar ECE Dept.,
Discrete Random Variables: PMFs and Moments Lemon Chapter 2 Intro to Probability
1 7. Two Random Variables In many experiments, the observations are expressible not as a single quantity, but as a family of quantities. For example to.
Chapters 7 and 10: Expected Values of Two or More Random Variables
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}.
Dependent and Independent Events. Events are said to be independent if the occurrence of one event has no effect on the occurrence of another. For example,
STA347 - week 51 More on Distribution Function The distribution of a random variable X can be determined directly from its cumulative distribution function.
Multiple Random Variables Two Discrete Random Variables –Joint pmf –Marginal pmf Two Continuous Random Variables –Joint Distribution (PDF) –Joint Density.
Random Variables Presentation 6.. Random Variables A random variable assigns a number (or symbol) to each outcome of a random circumstance. A random variable.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Two Random Variables.
PROBABILITY AND STATISTICS FOR ENGINEERING Hossein Sameti Department of Computer Engineering Sharif University of Technology Mean, Variance, Moments and.
COMPSCI 102 Introduction to Discrete Mathematics.
Random Variables an important concept in probability.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Discrete Distributions. Random Variable - A numerical variable whose value depends on the outcome of a chance experiment.
Conditional Probability Mass Function. Introduction P[A|B] is the probability of an event A, giving that we know that some other event B has occurred.
Multiple Discrete Random Variables. Introduction Consider the choice of a student at random from a population. We wish to know student’s height, weight,
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Review of Statistics I: Probability and Probability Distributions.
Chapter 5a:Functions of Random Variables Yang Zhenlin.
Chapter 5 Joint Probability Distributions The adventure continues as we consider two or more random variables all at the same time. Chapter 5B Discrete.
Chapter 2: Random Variable and Probability Distributions Yang Zhenlin.
1 Probability and Statistical Inference (9th Edition) Chapter 4 Bivariate Distributions November 4, 2015.
Distribution Function properties Let us consider the experiment of tossing the coin 3 times and observing the number of heads The probabilities and the.
Stat 31, Section 1, Last Time Big Rules of Probability –The not rule –The or rule –The and rule P{A & B} = P{A|B}P{B} = P{B|A}P{A} Bayes Rule (turn around.
Lectures prepared by: Elchanan Mossel Yelena Shvets Introduction to probability Stat 134 FAll 2005 Berkeley Follows Jim Pitman’s book: Probability Section.
Jointly distributed Random variables Multivariate distributions.
Conditional Probability and the Multiplication Rule NOTES Coach Bridges.
The Mean of a Discrete Random Variable Lesson
MULTIPLE RANDOM VARIABLES A vector random variable X is a function that assigns a vector of real numbers to each outcome of a random experiment. e.g. Random.
Chapter 2: Probability. Section 2.1: Basic Ideas Definition: An experiment is a process that results in an outcome that cannot be predicted in advance.
Copyright © Cengage Learning. All rights reserved. 5 Joint Probability Distributions and Random Samples.
5 pair of RVs.
1 Lecture 4 Probability Concepts. 2 Section 4.1 Probability Basics.
Copyright © Cengage Learning. All rights reserved. 5 Joint Probability Distributions and Random Samples.
Chapter 5 Joint Probability Distributions and Random Samples  Jointly Distributed Random Variables.2 - Expected Values, Covariance, and Correlation.3.
1 Chapter 4 Mathematical Expectation  4.1 Mean of Random Variables  4.2 Variance and Covariance  4.3 Means and Variances of Linear Combinations of Random.
Random Variables Lecture Lecturer : FATEN AL-HUSSAIN.
Statistics Lecture 19.
Probability Imagine tossing two coins and observing whether 0, 1, or 2 heads are obtained. It would be natural to guess that each of these events occurs.
Conditional Probability
Conditional Probability on a joint discrete distribution
5 pair of RVs.
Further Topics on Random Variables: Covariance and Correlation
Discrete Random Variables: Joint PMFs, Conditioning and Independence
Further Topics on Random Variables: Covariance and Correlation
Chapter 5 – Probability Rules
Presentation transcript:

ENEE 324: Conditional Expectation Richard J. La Fall 2004

Conditional Expectation Example: Toss a coin 3 times X = number of heads in 3 independent tosses Y = length of the longest run of heads Compute /8 1/8 1/4

Conditional Expectation Example #2: (Tom and Jenny): Compute Ans: In general is a deterministic number which can be computed from the given value of Similarly,

Conditional Expectation Example #2: (Tom and Jenny)  can be thought of as a function of the rv, i.e., given the value we can compute the value of the function  Similarly, Conditional expectation  A function of rv => a derived rv !!!!  = value of the function evaluated at  Since is a rv, we can calculate its PMF, expected value, etc.

Conditional Expectation Conditional expectation E [ X|Y ]  A function of rv Y (i.e, f ( Y ))  f(y) = E[X|Y=y]  PMF of rv E [ X|Y ] :  Expected value of rv E [ X|Y ]

Conditional Expectation In general, Example: Toss a coin 3 times X = number of heads in 3 independent tosses Y = length of the longest run of heads /8 1/8 1/4

Conditional Expectation /8 1/8 1/4

Independent RVs Recall that two events A and B are independent if Definition: Two discrete rvs X and Y are independent if and only if for all  i.e., events { X=x } and { Y=y } are independent for all  Since

Independent RVs Example: Roll two six-sided dice X = number of dots on die #1 Y = number of dots on die #2 x y X and Y are independent

Independent RVs Example #2: Toss a coin 3 times X = number of heads in 3 independent tosses Y = maximum number of consecutive heads /8 1/8 1/4 X and Y not independent

Useful Fact In general, X, Y independent => X, Y uncorrelated ( Cov(X,Y) = 0 ) However, the converse is not true in general !

Useful Fact Example: Uncorrelated but not independent rvs X and Y NOT INDEPENDENT !!

Multiple Discrete RVs Suppose be N rvs defined on the same underlying experiment Definition: Joint PMF

Multiple Discrete RVs Example: Suppose that the instructor plays a tennis match with Anna Kournikova. Let be the number of games that the instructor wins in set 1, 2, 3, respectively. Definition: Marginal PMF  Two RV case:

Multiple Discrete RVs Definition: Discrete rvs are independent if and only if for all Example: Roll N dice, and let be the number on the i -th die. where

Multiple Discrete RVs Functions of multiple rvs: Let  PMF:  Expected value:

Summary: Multiple Discrete RVs 1. Joint PMF of X and Y : 2. Margin PMF : 3. Function of RVs X and Y : PMF - Expected Value – 4. Conditional probability

Summary: Multiple Discrete RVs 5.Independent RVs

Problems Problem #1: The PMF for rvs H and B is given in the following table. Find the marginal PMFs and h=-1 h= 0 h= 1 b=0b=2b= h b

Problems: Problem #2: A bin of 5 transistors is known to contain 2 that are defective. The transistors are to be tested, one at a time, until the defective ones are identified. Denote by N 1 the number of tests made till the first defective is identified and by N 2 the number of additional tests until the second defective is identified. Find the joint PMF of N 1 and N 2.

Problems: Rvs X and Y have the joint PMF as shown. Let B = {X + Y <= 3}. Find the conditional PMF of X and Y given B /8 1/4 1/16 1/12 1/8 1/12 1/ /8 1/4 1/8 1/12 1/16 12 Normalize by P(B) = 35/48

Problems: The marginal PMF of rv A is The conditional PMF of rv B given A is given by (a) Find the joint PMF of rvs A and B. (b) If B = 0, what is the conditional PMF ? (c) If A = 2, what the conditional expected value ?

Problems: Rvs X and Y have joint PMF given by the following matrix Are X and Y independent? Are they uncorrelated? y = -1y = 0 y = x = -1 x = 1