Here is a small data set:
obs x 1 47 2 46 3 48 4 34 5 60 6 59 7 40 8 51 9 55 10 56
and here is a set of uniform random numbers:
obs u 1 0.85948 2 0.49861 3 0.29597 4 0.53361 5 0.78834 6 0.37554 7 0.02472 8 0.84929 9 0.44046 10 0.07480
i) Calculate the sample mean of x from the original data.
ii) Use the random numbers to draw a bootstrap sample of x values, using the method illustrated in our SAS programs.
iii) Calculate the sample mean from your bootstrap sample.