<< Chapter < Page | Chapter >> Page > |
Definition . The conditional expectation of X , given event C with positive probability, is the quantity
Remark . The product form is often useful.
Suppose exponential and . Now where .
Thus
Suppose and in canonical form. We suppose and , for each permissible . Now
We take the expectation relative to the conditional probability to get
Since we have a value for each t i in the range of X , the function is defined on the range of X . Now consider any reasonable set M on the real line and determine the expectation
We have the pattern
for all t i in the range of X .
We return to examine this property later. But first, consider an example to display the nature of the concept.
Suppose the pair has the joint distribution
0 | 1 | 4 | 9 | |
0.05 | 0.04 | 0.21 | 0.15 | |
0 | 0.05 | 0.01 | 0.09 | 0.10 |
-1 | 0.10 | 0.05 | 0.10 | 0.05 |
0.20 | 0.10 | 0.40 | 0.30 |
Calculate for each possible value t i taken on by X
The pattern of operation in each case can be described as follows:
The following interpretation helps visualize the conditional expectation and points to an important result in the general case.
Although the calculations are not difficult for a problem of this size, the basic pattern can be implemented simply with MATLAB, making the handling of much larger problems quite easy. Thisis particularly useful in dealing with the simple approximation to an absolutely continuous pair.
X = [0 1 4 9]; % Data for the joint distributionY = [-1 0 2];P = 0.01*[ 5 4 21 15; 5 1 9 10; 10 5 10 5];jcalc % Setup for calculations
Enter JOINT PROBABILITIES (as on the plane) PEnter row matrix of VALUES of X X
Enter row matrix of VALUES of Y YUse array operations on matrices X, Y, PX, PY, t, u, and P
EYX = sum(u.*P)./sum(P); % sum(P) = PX (operation sum yields column sums)disp([X;EYX]') % u.*P = u_j P(X = t_i, Y = u_j) for all i, j0 0
1.0000 0.30004.0000 0.8000
9.0000 0.8333
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?