# Chapter 5Conditional Distribution and Expectation

## 5.1 Introduction

We have seen that if two random variables are independent, then their joint distribution can be determined from their marginal distribution functions. In the case of dependent random variables, however, the joint distribution can not be determined in this simple fashion. This leads us to the notions of conditional pmf, conditional pdf, and conditional distribution.

Recalling the definition of conditional probability, , for two events *A* and *B*, we can define the **conditional probability** of event *A*, given that the event has occurred, as

whenever . In Chapter 3 we noted that if *X* is a continuous random variable, then for all *x*. In this case, definition (5.1) is not satisfactory. On the other hand, if *X* is a discrete random variable, then definition (5.1) is adequate, as shown in the following definition.

Get *Probability and Statistics with Reliability, Queuing, and Computer Science Applications, 2nd Edition* now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.