Let $X_1, X_2, ..., X_7$ be a random sample drawn from a continuous distribution with unknown unique median $M$. The null hypothesis $H_0: M = 2$ is tested against the alternative $H_1: M \gt 2$ at level of significance 0.05 using the right-tailed test based on the Sign test statistic $K$, which is the number of observations in the sample greater than 2. If the observed sample is $-3, -6, 1, 9, 4, 10, 12$, which of the following statements are true?
The problem involves using the Sign test for a random sample of size n=7 drawn from a continuous distribution to test a hypothesis about the median M.
The sample observations are: $-3, -6, 1, 9, 4, 10, 12$.
The null hypothesis is \(H_0: M = 2\) and the alternative is \(H_1: M > 2\).
The test statistic K is defined as the number of observations greater than 2.
Under the null hypothesis \(H_0: M = 2\), for a continuous distribution with a unique median, \(P(X > 2) = 0.5\). Thus, the test statistic K follows a Binomial distribution \(B(n=7, p=0.5)\).
The test is a right-tailed test at a significance level \(\alpha = 0.05\).
We need to find the critical value \(k_{crit}\) such that \(P(K \ge k_{crit}) \le 0.05\).
Since \(P(K \ge 6) > 0.05\) and \(P(K \ge 7) \le 0.05\), the critical value is \(k_{crit} = 7\).
Comparing the observed statistic (\(K_{obs} = 4\)) with the critical value (\(k_{crit} = 7\)): since $4 < 7$, we do not reject \(H_0\). Therefore, statement 1 ('$H_0$ is rejected') is false.
The p-value for a right-tailed test is calculated as \(P(K \ge K_{obs})\).
The p-value is 0.5. Since $0.5 > 0.01$, statement 2 ('The p-value of the test is greater than 0.01') is true.
Under the null hypothesis, K follows a Binomial distribution \(B(n=7, p=0.5)\).
The expected value E(K) is calculated using the formula \(E(K) = n \times p\):
$E(K) = 7 \times 0.5 = 3.5$
Therefore, statement 3 ('Under $H_0$, $E(K) = 3.5$') is true.
For a sample size n=7, the interval \([X_{(k)}, X_{(n-k+1)}]\) forms a confidence interval for the median M with a confidence coefficient of \(1 - 2 P(K \le k-1)\), where K ~ B(7, 0.5).
We evaluate the confidence coefficient for the interval \([X_{(2)}, X_{(6)}]\). Here, $k=2$ and $n=7$.
Since the confidence coefficient $0.875$ is less than $0.95$, statement 4 ('$[X_{(2)}, X_{(6)}]$ is a confidence interval for $M$ with confidence coefficient at least 0.95') is false.
Based on the analysis of each statement:
Therefore, the statements regarding the p-value being greater than 0.01 and the expected value being 3.5 are true.
Let $X_1$ and $X_2$ be a random sample from Uniform$[0, \theta]$ distribution, where $\theta > 0$. For testing the hypothesis
$H_0: \theta = 1$ against $H_1: \theta = 2$,
consider a test which rejects $H_0$ if $X_1 + X_2 > \frac{4}{5}$. Then, the probability of type-I error is
Let $X$ be a single sample from an absolutely continuous distribution with probability density function
$f(x|\theta) = \begin{cases} \frac{2}{\theta^2}(\theta - x), & \text{if } 0 < x < \theta \\ 0, & \text{otherwise,} \end{cases}$
where $\theta > 0$ is unknown. Which of the following intervals is a $95\%$ confidence interval for $\theta$?