Look at the first outcome: HHH. Since H corresponds to X = 1, the values of X for this sample are 1, 1, 1. Thus, the sample mean is (1+1+1)/3 = 1.
Now look at the second outcome. Since T corresponds to X = 0, the values of X for this sample are 1, 1, 0, and the sample mean is (1+1+0)/3 = 2/3.
Continue in this manner to obtain the sample means for all the outcomes.
Just close this window to return to the on-line text.