Chapter 12: Q4SE (page 850)
Let X and Y be independent random variables with \(X\) having the t distribution with five degrees of freedom and Y having the t distribution with three degrees of freedom. We are interested in \(E\left( {|X - Y|} \right).\)
a. Simulate 1000 pairs of \(\left( {{X_i},{Y_i}} \right)\) each with the above joint distribution and estimate \(E\left( {|X - Y|} \right).\)
b. Use your 1000 simulated pairs to estimate the variance of \(|X - Y|\) also.
c. Based on your estimated variance, how many simulations would you need to be 99 percent confident that your estimator is within the actual mean?
Short Answer
(a) Close to\(1.3755\)for\(n = 10000.\)
(b) Close to\(1.3656\)for\(n = 10000.\)
((c)) n=10071.