<< Chapter < Page | Chapter >> Page > |
Remark . It is easy to show that the function is nondecreasing. This fact is used in establishing Jensen's inequality for conditional expectation.
The product rule for expectations of independent random variables
Consider an independent pair of simple random variables
We know that each pair is independent, so that . Consider the product . According to the pattern described after Example 9 from "Mathematical Expectation: Simple Random Variables."
The latter double sum is a primitive form, so that
Thus the product rule holds for independent simple random variables.
Suppose is an independent pair, with an approximating simple pair . As functions of X and Y , respectively, the pair is independent. According to [link] , above, the product rule must hold.
For , there exist nondecreasing sequences and of simple random variables increasing to X and Y , respectively. The sequence is also a nondecreasing sequence of simple random variables, increasing to . By the monotone convergence theorem (MC)
Since for each n , we conclude
In the general case,
Application of the product rule to each nonnegative pair and the use of linearity gives the product rule for the pair
Remark . It should be apparent that the product rule can be extended to any finite independent class.
The class is independent, with the marginal distributions shown below. Let . Determine .
X = 0:4;
Y = 1:2:7;Z = 0:3:12;
PX = 0.1*[1 3 2 3 1];
PY = 0.1*[2 2 3 3];
PZ = 0.1*[2 2 1 3 2];
icalc3 % Setup for joint dbn for{X,Y,Z}
Enter row matrix of X-values XEnter row matrix of Y-values Y
Enter row matrix of Z-values ZEnter X probabilities PX
Enter Y probabilities PYEnter Z probabilities PZ
Use array operations on matrices X, Y, Z,PX, PY, PZ, t, u, v, and P
EX = X*PX'% E[X]
EX = 2EX2 = (X.^2)*PX' % E[X^2]
EX2 = 5.4000EY = Y*PY' % E[Y]
EY = 4.4000EZ = Z*PZ' % E[Z]
EZ = 6.3000G = 3*t.^2 + 2*t.*u - 3*t.*u.*v; % W = g(X,Y,Z) = 3X^2 + 2XY - 3XYZ
EG = total(G.*P) % E[g(X,Y,Z)]EG = -132.5200
[W,PW]= csort(G,P); % Distribution for W = g(X,Y,Z)
EW = W*PW' % E[W]EW = -132.5200
ew = 3*EX2 + 2*EX*EY - 3*EX*EY*EZ % Use of linearity and product ruleew = -132.5200
Suppose exponential (0.3). Let
Determine .
ANALYTIC SOLUTION
APPROXIMATION
To obtain a simple aproximation, we must approximate the exponential by a bounded random variable. Since we may safely truncate X at 50.
tappr
Enter matrix [a b]of x-range endpoints [0 50]
Enter number of x approximation points 1000Enter density as a function of t 0.3*exp(-0.3*t)
Use row matrices X and PX as in the simple caseM = X<= 4;
G = M.*X.^2 + 16*(1 - M); % g(X)EG = G*PX' % E[g(X)]
EG = 7.4972[Z,PZ] = csort(G,PX); % Distribution for Z = g(X)EZ = Z*PZ' % E[Z] from distributionEZ = 7.4972
Because of the large number of approximation points, the results agree quite closely with the theoretical value.
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?