Let \( X_{1}, X_{2}, \cdots, X_{n} \) be a random sample from the \( \mathcal{N}\left(\mu, \sigma^{2}\right) \) distribution, where \( \mu \in \mathbb{R} \) is unknown, but \( \sigma>0 \) is known. As shown in Slide 4 of Chapter 7 , the probability that the Find the first derivative of \( g(u)=h(u)-u \) random interval \[ \left(\bar{X}-1.96 \frac{\sigma}{\sqrt{n}}, \bar{X}+1.96 \frac{\sigma}{\sqrt{n}}\right) \] using the chain rule of differentiation to contans \( \mu \) is \( 0.95 \). If we replace \( 0.95 \) by any number \( 1-\alpha \), where \( \alpha \in(0,1) \), and \( 1.96 \) calculate \( h^{\prime}(u) \). To keep track of algebraic probability that the random interval \[ \left(\bar{X}-z_{\alpha / 2} \frac{\sigma}{\sqrt{n}}, \bar{X}+z_{\alpha / 2} \frac{\sigma}{\sqrt{n}}\right) \] contains \( \mu \) is \( 1-\alpha ; \) see slide 7 . Note that \( \Phi\left(z_{\beta}\right)=1-\beta \). It is important to recognize that for any pair of numbers \( 0<\gamma<\delta<1 \) such that \( \delta-\gamma=1-\alpha \), the probability that the random interval \[ \left(\bar{X}-z_{\gamma} \frac{\sigma}{\sqrt{n}}, \bar{X}-z_{\delta} \frac{\sigma}{\sqrt{n}}\right) \] contains \( \mu \) is \( 1-\alpha \). Since \[ \frac{X-\mu}{\sigma / \sqrt{n}} \sim \mathcal{N}(0,1), \] we obtain \[ \mathbb{P}\left(z_{\delta}<\frac{\bar{X}-\mu}{\sigma / \sqrt{n}}<z_{\gamma}\right)=\Phi\left(z_{\gamma}\right)-\Phi\left(z_{\delta}\right)=1-\gamma-(1-\delta)=\delta-\gamma=1-\alpha, \] thereby obtaining (2). If we put \( \delta=1-\alpha / 2 \) and \( \gamma=\alpha / 2 \), then (2) reduces to (1), since \[ \Phi\left(z_{1-\alpha / 2}\right)=\alpha / 2=\Phi\left(-z_{\alpha / 2}\right) \] by the symmetry of the \( \mathcal{N}(0,1) \) distribution around 0 . The question is why our textbook, from among this whole class of random intervals described in (2), picks the random interval described in (1). The answer is the random interval described in (1) has the shortest width in the class of random intervals described in (2). The objective of this assignment is to establish the assertion made in bold in the above sentence. But first, let us formulate the proposition using simpler notation (the \( z_{\beta} \) notation is cumbersome, to say the least). Proposition Let \( f: \mathbb{R}^{2} \mapsto \mathbb{R} \) be defined as \( f(a, b)=b-a \). Subject to the constraint \[ \Phi(b)-\Phi(a)=\beta \in(0,1) \] the function \( f \) is minimized at \( \left(a_{0}, b_{0}\right) \) such that \( \Phi\left(a_{0}\right)=(1-\beta) / 2 \).
Added by Charles M.
Close
Your feedback will help us improve your experience
Victor Salazar and 98 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Suppose that we take a sample of size $n_{1}$ from a normally distributed population with mean and variance $\mu_{1}$ and $\sigma_{1}^{2}$ and an independent of sample size $n_{2}$ from a normally distributed population with mean and variance $\mu_{2}$ and $\sigma_{2}^{2} .$ If it is reasonable to assume that $\sigma_{1}^{2}=\sigma_{2}^{2},$ then the results given in Section 8.8 apply. What can be done if we cannot assume that the unknown variances are equal but are fortunate enough to know that $\sigma_{2}^{2}=k \sigma_{1}^{2}$ for some known constant $k \neq 1 ?$ Suppose, as previously, that the sample means are given by $\bar{Y}_{1}$ and $\bar{Y}_{2}$ and the sample variances by $S_{1}^{2}$ and $S_{2}^{2}$, respectively. a. Show that $Z^{\star}$ given below has a standard normal distribution. $$Z^{*}=\frac{\left(\bar{Y}_{1}-\bar{Y}_{2}\right)-\left(\mu_{1}-\mu_{2}\right)}{\sigma_{1} \sqrt{\frac{1}{n_{1}}+\frac{k}{n_{2}}}}$$ b. Show that $W^{\star}$ given below has a $\chi^{2}$ distribution with $n_{1}+n_{2}-2$ df. $$W^{*}=\frac{\left(n_{1}-1\right) S_{1}^{2}+\left(n_{2}-1\right) S_{2}^{2} / k}{\sigma_{1}^{2}}$$ c. Notice that $Z^{\star}$ and $W^{\star}$ from parts (a) and (b) are independent. Finally, show that $$T^{*}=\frac{\left(\bar{Y}_{1}-\bar{Y}_{2}\right)-\left(\mu_{1}-\mu_{2}\right)}{S_{p}^{*} \sqrt{\frac{1}{n_{1}}+\frac{k}{n_{2}}}}, \quad \text { where } S_{p}^{2 *}=\frac{\left(n_{1}-1\right) S_{1}^{2}+\left(n_{2}-1\right) S_{2}^{2} / k}{n_{1}+n_{2}-2}$$ has a $t$ distribution with $n_{1}+n_{2}-2$ df. d. Use the result in part (c) to give a $100(1-\alpha) \%$ confidence interval for $\mu_{1}-\mu_{2},$ assuming that $\sigma_{2}^{2}=k \sigma_{1}^{2}$ e. What happens if $k=1$ in parts $(\mathrm{a}),(\mathrm{b}),(\mathrm{c}),$ and $(\mathrm{d}) ?$
Estimation
Summary
Optimal signed-rank based methods also exist for the one-sample problem. In this exercise, we briefly discuss these methods. Let $X_{1}, X_{2}, \ldots, X_{n}$ follow the location model $$ X_{i}=\theta+e_{i}, \quad(10.5 .39) $$ where $e_{1}, e_{2}, \ldots, e_{n}$ are iid with pdf $f(x)$, which is symmetric about $0 ;$ i.e., $f(-x)=$ $f(x)$ (a) Show that under symmetry the optimal two-sample score function $(10.5 .26)$ satisfies $$ \varphi_{f}(1-u)=-\varphi_{f}(u), \quad 0<u<1 ; $$ that is, $\varphi_{f}(u)$ is an odd function about $\frac{1}{2}$. Show that a function satisfying $(10.5 .40)$ is 0 at $u=\frac{1}{2}$. (b) For a two-sample score function $\varphi(u)$ that is odd about $\frac{1}{2}$, define the function $\varphi^{+}(u)=\varphi[(u+1) / 2]$, i.e., the top half of $\varphi(u)$. Note that the domain of $\varphi^{+}(u)$ is the interval $(0,1)$. Show that $\varphi^{+}(u) \geq 0$, provided $\varphi(u)$ is nondecreasing. (c) Assume for the remainder of the problem that $\varphi^{+}(u)$ is nonnegative and nondecreasing on the interval $(0,1)$. Define the scores $a^{+}(i)=\varphi^{+}[i /(n+1)]$ $i=1,2, \ldots, n$, and the corresponding statistic $$ W_{\varphi^{+}}=\sum_{i=1}^{n} \operatorname{sgn}\left(X_{i}\right) a^{+}\left(R\left|X_{i}\right|\right) $$ Show that $W_{\varphi+}$ reduces to a linear function of the signed-rank test statistic $(10.3 .2)$ if $\varphi(u)=2 u-1 .$ (d) Show that $W_{\varphi^{+}}$ reduces to a linear function of the sign test statistic $(10.2 .3)$ if $\varphi(u)=\operatorname{sgn}(2 u-1)$ Note: Suppose Model $(10.5 .39)$ is true and we take $\varphi(u)=\varphi_{f}(u)$, where $\varphi_{f}(u)$ is given by $(10.5 .26) .$ If we choose $\varphi^{+}(u)=\varphi[(u+1) / 2]$ to generate the signed-rank scores, then it can be shown that the corresponding test statistic $W_{\varphi^{+}}$ is optimal, among all signed-rank tests. (e) Consider the hypotheses $$ H_{0}: \theta=0 \text { versus } H_{1}: \theta>0 $$ Our decision rule for the statistic $W_{\varphi^{+}}$ is to reject $H_{0}$ in favor of $H_{1}$ if $W_{\varphi^{+}} \geq$ $k$, for some $k$. Write $W_{\varphi^{+}}$ in terms of the anti-ranks, $(10.3 .5) .$ Show that $W_{\varphi^{+}}$ is distribution-free under $H_{0}$. (f) Determine the mean and variance of $W_{\varphi^{+}}$ under $H_{0}$. (g) Assuming that, when properly standardized, the null distribution is asymptotically normal, determine the asymptotic test.
Nonparametric and Robust Statistics
General Rank Scores
Let $X$ be a random variable with pdf $f_{X}(x)=\left(2 b_{X}\right)^{-1} \exp \left\{-|x| / b_{X}\right\}$, for $-\infty<x<\infty$ and $b_{X}>0$. First, show that the variance of $X$ is $\sigma_{X}^{2}=2 b_{X}^{2} .$ Next, let $Y$, independent of $X$, have pdf $f_{Y}(y)=\left(2 b_{Y}\right)^{-1} \exp \left\{-|y| / b_{Y}\right\}$, for $-\infty<x<\infty$ and $b_{Y}>0$. Consider the hypotheses $$ H_{0}: \sigma_{X}^{2}=\sigma_{Y}^{2} \text { versus } H_{1}: \sigma_{X}^{2}>\sigma_{Y}^{2} $$ To illustrate Remark $8.3 .2$ for testing these hypotheses, consider the following data set (data are also in the file exercise8316.rda). Sample 1 represents the values of a sample drawn on $X$ with $b_{X}=1$, while Sample 2 represents the values of a sample drawn on $Y$ with $b_{Y}=1$. Hence, in this case $H_{0}$ is true. $$ \begin{array}{|c|rrrr|} \hline \text { Sample } & -0.389 & -2.177 & 0.813 & -0.001 \\ 1 & -0.110 & -0.709 & 0.456 & 0.135 \\ \hline \text { Sample } & 0.763 & -0.570 & -2.565 & -1.733 \\ 1 & 0.403 & 0.778 & -0.115 & \\ \hline \text { Sample } & -1.067 & -0.577 & 0.361 & -0.680 \\ 2 & -0.634 & -0.996 & -0.181 & 0.239 \\ \hline \text { Sample } & -0.775 & -1.421 & -0.818 & 0.328 \\ 2 & 0.213 & 1.425 & -0.165 & \\ \hline \end{array} $$ (a) Obtain comparison boxplots of these two samples. Comparison boxplots consist of boxplots of both samples drawn on the same scale. Based on these plots, in particular the interquartile ranges, what do you conclude about $H_{0}$ ? (b) Obtain the $F$ -test (for a one-sided hypothesis) as discussed in Remark 8.3.2 at level $\alpha=0.10$. What is your conclusion? (c) The test in part (b) is not exact. Why?
Optimal Tests of Hypotheses
Likelihood Ratio Tests
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Watch the video solution with this free unlock.
EMAIL
PASSWORD