The following is a homework problem from my textbook, I am totally confused on how to solve this problem. Please help!!!!!
Let $X_1, X_2, ………, X_n$ be a random sample from a continuous probability distribution having median μ~ (so that P(Xi ≤ μ~) = P(Xi ≥ μ~) = 0.50).
(a) Show that P(min (Xi) < μ~ < max(Xi)) = 1 – (1/2)n-1 so that (min (xi), max (xi) is a 100(1 – α)% confidence interval for μ~ with α = 1 – (1/2)n-1. [Hint: The complement of the event {min (Xi) < μ~ < max(Xi)} is {max(Xi) ≤ μ~} U {min(Xi) ≥ μ~}. But max(Xi) ≤ μ~ iff Xi < μ~ for all i.]
(b) For each six normal male infants, the amount of the amino acid alanine (mg/100mL) was determined while the infants were on an isoleucine-free diet, resulting in the following data:
2.84 3.54 2.80 1.44 2.94 2.70
Compute a 97% CI for the true median amount of alanine for infants on such a diet.
(c) Let x(2) denote the second smallest of the xi‘s and x(n-1) denote the second largest of the xi’s. What is the confidence level of the interval (x(2), x(n-1)) for μ~?