<< Chapter < Page | Chapter >> Page > |
f = '(6/5)*(t + 2*u).*(u>=t)'; % Density as string variable
tuapprEnter matrix [a b] of X-range endpoints [0 1]Enter matrix [c d] of Y-range endpoints [0 1]Enter number of X approximation points 200
Enter number of Y approximation points 200Enter expression for joint density eval(f) % Evaluation of string variable
Use array operations on X, Y, PX, PY, t, u, and PEYx = sum(u.*P)./sum(P); % Approximate values
eYx = (4 + 3*X - 7*X.^3)./(6*(1 + X - 2*X.^2)); % Theoretical expressionplot(X,EYx,X,eYx)
% Plotting details (see
[link] )
—
The agreement of the theoretical and approximate values is quite good enough for practical purposes. It also indicates that the interpretation isreasonable, since the approximation determines the center of mass of the discretized mass which approximates the center of the actual mass in each vertical strip.
Most examples for which we make numerical calculations will be one of the types above. Analysis of these cases is built upon the intuitive notion of conditional distributions.However, these cases and this interpretation are rather limited and do not provide the basis for the range of applications—theoretical and practical—which characterizemodern probability theory. We seek a basis for extension (which includes the special cases). In each case examined above, we have the property
for all t in the range of X .
We have a tie to the simple case of conditioning with respect to an event. If has positive probability, then using we have
Two properties of expectation are crucial here:
We make a definition based on these facts.
Definition . The conditional expectation is the a.s. unique function defined on the range of X such that
Note that is a random variable and is a function. Expectation is always a constant. The concept is abstract. At this point it has little apparent significance, except that it must include the two special cases studied in the previoussections. Also, it is not clear why the term conditional expectation should be used. The justification rests in certain formal properties which are based on the defining condition(A) and other properties of expectation.
In Appendix F we tabulate a number of key properties of conditional expectation. The condition (A) is called property (CE1) . We examine several of these properties. For a detailed treatment and proofs, any of a number of books on measure-theoretic probability may be consulted.
(CE1) Defining condition . a.s. iff
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?