Chapter 3 Conditional Distributions
Nike and Adidas have opened up new neighboring sports stores which have found themselves in direct competition with each other. Let be the total sales in the Nike store, and let be the total sales in the Adidas store. Phil Knight, the co-founder of Nike, would like to know the sales of the Adidas store in order to make business decisions regarding his own store. However Phil is not privy to this information. Phil only knows the exact sales of the Nike store. Given the information about , what can be said about ?
3.1 Conditional Probabilities and Discrete Conditional Distributions
The problem described above concerning sales in a Nike and Adidas store is in a continuous setting, that is, and are both continuous random variables. We have encountered this type of conditional problem in the context of probabilities. In this section, we recall this theory and extend it to discrete random variables.
Consider two events and such that . The probability of event happening given that has already happened is called the conditional probability of given , and is denoted . The conditional probability can be calculated by the formula
Why does Definition 3.1.1 specify that ? The reason for this has both a real-world interpretation and a mathematical one. The statement that is equivalent to being an impossible event. If was an impossible event, then the assumption that has already happened in Definition 3.1.1 would be a contradiction. Mathematically if , then we are unable to divide by in the formula . Therefore we must specify that .
Consider the cafe from Example 2.5.2, where the owner has collected data to determine the joint probabilities of the temperature in degrees Celsius during winter and the number of customers in the cafe each day. The joint probability table is
The owner would like to make a decision about how many staff are on shift today. Given that it is going to be , what is the probability that there are customers?

In mathematical language, the question is asking us to calculate . Using the formula of Definition 3.1.1, we know that . Calculate that
Therefore
Can we extend this idea of conditional probability to the language of discrete random variables?
Recall that for a random variable , the probability is given by the evaluation of the probability mass function of . Similarly for two random variables and , the probability is given by the evaluation of the joint probability mass function . Converting Definition 3.1.1 into these terms leads us to the following.
Consider two discrete random variables and . Let be the joint PMF of and , and be the marginal PMF of . The conditional probability mass function of given that , denoted , is the function
The conditional PMF is defined similarly.
The value is equal to the probability .
Calculate the conditional PMF of given for the random variables given in Example 3.1.2.
By applying Definition 3.1.3, calculate that
Let be some fixed outcome for the random variable . The sum of conditional probabilities over all values of will sum to since this is a complete set of possible outcomes. This can be verified for the solution to Example 3.1.4, for example:
Check that the sum, over all possible outcomes , of values and values respectively, both equal .
Consider two discrete random variables and . The conditional CDF of given is
It follows from Definition 3.1.5 that .
3.2 Continuous Conditional Distributions
Consider the Nike versus Adidas example at the opening of the chapter. This is a conditional probability problem but now in the continuous setting. For two continuous random variables and , the formula breaks down because for a fixed value since is continuous.
The theory of discrete random variables in Section 3.1 motivates the definition of conditional random variables in the continuous setting.
Consider two continuous random variables and . Let be the joint PDF of and , and be the marginal PDF of . The conditional PDF of given that is defined by
This definition avoids the above problem that .
Consider the two random variables from Example 2.1.6 governing scores in a game played between Abbie and Bertie. The joint PDF is
Find the conditional PDF of Abbie’s score given that Bertie scored .
In mathematical language, the question asks us to calculate . In Example 2.1.8, we found
Let be some fixed outcome for the random variable . It can be shown that . This is the continuous analogous to the result for discrete random variable that for a fixed value .
Let be a subset of . What is the probability that the random variable belongs to given that ? This can be calculated using the conditional PDF :
This leads us to the following definition.
Consider two continuous random variables and . The conditional CDF of given is
It follows from Definition 3.2.3 that .