This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.

# Conditioned

 Conditioned or represents expr conditioned by the predicate cond.
• can be entered as expr Esc cond Esc cond or .
• The expression expr can correspond either to a predicate with logical values or to an object with numerical values.
• Probability gives the conditional probability of pred given cond.
• Expectation gives the conditional expectation of expr given cond.
Compute the probability of a conditional event:
Use NProbability to get the numerical value directly:
Compute a conditional expectation:
Use NExpectation to get the numerical value directly:
Compute the probability of a conditional event:
 Out[1]=
 Out[2]=
Use NProbability to get the numerical value directly:
 Out[3]=

Compute a conditional expectation:
 Out[1]=
 Out[2]=
Use NExpectation to get the numerical value directly:
 Out[3]=
A conditional probability is a ratio of two probabilities:
The conditional probability is 0 if the events are mutually exclusive:
Compute the probability of an event in a TruncatedDistribution:
Obtain the same result using a conditional probability calculation:
Conditioned has lower precedence than And:
Use parentheses to obtain the intended result:
New in 8