In: Statistics and Probability
This problem is to be done in R.
Consider two populations A = {3, 5, 7, 9, 10, 16} and B = {8, 10, 11, 15, 18, 25, 28}.
a) Using R, draw random samples (without replacement) of size 3 from each population, and simulate the sampling distribution of the sum of their maximum. Describe the distribution.
b) Use your simulation to estimate the probability that the sum of the maximums is less than 20.
c) Draw random samples of size 3 from each population, and find the maximum of the union of these two sets. Simulate the sampling distribution of the maximum of this union. Compare the distribution to part (a). In R, max(union(a, b)) returns the maximum of the union of sets a and b.
d) Use simulation to find the probability that the maximum of the union is less than 20.