A Conditional Probability Mass Function
Requires a Wolfram Notebook System
Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.
The probability mass function of a pair of discrete random variables is the function . The conditional mass function of given is the function . Thus the mass function (left-hand plot) computes probabilities of intersections, while the conditional mass function (right-hand plot) computes conditional probabilities. For each value, the slice through the conditional mass function at that value gives the distribution of when assumes the value . The mean of this distribution is the conditional expectation of given , . The weighted average of the conditional expectations, with the weights given by the probability that InlineMath, is the expected value of .
[more]
Contributed by: Chris Boucher (March 2011)
Open content licensed under CC BY-NC-SA
Snapshots
Details
Permanent Citation