Chapter 10: Problem 2
Obtain the sensitivity curves for the sample mean, the sample median and the Hodges-Lehmann estimator for the following data set. Evaluate the curves at the values \(-300\) to 300 in increments of 10 and graph the curves on the same plot. Compare the sensitivity curves. $$ \begin{array}{rrrrrrrr} -9 & 58 & 12 & -1 & -37 & 0 & 11 & 21 \\ 18 & -24 & -4 & -53 & -9 & 9 & 8 & \end{array} $$ Note that the \(\mathrm{R}\) command wilcox.test \((\mathrm{x}\), conf . int \(=\mathrm{T}\) ) \$est computes the Hodges Lehmann estimate for the \(\mathrm{R}\) vector \(\mathrm{x}\).