Conditioning (probability)
Beliefs depend on the available information.[src] This idea is formalized in probability theory by conditioning.[src] Conditional probabilities, conditional expectations, and conditional probability distributions are treated on three levels: discrete probabilities, probability density functions, and measure theory.[src] Conditioning leads to a non-random result if the condition is completely specified; otherwise, if the condition is left random, the result of conditioning is also random.[src]
Beliefs depend on the available information.[src] This idea is formalized in probability theory by conditioning.[src] Conditional probabilities, conditional expectations, and conditional probability distributions are treated on three levels: discrete probabilities, probability density functions, and measure theory.[src] Conditioning leads to a non-random result if the condition is completely specified; otherwise, if the condition is left random, the result of conditioning is also random.[src] ==Conditioning on the discrete level== Example: A fair coin is tossed 10 times; the random variable X is the number of heads in these 10 tosses, and Y is the number of heads in the first 3 tosses.[src] In spite of the fact that Y emerges before X it may happen that someone knows X but not Y.[src] ===Conditional probability=== Given that X = 1, the conditional probability of the event Y = 0 is \mathbb{P} (Y=0|X=1) = \frac{\mathbb{P} (Y=0, X=1)}{\mathbb{P} (X=1)} = 0.7 More generally, \begin{align} \mathbb{P} (Y=0|X=x) &= \frac{ \binom 7 x }{ \binom{10} x } = \frac{ 7![src] (10-x)![src] }{ (7-x)![src] 10![src] } && x = 0, 1, 2, 3, 4, 5, 6, 7.[src] \\[4pt] \mathbb{P} (Y=0|X=x) &= 0 && x =8,9,10.[src] \end{align} One may also treat the conditional probability as a random variable, — a function of the random variable X, namely, \mathbb{P} (Y=0|X) = \begin{cases} \binom 7 X / \binom{10}X & X \leqslant 7,\\ 0 & X > 7.\end{cases} The expectation of this random variable is equal to the (unconditional) probability, \mathbb{E} ( \mathbb{P} (Y=0|X) ) = \sum_x \mathbb{P} (Y=0|X=x) \mathbb{P} (X=x) = \mathbb{P} (Y=0), namely, \sum_{x=0}^7 \frac{ \binom 7 x }{ \binom{10}x } \cdot \frac1{2^{10}} \binom{10}x = \frac 1 8 , which is an instance of the law of total probability \mathbb{E}(\mathbb{P}(A|X)) = \mathbb{P}(A).[src] Thus, \mathbb{P} (Y=0|X=1) may be treated as the value of the random variable \mathbb{P} (Y=0|X) corresponding to X = 1.[src] On the other hand, \mathbb{P} (Y=0|X=1) is well-defined irrespective of other possible values of X.[src] ===Conditional expectation=== Given that X = 1, the conditional expectation of the random variable Y is \mathbb{E} (Y|X=1) = \tfrac{3}{10} More generally, \mathbb{E} (Y|X=x) = \frac3{10} x, \qquad x =0, \ldots, 10.[src] (In this example it appears to be a linear function, but in general it is nonlinear.) One may also treat the conditional expectation as a random variable, — a function of the random variable X, namely, \mathbb{E} (Y|X) = \frac3{10} X.[src] The expectation of this random variable is equal to the (unconditional) expectation of Y, \mathbb{E} ( \mathbb{E} (Y|X) ) = \sum_x \mathbb{E} (Y|X=x) \mathbb{P} (X=x) = \mathbb{E} (Y), namely, \sum_{x=0}^{10} \frac{3}{10} x \cdot \frac1{2^{10}} \binom{10}x = \frac 3 2, or simply \mathbb{E} \left( \frac{3}{10} X \right) = \frac{3}{10} \mathbb{E} (X) = \frac{3}{10} \cdot 5 = \frac32, which is an instance of the law of total expectation \mathbb{E}( \mathbb{E} (Y|X) ) = \mathbb{E}(Y).[src] The random variable \mathbb{E}(Y|X) is the best predictor of Y given X.[src] That is, it minimizes the mean square error \mathbb{E}(Y - f(X))^2 on the class of all random variables of the form f(X).[src] This class of random variables remains intact if X is replaced, say, with 2X.[src] Thus, \mathbb{E}(Y|2X) = \mathbb{E}(Y|X).[src] It does not mean that \mathbb{E} (Y|2X) = \tfrac{3}{10} \times 2X; rather, \mathbb{E} (Y|2X) = \tfrac{3}{20} \times 2X = \tfrac{3}{10}X.[src] In particular, \mathbb{E} (Y|2X=2) = \tfrac{3}{10}.[src] More generally, \mathbb{E}(Y|g(X)) = \mathbb{E}(Y|X) for every function g that is one-to-one on the set of all possible values of X.[src] The values of X are irrelevant; what matters is the partition (denote it α X ) \Omega = \{ X=x_1 \} \uplus \{ X=x_2 \} \uplus \dots of the sample space Ω into disjoint sets {X = x n }.[src] (Here x_1, x_2, \ldots are all possible values of X.) Given an arbitrary partition α of Ω, one may define the random variable E ( Y | α ).[src] Still, E ( E ( Y | α)) = E ( Y ).[src] Conditional probability may be treated as a special case of conditional expectation.[src] Namely, P ( A | X ) = E ( Y | X ) if Y is the indicator of A.[src] Therefore the conditional probability also depends on the partition α X generated by X rather than on X itself; P ( A | g(X) ) = P (A | X) = P (A | α), α = α X = α g(X) .[src] On the other hand, conditioning on an event B is well-defined, provided that \mathbb{P}(B) \neq 0, irrespective of any partition that may contain B as one of several parts.[src] ===Conditional distribution=== Given X = x, the conditional distribution of Y is \mathbb{P} ( Y=y | X=x ) = \frac{ \binom 3 y \binom 7 {x-y} }{ \binom{10}x } = \frac{ \binom x y \binom{10-x}{3-y} }{ \binom{10}3 } for 0 ≤ y ≤ min ( 3, x ).[src] It is the hypergeometric distribution H ( x; 3, 7 ), or equivalently, H ( 3; x, 10-x ).[src] The corresponding expectation 0.3 x, obtained from the general formula n \frac{R}{R+W} for H ( n; R, W ), is nothing but the conditional expectation E (Y | X = x) = 0.3 x.[src] Treating H ( X; 3, 7 ) as a random distribution (a random vector in the four-dimensional space of all measures on {0,1,2,3}), one may take its expectation, getting the unconditional distribution of Y, — the binomial distribution Bin ( 3, 0.5 ).[src] This fact amounts to the equality \sum_{x=0}^{10} \mathbb{P} ( Y=y | X=x ) \mathbb{P} (X=x) = \mathbb{P} (Y=y) = \frac1{2^3} \binom 3 y for y = 0,1,2,3; which is an instance of the law of total probability.[src] ==Conditioning on the level of densities== Example.[src] A point of the sphere x 2 + y 2 + z 2 = 1 is chosen at random according to the uniform distribution on the sphere.[src] The random variables X, Y, Z are the coordinates of the random point.[src] The joint density of X, Y, Z does not exist (since the sphere is of zero volume), but the joint density f X,Y of X, Y exists, f_{X,Y} (x,y) = \begin{cases} \frac1{2\pi\sqrt{1-x^2-y^2}} &\text{if } x^2+y^2 (The density is non-constant because of a non-constant angle between the sphere and the plane.) The density of X may be calculated by integration, f_X(x) = \int_{-\infty}^{+\infty} f_{X,Y}(x,y) \, \mathrm{d}y = \int_{-\sqrt{1-x^2}}^{+\sqrt{1-x^2}} \frac{ \mathrm{d}y }{ 2\pi\sqrt{1-x^2-y^2} } \, ; surprisingly, the result does not depend on x in (−1,1), f_X(x) = \begin{cases} 0.5 &\text{for } -1 which means that X is distributed uniformly on (−1,1).[src] The same holds for Y and Z (and in fact, for aX + bY + cZ whenever a 2 + b 2 + c 2 = 1).[src] Example.[src] A different measure of calculating the marginal distribution function is provided below f_{X,Y,Z} (x,y,z) = \frac3{4\pi} f_X(x) = \int_{-\sqrt{1-y^2-x^2}}^{+\sqrt{1-y^2-x^2}} \int_{-\sqrt{1-x^2}}^{+\sqrt{1-x^2}} \frac{ 3 \mathrm{ d}y\mathrm{ d}z }{ 4\pi } =3\sqrt{1-x^2}/4\, ; ===Conditional probability=== ====Calculation==== Given that X = 0.5, the conditional probability of the event Y ≤ 0.75 is the integral of the conditional density, f_{Y|X=0.5}(y) = \frac{ f_{X,Y}(0.5,y) }{ f_X(0.5) } = \begin{cases} \frac{1}{ \pi \sqrt{0.75-y^2} } &\text{for } -\sqrt{0.75} \mathbb{P} (Y \le 0.75|X=0.5) = \int_{-\infty}^{0.75} f_{Y|X=0.5}(y) \, \mathrm{d}y = \int_{-\sqrt{0.75}}^{0.75} \frac{\mathrm{d}y}{\pi \sqrt{0.75-y^2} } = \tfrac12 + \tfrac1{\pi} \arcsin \sqrt{0.75} = \tfrac56.[src] More generally, \mathbb{P} (Y \le y|X=x) = \tfrac12 + \tfrac1{\pi} \arcsin \frac{ y }{ \sqrt{1-x^2} } for all x and y such that −1 X (x) vanishes) and \textstyle -\sqrt{1-x^2} (otherwise the conditional probability degenerates to 0 or 1).[src] One may also treat the conditional probability as a random variable, — a function of the random variable X, namely, \mathbb{P} (Y \le y|X) = \begin{cases} 0 &\text{for } X^2 \ge 1-y^2 \text{ and } y 0.[src] \end{cases} The expectation of this random variable is equal to the (unconditional) probability, \mathbb{E} ( \mathbb{P} (Y\le y|X) ) = \int_{-\infty}^{+\infty} \mathbb{P} (Y\le y|X=x) f_X(x) \, \mathrm{d}x = \mathbb{P} (Y\le y), which is an instance of the law of total probability E ( P ( A | X ) ) = P ( A ).[src] ====Interpretation==== The conditional probability P ( Y ≤ 0.75 | X = 0.5 ) cannot be interpreted as P ( Y ≤ 0.75, X = 0.5 ) / P ( X = 0.5 ), since the latter gives 0/0.[src] Accordingly, P ( Y ≤ 0.75 | X = 0.5 ) cannot be interpreted via empirical frequencies, since the exact value X = 0.5 has no chance to appear at random, not even once during an infinite sequence of independent trials.[src] The conditional probability can be interpreted as a limit, \begin{align} \mathbb{P} (Y\le0.75 | X=0.5) &= \lim_{\varepsilon\to0+} \mathbb{P} (Y\le0.75 | 0.5-\varepsilon ===Conditional expectation=== The conditional expectation E ( Y | X = 0.5 ) is of little interest; it vanishes just by symmetry.[src] It is more interesting to calculate E ( |Z| | X = 0.5 ) treating |Z| as a function of X, Y: \begin{align} |Z| &= h(X,Y) = \sqrt{1-X^2-Y^2}; \\ \mathrm{E} ( |Z| | X=0.5 ) &= \int_{-\infty}^{+\infty} h(0.5,y) f_{Y|X=0.5} (y) \, \mathrm{d} y = \\ & = \int_{-\sqrt{0.75}}^{+\sqrt{0.75}} \sqrt{0.75-y^2} \cdot \frac{ \mathrm{d}y }{ \pi \sqrt{0.75-y^2} } \\ &= \frac2\pi \sqrt{0.75} .[src] \end{align} More generally, \mathbb{E} ( |Z| | X=x ) = \frac2\pi \sqrt{1-x^2} for −1 \mathbb{E} ( |Z| | X ) = \frac2\pi \sqrt{1-X^2}.[src] The expectation of this random variable is equal to the (unconditional) expectation of |Z|, \mathbb{E} ( \mathbb{E} ( |Z| | X ) ) = \int_{-\infty}^{+\infty} \mathbb{E} ( |Z| | X=x ) f_X(x) \, \mathrm{d}x = \mathbb{E} (|Z|), namely, \int_{-1}^{+1} \frac2\pi \sqrt{1-x^2} \cdot \frac{ \mathrm{d}x }2 = \tfrac{1}{2}, which is an instance of the law of total expectation E ( E ( Y | X ) ) = E ( Y ).[src] The random variable E(|Z| | X) is the best predictor of |Z| given X.[src] That is, it minimizes the mean square error E ( |Z| - f(X) ) 2 on the class of all random variables of the form f(X).[src] Similarly to the discrete case, E ( |Z| | g(X) ) = E ( |Z| | X ) for every measurable function g that is one-to-one on (-1,1).[src] ===Conditional distribution=== Given X = x, the conditional distribution of Y, given by the density f Y|X=x (y), is the (rescaled) arcsin distribution; its cumulative distribution function is F_{Y|X=x} (y) = \mathbb{P} ( Y \le y | X = x ) = \frac12 + \frac1\pi \arcsin \frac{y}{\sqrt{1-x^2}} for all x and y such that x 2 + y 2 \begin{align} & \int_{-\infty}^{+\infty} f_{Y|X=x} (y) f_X(x) \, \mathrm{d}x = f_Y(y), \\ & \int_{-\infty}^{+\infty} F_{Y|X=x} (y) f_X(x) \, \mathrm{d}x = F_Y(y), \end{align} the latter being the instance of the law of total probability mentioned above.[src] ==What conditioning is not== On the discrete level, conditioning is possible only if the condition is of nonzero probability (one cannot divide by zero).[src] On the level of densities, conditioning on X = x is possible even though P ( X = x ) = 0.[src] This success may create the illusion that conditioning is always possible.[src] Regretfully, it is not, for several reasons presented below.[src] ===Geometric intuition: caution=== The result P ( Y ≤ 0.75 | X = 0.5 ) = 5/6, mentioned above, is geometrically evident in the following sense.[src] The points (x,y,z) of the sphere x 2 + y 2 + z 2 = 1, satisfying the condition x = 0.5, are a circle y 2 + z 2 = 0.75 of radius \sqrt{0.75} on the plane x = 0.5.[src] The inequality y ≤ 0.75 holds on an arc.[src] The length of the arc is 5/6 of the length of the circle, which is why the conditional probability is equal to 5/6.[src] This successful geometric explanation may create the illusion that the following question is trivial.[src] A point of a given sphere is chosen at random (uniformly).[src] Given that the point lies on a given plane, what is its conditional distribution?[src] It may seem evident that the conditional distribution must be uniform on the given circle (the intersection of the given sphere and the given plane).[src] Sometimes it really is, but in general it is not.[src] Especially, Z is distributed uniformly on (-1,+1) and independent of the ratio Y/X, thus, P ( Z ≤ 0.5 | Y/X ) = 0.75.[src] On the other hand, the inequality z ≤ 0.5 holds on an arc of the circle x 2 + y 2 + z 2 = 1, y = cx (for any given c).[src] The length of the arc is 2/3 of the length of the circle.[src] However, the conditional probability is 3/4, not 2/3.[src] This is a manifestation of the classical Borel paradox.[src] Another example.[src] A random rotation of the three-dimensional space is a rotation by a random angle around a random axis.[src] Geometric intuition suggests that the angle is independent of the axis and distributed uniformly.[src] However, the latter is wrong; small values of the angle are less probable.[src] ===The limiting procedure=== Given an event B of zero probability, the formula \textstyle \mathbb{P} (A|B) = \mathbb{P} ( A \cap B ) / \mathbb{P} (B) is useless, however, one can try \textstyle \mathbb{P} (A|B) = \lim_{n\to\infty} \mathbb{P} ( A \cap B_n ) / \mathbb{P} (B_n) for an appropriate sequence of events B n of nonzero probability such that B n ↓ B (that is, \textstyle B_1 \supset B_2 \supset \dots and \textstyle B_1 \cap B_2 \cap \dots = B ).[src] One example is given above.[src] Two more examples are Brownian bridge and Brownian excursion.[src] In the latter two examples the law of total probability is irrelevant, since only a single event (the condition) is given.[src] By contrast, in the example above the law of total probability applies, since the event X = 0.5 is included into a family of events X = x where x runs over (−1,1), and these events are a partition of the probability space.[src] In order to avoid paradoxes (such as the Borel's paradox), the following important distinction should be taken into account.[src] If a given event is of nonzero probability then conditioning on it is well-defined (irrespective of any other events), as was noted above.[src] By contrast, if the given event is of zero probability then conditioning on it is ill-defined unless some additional input is provided.[src] Wrong choice of this additional input leads to wrong conditional probabilities (expectations, distributions).[src] In this sense, "the concept of a conditional probability with regard to an isolated hypothesis whose probability equals 0 is inadmissible." (Kolmogorov ) The additional input may be (a) a symmetry (invariance group); (b) a sequence of events B n such that B n ↓ B, P ( B n ) > 0; (c) a partition containing the given event.[src] Measure-theoretic conditioning (below) investigates Case (c), discloses its relation to (b) in general and to (a) when applicable.[src] Some events of zero probability are beyond the reach of conditioning.[src] An example: let X n be independent random variables distributed uniformly on (0,1), and B the event "X n → 0 as n → ∞"; what about P ( X n 1 and f = f 2 , where f 1 is the continuous piecewise-linear function f_1(y) = \begin{cases} 3y &\text{for } 0 \le y \le 1/3,\\ 1.5(1-y) &\text{for } 1/3 \le y \le 2/3,\\ 0.5 &\text{for } 2/3 \le y \le 1, \end{cases} and f 2 is the Weierstrass function.[src] ===Geometric intuition: caution=== Given X = 0.75, two values of Y are possible, 0.25 and 0.5.[src] It may seem evident that both values are of conditional probability 0.5 just because one point is congruent to another point.[src] However, this is an illusion; see below.[src] ===Conditional probability=== The conditional probability P ( Y ≤ 1/3 | X ) may be defined as the best predictor of the indicator I = \begin{cases} 1 &\text{if } Y \le 1/3,\\ 0 &\text{otherwise}, \end{cases} given X.[src] That is, it minimizes the mean square error E ( I - g(X) ) 2 on the class of all random variables of the form g (X).[src] In the case f = f 1 the corresponding function g = g 1 may be calculated explicitly, g_1(x) = \begin{cases} 1 &\text{for } 0 Alternatively, the limiting procedure may be used, g_1(x) = \lim_{\varepsilon\to0+} \mathbb{P} ( Y \le 1/3 | x-\varepsilon \le X \le x+\varepsilon ) \, , giving the same result.[src] Thus, P ( Y ≤ 1/3 | X ) = g 1 (X).[src] The expectation of this random variable is equal to the (unconditional) probability, E ( P ( Y ≤ 1/3 | X ) ) = P ( Y ≤ 1/3 ), namely, 1 \cdot \mathbb{P} (X 0.5) = 1 \cdot \frac16 + 0 \cdot \frac13 + \frac13 \cdot \left( \frac16 + \frac13 \right) = \frac13, which is an instance of the law of total probability E ( P ( A | X ) ) = P ( A ).[src] In the case f = f 2 the corresponding function g = g 2 probably cannot be calculated explicitly.[src] Nevertheless it exists, and can be computed numerically.[src] Indeed, the space L 2 (Ω) of all square integrable random variables is a Hilbert space; the indicator I is a vector of this space; and random variables of the form g (X) are a (closed, linear) subspace.[src] The orthogonal projection of this vector to this subspace is well-defined.[src] It can be computed numerically, using finite-dimensional approximations to the infinite-dimensional Hilbert space.[src] Once again, the expectation of the random variable P ( Y ≤ 1/3 | X ) = g 2 (X) is equal to the (unconditional) probability, E ( P ( Y ≤ 1/3 | X ) ) = P ( Y ≤ 1/3 ), namely, \int_0^1 g_2 (f_2(y)) \, \mathrm{d}y = \tfrac13.[src] However, the Hilbert space approach treats g 2 as an equivalence class of functions rather than an individual function.[src] Measurability of g 2 is ensured, but continuity (or even Riemann integrability) is not.[src] The value g 2 (0.5) is determined uniquely, since the point 0.5 is an atom of the distribution of X.[src] Other values x are not atoms, thus, corresponding values g 2 (x) are not determined uniquely.[src] Once again, "the concept of a conditional probability with regard to an isolated hypothesis whose probability equals 0 is inadmissible." (Kolmogorov.[src] Alternatively, the same function g (be it g 1 or g 2 ) may be defined as the Radon–Nikodym derivative g = \frac{ \mathrm{d}\nu }{ \mathrm{d}\mu }, where measures μ, ν are defined by \begin{align} \mu (B) &= \mathbb{P} ( X \in B ), \\ \nu (B) &= \mathbb{P} ( X \in B, \, Y \le \tfrac{1}{3}) \end{align} for all Borel sets B \subset \mathbb R.[src] That is, μ is the (unconditional) distribution of X, while ν is one third of its conditional distribution, \nu (B) = \mathbb{P} ( X \in B | Y \le \tfrac{1}{3} ) \mathbb{P} ( Y \le \tfrac{1}{3} ) = \tfrac13 \mathbb{P} ( X \in B | Y \le \tfrac{1}{3} ).[src] Both approaches (via the Hilbert space, and via the Radon–Nikodym derivative) treat g as an equivalence class of functions; two functions g and g′ are treated as equivalent, if g (X) = g′ (X) almost surely.[src] Accordingly, the conditional probability P ( Y ≤ 1/3 | X ) is treated as an equivalence class of random variables; as usual, two random variables are treated as equivalent if they are equal almost surely.[src] ===Conditional expectation=== The conditional expectation \mathbb{E}(Y|X) may be defined as the best predictor of Y given X.[src] That is, it minimizes the mean square error \mathbb{E}(Y-h(X))^2 on the class of all random variables of the form h(X).[src] In the case f = f 1 the corresponding function h = h 1 may be calculated explicitly, h_1(x) = \begin{cases} \frac{x}{3} & 0 Alternatively, the limiting procedure may be used, h_1(x) = \lim_{\varepsilon\to0+} \mathbb{E} ( Y | x-\varepsilon \leqslant X \leqslant x+\varepsilon ), giving the same result.[src] Thus, \mathbb{E}(Y|X) = h_1(X).[src] The expectation of this random variable is equal to the (unconditional) expectation, \mathbb{E}(\mathbb{E}(Y|X)) = \mathbb{E}(Y), namely, \int_0^1 h_1(f_1(y)) \, \mathrm{d}y = \int_0^{\frac{1}{6}} \frac{3y}3 \, \mathrm{d}y + \int_{\frac{1}{6}}^{\frac{1}{3}} \frac{2-3y}3 \, \mathrm{d}y + \int_{\frac{1}{3}}^{\frac{2}{3}} \frac{ 2 - \frac{3}{2}(1-y)}{3} \, \mathrm{d}y + \int_{\frac{2}{3}}^1 \frac56 \, \mathrm{d}y = \frac12, which is an instance of the law of total expectation \mathbb{E}(\mathbb{E}(Y|X)) = \mathbb{E}(Y).[src] In the case f = f 2 the corresponding function h = h 2 probably cannot be calculated explicitly.[src] Nevertheless it exists, and can be computed numerically in the same way as g 2 above, — as the orthogonal projection in the Hilbert space.[src] The law of total expectation holds, since the projection cannot change the scalar product by the constant 1 belonging to the subspace.[src] Alternatively, the same function h (be it h 1 or h 2 ) may be defined as the Radon–Nikodym derivative h = \frac{ \mathrm{d}\nu }{ \mathrm{d}\mu }, where measures μ, ν are defined by \begin{align} \mu (B) &= \mathbb{P} (X \in B )\\ \nu (B) &= \mathbb{E} (Y, X \in B ) \end{align} for all Borel sets B \subset \R.[src] Here \mathbb{E}(Y;A) is the restricted expectation, not to be confused with the conditional expectation \mathbb{E}(Y|A) = \mathbb{E}(Y;A)/\mathbb{P}(A).[src] ===Conditional distribution=== In the case f = f 1 the conditional cumulative distribution function may be calculated explicitly, similarly to g 1 .[src] The limiting procedure gives: F_{Y|X=\frac{3}{4}} (y) = \mathbb{P} \left ( Y \leqslant y \left | X =\tfrac{3}{4} \right.[src] \right ) = \lim_{\varepsilon\to 0^+} \mathbb{P} \left ( Y \leqslant y \left | \tfrac{3}{4}-\varepsilon \leqslant X \leqslant \tfrac{3}{4}+\varepsilon \right.[src] \right ) = \begin{cases} 0 & -\infty which cannot be correct, since a cumulative distribution function must be right-continuous![src] This paradoxical result is explained by measure theory as follows.[src] For a given y the corresponding F_{Y|X=x} (y) = \mathbb{P} ( Y \leqslant y | X = x) is well-defined (via the Hilbert space or the Radon–Nikodym derivative) as an equivalence class of functions (of x).[src] Treated as a function of y for a given x it is ill-defined unless some additional input is provided.[src] Namely, a function (of x) must be chosen within every (or at least almost every) equivalence class.[src] Wrong choice leads to wrong conditional cumulative distribution functions.[src] A right choice can be made as follows.[src] First, F_{Y|X=x} (y) = \mathbb{P} ( Y \leqslant y | X = x) is considered for rational numbers y only.[src] (Any other dense countable set may be used equally well.) Thus, only a countable set of equivalence classes is used; all choices of functions within these classes are mutually equivalent, and the corresponding function of rational y is well-defined (for almost every x).[src] Second, the function is extended from rational numbers to real numbers by right continuity.[src] In general the conditional distribution is defined for almost all x (according to the distribution of X), but sometimes the result is continuous in x, in which case individual values are acceptable.[src] In the considered example this is the case; the correct result for x = 0.75, F_{Y|X=\frac{3}{4}} (y) = \mathbb{P}\left ( Y \leqslant y \left | X = \tfrac{3}{4} \right.[src] \right ) = \begin{cases} 0 & -\infty shows that the conditional distribution of Y given X = 0.75 consists of two atoms, at 0.25 and 0.5, of probabilities 1/3 and 2/3 respectively.[src] Similarly, the conditional distribution may be calculated for all x in (0, 0.5) or (0.5, 1).[src] The value x = 0.5 is an atom of the distribution of X, thus, the corresponding conditional distribution is well-defined and may be calculated by elementary means (the denominator does not vanish); the conditional distribution of Y given X = 0.5 is uniform on (2/3, 1).[src] Measure theory leads to the same result.[src] The mixture of all conditional distributions is the (unconditional) distribution of Y.[src] The conditional expectation \mathbb{E}(Y|X=x) is nothing but the expectation with respect to the conditional distribution.[src] In the case f = f 2 the corresponding F_{Y|X=x} (y) = \mathbb{P} ( Y \leqslant y | X = x) probably cannot be calculated explicitly.[src] For a given y it is well-defined (via the Hilbert space or the Radon–Nikodym derivative) as an equivalence class of functions (of x).[src] The right choice of functions within these equivalence classes may be made as above; it leads to correct conditional cumulative distribution functions, thus, conditional distributions.[src] In general, conditional distributions need not be atomic or absolutely continuous (nor mixtures of both types).[src] Probably, in the considered example they are singular (like the Cantor distribution).[src] Once again, the mixture of all conditional distributions is the (unconditional) distribution, and the conditional expectation is the expectation with respect to the conditional distribution.[src] ==Technical details== ==See also== Conditional probability Conditional expectation Conditional probability distribution Joint probability distribution Borel's paradox Regular conditional probability Disintegration theorem Law of total variance Law of total cumulance ==Notes== ==References== Draheim, Dirk (2017) Generalized Jeffrey Conditionalization (A Frequentist Semantics of Partial Conditionalization), Springer[src]
157 sentences · 157 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Conditioning (probability)." encyclopegia.org, 2025, https://encyclopegia.org/wiki/conditioning-probability. Accessed 26 November 2026.
Chicago
"Conditioning (probability)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/conditioning-probability.
APA
encyclopegia.org. (2025). Conditioning (probability). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/conditioning-probability
Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON