Let \(X_1,X_2,\ldots ,X_n\) be independent identically distributed normal \(N(\mu ,\sigma ^2)\) random variables. Let \[ U_n=\frac {2}{n(n-1)} \sum _{1\leq i<j\leq n}I\{|X_i-X_j|>1\}. \]
- Compute \(EU_n\). (10 points)
- Assume that \(\sigma \) is known. We wish to test \(H_0:\mu =\mu _0\) (\(\mu _0\) is given) against the alternative that \(H_0\) is not true. Can we use \(U_n\) to test \(H_0\) against this alternative? (5 points)
- Now \(\mu \) and also \(\sigma \) are unknown. We wish to test the null-hypothesis that \(\sigma =\sigma _0\) against the alternative that \(H_0\) is not true. Can we use \(U_n\) now? (5 points)