Chapter 6

Hypothesis Tests

[56/100%]
Show
LaTeX
Problem 6.1

Let XX be a sample from a population PP and consider testing hypotheses H0:P=P0H_0:P=P_0 versus H1:P=P1H_1:P=P_1, where PjP_j is a known population with probability density fjf_j with respect to a σ\sigma-finite measure ν\nu, j=0,1j=0,1. Let β(P)\beta (P) be the power function of a UMP (uniformly most powerful) test of size α∈(0,1)\alpha \in (0,1). Show that α<β(P1)\alpha <\beta (P_1) unless P0=P1P_0=P_1.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.2.

Problem 6.2

Let XX be a sample from a population PP and consider testing hypotheses H0:P=P0H_0:P=P_0 versus H1:P=P1H_1:P=P_1, where PjP_j is a known population with probability density fjf_j with respect to a σ\sigma-finite measure ν\nu, j=0,1j=0,1. For any α>0\alpha >0, define

Tα(X)={1,f1(X)>c(α)f0(X),γ(α),f1(X)=c(α)f0(X),0,f1(X)<c(α)f0(X), T_\alpha (X)=\begin{cases} 1,& f_1(X)>c(\alpha )f_0(X),\\ \gamma (\alpha ),& f_1(X)=c(\alpha )f_0(X),\\ 0,& f_1(X)<c(\alpha )f_0(X),\end{cases}

where 0≤γ(α)≤10\leq \gamma (\alpha )\leq 1, c(α)≥0c(\alpha )\geq 0, E0[Tα(X)]=α\mathbb {E}_{0}\left[T_\alpha (X)\right]=\alpha, and Ej\mathbb E_j denotes the expectation with respect to PjP_j. Show that

?
(i)

if α1<α2\alpha_1<\alpha_2, then c(α1)≥c(α2)c(\alpha_1)\geq c(\alpha_2);

(ii)

if α1<α2\alpha_1<\alpha_2, then the type II error probability of Tα1T_{\alpha_1} is larger than that of Tα2T_{\alpha_2}, i.e., E1[1−Tα1(X)]>E1[1−Tα2(X)]\mathbb {E}_{1}\left[1-T_{\alpha_1}(X)\right]>\mathbb {E}_{1}\left[1-T_{\alpha_2}(X)\right].

Remark.
?

Corresponding exercise in Shao (2003): 6.3.

Problem 6.3

Let XX be a sample from a population PP and P0P_0 and P1P_1 be two known populations. Suppose that T∗T_* is a UMP test of size α∈(0,1)\alpha \in (0,1) for testing H0:P=P0H_0:P=P_0 versus H1:P=P1H_1:P=P_1 and that β<1\beta <1, where β\beta is the power of T∗T_* when H1H_1 is true. Show that 1−T∗1-T_* is a UMP test of size 1−β1-\beta for testing H0:P=P1H_0:P=P_1 versus H1:P=P0H_1:P=P_0.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.4.

Problem 6.4

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from a population on R\mathbb {R} with Lebesgue density fθf_\theta. Let θ0\theta_0 and θ1\theta_1 be two constants. Find a UMP test of size α\alpha for testing H0:θ=θ0H_0:\theta =\theta_0 versus H1:θ=θ1H_1:\theta =\theta_1 in the following cases:

?
(i)

fθ(x)=e−(x−θ)  1(θ,∞)(x)f_\theta (x)=e^{-(x-\theta )}\; \mathbb {1}_{(\theta ,\infty )}(x), θ0<θ1\theta_0<\theta_1;

(ii)

fθ(x)=θx−2  1(θ,∞)(x)f_\theta (x)=\theta x^{-2}\; \mathbb {1}_{(\theta ,\infty )}(x), θ0≠θ1\theta_0\ne \theta_1.

Remark.
?

Corresponding exercise in Shao (2003): 6.6.

Problem 6.5

Let f1,…,fm+1f_1,\ldots ,f_{m+1} be Borel functions on Rp\mathbb {R}^{p} that are integrable with respect to a σ\sigma-finite measure ν\nu. For given constants t1,…,tmt_1,\ldots ,t_m, let T\mathcal T be the class of Borel functions ϕ\phi (from Rp\mathbb {R}^{p} to [0,1][0,1]) satisfying

∫ϕfi dν≤ti,i=1,…,m, \int \phi f_i\, d\nu \leq t_i,\qquad i=1,\ldots ,m,

and T0\mathcal T_0 be the set of ϕ\phi's in T\mathcal T satisfying

∫ϕfi dν=ti,i=1,…,m. \int \phi f_i\, d\nu =t_i,\qquad i=1,\ldots ,m.

Show that if there are constants c1,…,cmc_1,\ldots ,c_m such that

ϕ∗(x)={1,fm+1(x)>c1f1(x)+⋯+cmfm(x),0,fm+1(x)<c1f1(x)+⋯+cmfm(x) \phi _*(x)=\begin{cases} 1,& f_{m+1}(x)>c_1f_1(x)+\cdots +c_mf_m(x),\\ 0,& f_{m+1}(x)<c_1f_1(x)+\cdots +c_mf_m(x)\end{cases}

is a member of T0\mathcal T_0, then ϕ∗\phi_* maximizes ∫ϕfm+1 dν\int \phi f_{m+1}\, d\nu over ϕ∈T0\phi \in \mathcal T_0. Show that if ci≥0c_i\geq 0 for all ii, then ϕ∗\phi_* maximizes ∫ϕfm+1 dν\int \phi f_{m+1}\, d\nu over ϕ∈T\phi \in \mathcal T.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.7.

Problem 6.6

Let f0f_0 and f1f_1 be Lebesgue integrable functions on R\mathbb {R} and

ϕ∗(x)={1,f0(x)<0 or f0(x)=0, f1(x)≥0,0,otherwise. \phi _*(x)=\begin{cases} 1,& f_0(x)<0\text{ or }f_0(x)=0,\ f_1(x)\geq 0,\\ 0,& \text{otherwise}.\end{cases}

Show that ϕ∗\phi_* maximizes ∫ϕ(x)f1(x) dx\int \phi (x)f_1(x)\, dx over all Borel functions ϕ\phi on R\mathbb {R} satisfying 0≤ϕ(x)≤10\leq \phi (x)\leq 1 and ∫ϕ(x)f0(x) dx=∫ϕ∗(x)f0(x) dx\int \phi (x)f_0(x)\, dx=\int \phi_*(x)f_0(x)\, dx.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.9.

Problem 6.7

Let F1F_1 and F2F_2 be two cumulative distribution functions on R\mathbb {R}. Show that F1(x)≤F2(x)F_1(x)\leq F_2(x) for all xx if and only if ∫g(x) dF2(x)≤∫g(x) dF1(x)\int g(x)\, dF_2(x)\leq \int g(x)\, dF_1(x) for any nondecreasing function gg.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.10.

Problem 6.8

Let XX be an observation with a probability density in the family P={fθ:θ∈Θ}\mathcal P=\{ f_\theta :\theta \in \Theta \}, where Θ⊂R\Theta \subset \mathbb {R} is the possible values of the parameter θ\theta.

?
(i)

Show that P\mathcal P has monotone likelihood ratio in XX when Θ=R\Theta =\mathbb {R} and fθf_\theta is the Lebesgue density of the double exponential distribution with location parameter θ\theta and a known scale parameter cc.

(ii)

Show that P\mathcal P has monotone likelihood ratio in XX when Θ=R\Theta =\mathbb {R} and fθf_\theta is the Lebesgue density of the exponential distribution on the interval (θ,∞)(\theta ,\infty ) with a known scale parameter cc.

(iii)

Show that P\mathcal P has monotone likelihood ratio in XX when Θ=R\Theta =\mathbb {R} and fθf_\theta is the Lebesgue density of the logistic distribution with location parameter θ\theta and a known scale parameter cc.

(iv)

Show that P\mathcal P has monotone likelihood ratio in XX when Θ=R\Theta =\mathbb {R} and fθf_\theta is the Lebesgue density of the uniform distribution on (θ,θ+1)(\theta ,\theta +1).

(v)

Show that P\mathcal P has monotone likelihood ratio in XX when Θ={1,2,…}\Theta =\{ 1,2,\ldots \} and fθ(x)=(θx)(N−θr−x)/(Nr)f_\theta (x)=\binom \theta x\binom {N-\theta }{r-x}/\binom Nr when xx is an integer between r−θr-\theta and min⁡{r,θ}\min \{ r,\theta \}, where rr and NN are known integers.

(vi)

Show that P\mathcal P does not have monotone likelihood ratio in XX when Θ=R\Theta =\mathbb {R} and fθf_\theta is the Lebesgue density of the Cauchy distribution with location parameter θ\theta and a known scale parameter cc.

Remark.
?

Corresponding exercise in Shao (2003): 6.11.

Problem 6.9

Let Θ⊂R\Theta \subset \mathbb {R} and P={fθ(x):θ∈Θ}\mathcal P=\{ f_\theta (x):\theta \in \Theta \} be a family of functions on X⊂R\mathcal X\subset \mathbb {R} satisfying fθ(x)>0f_\theta (x)>0 for all θ∈Θ\theta \in \Theta and x∈Xx\in \mathcal X. Assume that ∂2∂θ∂xlog⁡fθ(x)\frac{\partial^2}{\partial \theta \partial x}\log f_\theta (x) exists.

?
(i)

Show that P\mathcal P has monotone likelihood ratio in xx is equivalent to one of the following conditions:

  1. ∂2∂θ∂xlog⁡fθ(x)≥0\frac{\partial^2}{\partial \theta \partial x}\log f_\theta (x)\geq 0 for all xx and θ\theta;

  2. fθ(x)∂2∂θ∂xfθ(x)≥∂∂θfθ(x)∂∂xfθ(x)f_\theta (x)\frac{\partial^2}{\partial \theta \partial x}f_\theta (x)\geq \frac\partial {\partial \theta }f_\theta (x)\frac\partial {\partial x}f_\theta (x) for all xx and θ\theta.

(ii)

Let fθ(x)f_\theta (x) be the Lebesgue density of the noncentral chi-square distribution χ12(θ)\chi_1^2(\theta ) with the noncentrality parameter θ≥0\theta \geq 0. Show that the family P={fθ(x):θ≥0}\mathcal P=\{ f_\theta (x):\theta \geq 0\} has monotone likelihood ratio in xx.

Problem 6.10

Let X=(X1,…,Xn)X=(X_1,\ldots ,X_n) be a random sample from a distribution on R\mathbb {R} with Lebesgue density fθf_\theta, θ∈Θ=(0,∞)\theta \in \Theta =(0,\infty ). Let θ0\theta_0 be a positive constant. Find a UMP test of size α\alpha for testing H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0 when

?
(i)

fθ(x)=θ−1e−x/θ  1(0,∞)(x)f_\theta (x)=\theta^{-1}e^{-x/\theta }\; \mathbb {1}_{(0,\infty )}(x);

(ii)

fθ(x)=θ−1xθ−1  1(0,1)(x)f_\theta (x)=\theta^{-1}x^{\theta -1}\; \mathbb {1}_{(0,1)}(x);

(iii)

fθ(x)f_\theta (x) is the density of N(1,θ)\mathscr {N}\left(1, \theta \right);

(iv)

fθ(x)=θ−ccxc−1e−(x/θ)c  1(0,∞)(x)f_\theta (x)=\theta^{-c}cx^{c-1}e^{-(x/\theta )^c}\; \mathbb {1}_{(0,\infty )}(x), where c>0c>0 is known.

Remark.
?

Corresponding exercise in Shao (2003): 6.14.

Problem 6.11

Suppose that the distribution of XX is in a family {fθ:θ∈Θ}\{ f_\theta :\theta \in \Theta \} with monotone likelihood ratio in Y(X)Y(X), where Y(X)Y(X) has a continuous distribution. Consider the hypotheses H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0, where θ0∈Θ\theta_0\in \Theta is known. Show that the pp-value of the UMP test is given by Pθ0(Y≥y)\mathbb {P}_{\theta_0}\left(Y\geq y\right), where yy is the observed value of YY and PθP_\theta is the probability corresponding to fθf_\theta.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.15.

Problem 6.12

Let FF and GG be two known cumulative distribution functions on R\mathbb {R} and XX be a single observation from the cumulative distribution function θF(x)+(1−θ)G(x)\theta F(x)+(1-\theta )G(x), where θ∈[0,1]\theta \in [0,1] is unknown.

?
(i)

Find a UMP test of size α\alpha for testing H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0, where θ0∈[0,1]\theta_0\in [0,1] is known.

(ii)

Show that the test T∗(X)≡αT_*(X)\equiv \alpha is a UMP test of size α\alpha for testing H0:θ≤θ1H_0:\theta \leq \theta_1 or θ≥θ2\theta \geq \theta_2 versus H1:θ1<θ<θ2H_1:\theta_1<\theta <\theta_2, where θj∈[0,1]\theta_j\in [0,1] is known, j=1,2j=1,2, and θ1<θ2\theta_1<\theta_2.

Remark.
?

Corresponding exercise in Shao (2003): 6.17.

Problem 6.13

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from the uniform distribution on (θ,θ+1)(\theta ,\theta +1), θ∈R\theta \in \mathbb {R}. Suppose that n≥2n\geq 2.

?
(i)

Show that a UMP test of size α∈(0,1)\alpha \in (0,1) for testing H0:θ≤0H_0:\theta \leq 0 versus H1:θ>0H_1:\theta >0 is of the form

T∗(X(1),X(n))={0,X(1)<1−α1/n, X(n)<1,1,otherwise, T_*(X_{(1)},X_{(n)})=\begin{cases} 0,& X_{(1)}<1-\alpha ^{1/n},\ X_{(n)}<1,\\ 1,& \text{otherwise},\end{cases}

where X(j)X_{(j)} is the jjth order statistic.

(ii)

Does the family of all densities of (X(1),X(n))(X_{(1)},X_{(n)}) have monotone likelihood ratio?

Remark.
?

Corresponding exercise in Shao (2003): 6.18.

Problem 6.14

Let X=(X1,…,Xn)X=(X_1,\ldots ,X_n) be a random sample from the discrete uniform distribution on points 1,…,θ1,\ldots ,\theta, where θ=1,2,…\theta =1,2,\ldots.

?
(i)

Consider H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0, where θ0>0\theta_0>0 is known. Show that

T∗(X)={1,X(n)>θ0,α,X(n)≤θ0 T_*(X)=\begin{cases} 1,& X_{(n)}>\theta _0,\\ \alpha ,& X_{(n)}\leq \theta _0\end{cases}

is a UMP test of size α\alpha.

(ii)

Consider H0:θ=θ0H_0:\theta =\theta_0 versus H1:θ≠θ0H_1:\theta \ne \theta_0. Show that

T∗(X)={1,X(n)>θ0 or X(n)≤θ0α1/n,0,otherwise T_*(X)=\begin{cases} 1,& X_{(n)}>\theta _0\text{ or }X_{(n)}\leq \theta _0\alpha ^{1/n},\\ 0,& \text{otherwise}\end{cases}

is a UMP test of size α\alpha.

(iii)

Show that the results in (i) and (ii) still hold if the discrete uniform distribution is replaced by the uniform distribution on the interval (0,θ)(0,\theta ), θ>0\theta >0.

Remark.
?

Corresponding exercise in Shao (2003): 6.19.

Problem 6.15

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from the exponential distribution on the interval (a,∞)(a,\infty ) with scale parameter θ\theta, where a∈Ra\in \mathbb {R} and θ>0\theta >0.

?
(i)

Derive a UMP test of size α\alpha for testing H0:a=a0H_0:a=a_0 versus H1:a≠a0H_1:a\ne a_0, when θ\theta is known.

(ii)

For testing H0:a=a0H_0:a=a_0 versus H1:a=a1<a0H_1:a=a_1<a_0, show that any UMP test T∗T_* of size α\alpha has power βT∗(a1)=1−(1−α)e−n(a0−a1)/θ\beta_{T_*}(a_1)=1-(1-\alpha )e^{-n(a_0-a_1)/\theta }.

(iii)

For testing H0:a=a0H_0:a=a_0 versus H1:a=a1<a0H_1:a=a_1<a_0, show that the power of any size α\alpha test that rejects H0H_0 when Y≤c1Y\leq c_1 or Y≥c2Y\geq c_2 is the same as that in part (ii), where Y=(X(1)−a0)/∑i=1n(Xi−X(1))Y=(X_{(1)}-a_0)/\sum_{i=1}^n(X_i-X_{(1)}) and X(1)X_{(1)} is the smallest order statistic and 0≤c1<c20\leq c_1<c_2 are constants.

(iv)

Derive a UMP test of size α\alpha for testing H0:a=a0H_0:a=a_0 versus H1:a≠a0H_1:a\ne a_0.

(v)

Derive a UMP test of size α\alpha for testing H0:θ=θ0,a=a0H_0:\theta =\theta_0,a=a_0 versus H1:θ<θ0,a<a0H_1:\theta <\theta_0,a<a_0.

Remark.
?

Corresponding exercise in Shao (2003): 6.20.

Problem 6.16

In Exercise 3.11(i), derive a UMP test of size α∈(0,1)\alpha \in (0,1) for testing H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0, where θ0>1\theta_0>1 is known.

?
Remark.
?

In Exercise 3.11(i), Y1,…,YnY_1,\ldots ,Y_n are a random sample from the uniform distribution on (0,θ)(0,\theta ), where θ>1\theta >1, and the observations are Xi=YiX_i=Y_i if Yi≥1Y_i\geq 1 and Xi=1X_i=1 if Yi<1Y_i<1.

Corresponding exercise in Shao (2003): 6.22.

Problem 6.17

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from N(θ,1)\mathscr {N}\left(\theta , 1\right). Show that T=  1(−c,c)(X‾)T=\; \mathbb {1}_{(-c,c)}(\overline{X}) is a UMP test of size α∈(0,12)\alpha \in (0,\frac12) for testing H0:∣θ∣≥θ1H_0:\left|\theta \right|\geq \theta_1 versus H1:∣θ∣<θ1H_1:\left|\theta \right|<\theta_1, where X‾\overline{X} is the sample mean and θ1>0\theta_1>0 is a constant. Provide a formula for determining cc.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.25.

Problem 6.18

Consider Exercise 6.12 with H0:θ∈[θ1,θ2]H_0:\theta \in [\theta_1,\theta_2] versus H1:θ∉[θ1,θ2]H_1:\theta \notin [\theta_1,\theta_2], where 0<θ1≤θ2<10<\theta_1\leq \theta_2<1 are constants.

?
(i)

Show that a UMP test does not exist.

(ii)

Obtain a UMPU (uniformly most powerful unbiased) test of size α\alpha.

Remark.
?

In Exercise 6.12, FF and GG are known cumulative distribution functions on R\mathbb {R}, and XX is a single observation from the cumulative distribution function θF(x)+(1−θ)G(x)\theta F(x)+(1-\theta )G(x), where θ∈[0,1]\theta \in [0,1] is unknown.

Corresponding exercise in Shao (2003): 6.29.

Problem 6.19

Let XX be a random variable with probability density fθf_\theta. Assume that {fθ:θ∈Θ}\{ f_\theta :\theta \in \Theta \} has monotone likelihood ratio in XX, where Θ⊂R\Theta \subset \mathbb {R}. Suppose that for each θ0∈Θ\theta_0\in \Theta, a UMPU test of size α\alpha for testing H0:θ=θ0H_0:\theta =\theta_0 has the acceptance region {c1(θ0)≤X≤c2(θ0)}\{ c_1(\theta_0)\leq X\leq c_2(\theta_0)\} and is strictly unbiased (i.e., its power is larger than α\alpha when θ≠θ0\theta \ne \theta_0). Show that the functions c1(θ)c_1(\theta ) and c2(θ)c_2(\theta ) are increasing in θ\theta.

?
Problem 6.20

Let XX be a random variable from the geometric distribution with mean p−1p^{-1}. Find a UMPU test of size α\alpha for H0:p=p0H_0:p=p_0 versus H1:p≠p0H_1:p\ne p_0, where p0∈(0,1)p_0\in (0,1) is known.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.34.

Problem 6.21

Let X=(X1,…,Xn)X=(X_1,\ldots ,X_n) be a random sample from N(μ,σ2)\mathscr {N}\left(\mu , \sigma^2\right) with unknown μ\mu and σ2\sigma^2.

?
(i)

Show that the power of the one-sample t-test depends on a noncentral t-distribution.

(ii)

Show that the power of the one-sample t-test is an increasing function of (μ−μ0)/σ(\mu -\mu_0)/\sigma for testing H0:μ≤μ0H_0:\mu \leq \mu_0 versus H1:μ>μ0H_1:\mu >\mu_0 and of ∣μ−μ0∣/σ\left|\mu -\mu_0\right|/\sigma for testing H0:μ=μ0H_0:\mu =\mu_0 versus H1:μ≠μ0H_1:\mu \ne \mu_0, where μ0\mu_0 is a known constant.

Remark.
?

For testing H0:μ≤μ0H_0:\mu \leq \mu_0 versus H1:μ>μ0H_1:\mu >\mu_0, the one-sample t-test of size α\alpha rejects H0H_0 if and only if t(X)>tn−1,αt(X)>t_{n-1,\alpha }, where t(X)=n(X‾−μ0)/St(X)=\sqrt n(\overline{X}-\mu_0)/S, X‾\overline{X} is the sample mean, S2S^2 is the sample variance, and tr,αt_{r,\alpha } is the (1−α)(1-\alpha )th quantile of the t-distribution trt_r. For testing H0:μ=μ0H_0:\mu =\mu_0 versus H1:μ≠μ0H_1:\mu \ne \mu_0, the one-sample t-test of size α\alpha rejects H0H_0 if and only if ∣t(X)∣>tn−1,α/2\left|t(X)\right|>t_{n-1,\alpha /2}.

Corresponding exercise in Shao (2003): 6.36.

Problem 6.22

Let X=(X1,…,Xn)X=(X_1,\ldots ,X_n) be a random sample from N(μ,σ2)\mathscr {N}\left(\mu , \sigma^2\right) with unknown μ\mu and σ2\sigma^2 and t(X)=nX‾/St(X)=\sqrt n\overline{X}/S, where X‾\overline{X} is the sample mean and S2S^2 is the sample variance. For testing H0:μ/σ≤θ0H_0:\mu /\sigma \leq \theta_0 versus H1:μ/σ>θ0H_1:\mu /\sigma >\theta_0, find a test of size α\alpha that is UMP among all tests based on t(X)t(X), where θ0\theta_0 is a known constant.

?
Problem 6.23

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from the gamma distribution with unknown shape parameter θ\theta and unknown scale parameter γ\gamma. Let θ0>0\theta_0>0 and γ0>0\gamma_0>0 be known constants.

?
(i)

For testing H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0 and H0:θ=θ0H_0:\theta =\theta_0 versus H1:θ≠θ0H_1:\theta \ne \theta_0, show that there exist UMPU tests whose rejection regions are based on V=∏i=1n(Xi/X‾)V=\prod_{i=1}^n(X_i/\overline{X}), where X‾\overline{X} is the sample mean.

(ii)

For testing H0:γ≤γ0H_0:\gamma \leq \gamma_0 versus H1:γ>γ0H_1:\gamma >\gamma_0, show that a UMPU test rejects H0H_0 when ∑i=1nXi>C(∏i=1nXi)\sum_{i=1}^nX_i>C(\prod_{i=1}^nX_i) for some function CC.

Remark.
?

Corresponding exercise in Shao (2003): 6.37.

Problem 6.24

Let X1X_1 and X2X_2 be independent observations from the binomial distributions with sizes n1n_1 and n2n_2 and probabilities p1p_1 and p2p_2, respectively, where nin_i's are known and pip_i's are unknown.

?
(i)

Let Y=X2Y=X_2 and U=X1+X2U=X_1+X_2. Show that

P(Y=y∣U=u)=Ku(θ)(n1u−y)(n2y)eθy  1A(y),u=0,1,…,n1+n2, \mathbb {P}\left( Y=y \mid U=u \right)=K_u(\theta )\binom {n_1}{u-y}\binom {n_2}y e^{\theta y}\; \mathbb {1}_{A}(y),\qquad u=0,1,\ldots ,n_1+n_2,

where A={y:y=0,1,…,min⁡{u,n2},u−y≤n1}A=\{ y:y=0,1,\ldots ,\min \{ u,n_2\} ,u-y\leq n_1\}, θ=log⁡p2(1−p1)p1(1−p2)\theta =\log \frac{p_2(1-p_1)}{p_1(1-p_2)}, and

Ku(θ)=[∑y∈A(n1u−y)(n2y)eθy]−1. K_u(\theta )=\left[\sum _{y\in A}\binom {n_1}{u-y}\binom {n_2}y e^{\theta y}\right]^{-1}.
(ii)

Find a UMPU test of size α\alpha for testing H0:p1≥p2H_0:p_1\geq p_2 versus H1:p1<p2H_1:p_1<p_2.

(iii)

Repeat (ii) for H0:p1=p2H_0:p_1=p_2 versus H1:p1≠p2H_1:p_1\ne p_2.

Remark.
?

Corresponding exercise in Shao (2003): 6.39.

Problem 6.25

Let X1X_1 and X2X_2 be independently distributed as the negative binomial distributions with sizes n1n_1 and n2n_2 and probabilities p1p_1 and p2p_2, respectively, where nin_i's are known and pip_i's are unknown.

?
(i)

Show that there exists a UMPU test of size α\alpha for testing H0:p1≤p2H_0:p_1\leq p_2 versus H1:p1>p2H_1:p_1>p_2.

(ii)

Let Y=X1Y=X_1 and U=X1+X2U=X_1+X_2. Determine the conditional distribution of YY given UU when n1=n2=1n_1=n_2=1.

Remark.
?

Corresponding exercise in Shao (2003): 6.40.

Problem 6.26

Let XjX_j, j=1,2,3j=1,2,3, be independent from the Poisson distributions with means λj\lambda_j, j=1,2,3j=1,2,3, respectively. Show that there exists a UMPU test of size α\alpha for testing H0:λ1λ2≤λ32H_0:\lambda_1\lambda_2\leq \lambda_3^2 versus H1:λ1λ2>λ32H_1:\lambda_1\lambda_2>\lambda_3^2.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.44.

Problem 6.27

Let (Xi1,…,Xini)(X_{i1},\ldots ,X_{in_i}), i=1,2i=1,2, be two independent random samples from N(μi,σ2)\mathscr {N}\left(\mu_i, \sigma^2\right), respectively, where ni≥2n_i\geq 2 and μi\mu_i's and σ\sigma are unknown. Show that a UMPU test of size α\alpha for H0:μ1=μ2H_0:\mu_1=\mu_2 versus H1:μ1≠μ2H_1:\mu_1\ne \mu_2 rejects H0H_0 when ∣t(X)∣>tn1+n2−1,α/2\left|t(X)\right|>t_{n_1+n_2-1,\alpha /2}, where

t(X)=(X‾2−X‾1)/n1−1+n2−1[(n1−1)S12+(n2−1)S22]/(n1+n2−2), t(X)=\frac{(\overline{X}_2-\overline{X}_1)/\sqrt{n_1^{-1}+n_2^{-1}}}{\sqrt{[(n_1-1)S_1^2+(n_2-1)S_2^2]/(n_1+n_2-2)}},

X‾i\overline{X}_i and Si2S_i^2 are the sample mean and variance based on Xi1,…,XiniX_{i1},\ldots ,X_{in_i}, i=1,2i=1,2, and tn1+n2−1,αt_{n_1+n_2-1,\alpha } is the (1−α)(1-\alpha )th quantile of the t-distribution tn1+n2−1t_{n_1+n_2-1}. Derive the power function of this test.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.49.

Problem 6.28

Let (Xi1,…,Xin)(X_{i1},\ldots ,X_{in}), i=1,2i=1,2, be two independent random samples from N(μi,σi2)\mathscr {N}\left(\mu_i, \sigma_i^2\right), respectively, where n≥1n\geq 1 and μi\mu_i's and σi\sigma_i's are unknown. Show that a UMPU test of size α\alpha for testing H0:σ22=Δ0σ12H_0:\sigma_2^2=\Delta_0\sigma_1^2 versus H1:σ22≠Δ0σ12H_1:\sigma_2^2\ne \Delta_0\sigma_1^2 rejects H0H_0 when

max⁡{S22Δ0S12,Δ0S12S22}>1−cc, \max \left\{ \frac{S_2^2}{\Delta _0S_1^2},\frac{\Delta _0S_1^2}{S_2^2}\right\} >\frac{1-c}c,

where Δ0>0\Delta_0>0 is a constant, ∫0cf(n−1)/2,(n−1)/2(v) dv=α/2\int_0^cf_{(n-1)/2,(n-1)/2}(v)\, dv=\alpha /2 and fa,bf_{a,b} is the Lebesgue density of the beta distribution with parameter (a,b)(a,b).

?
Remark.
?

Corresponding exercise in Shao (2003): 6.50.

Problem 6.29

Suppose that Xi=β0+β1ti+εiX_i=\beta_0+\beta_1t_i+\varepsilon_i, i=1,…,ni=1,\ldots ,n, where tit_i's are fixed constants that are not all the same, εi\varepsilon_i's are independent and identically distributed as N(0,σ2)\mathscr {N}\left(0, \sigma^2\right), and β0\beta_0, β1\beta_1, and σ2\sigma^2 are unknown parameters. Derive a UMPU test of size α\alpha for testing

?
(i)

H0:β0≤θ0H_0:\beta_0\leq \theta_0 versus H1:β0>θ0H_1:\beta_0>\theta_0;

(ii)

H0:β0=θ0H_0:\beta_0=\theta_0 versus H1:β0≠θ0H_1:\beta_0\ne \theta_0;

(iii)

H0:β1≤θ0H_0:\beta_1\leq \theta_0 versus H1:β1>θ0H_1:\beta_1>\theta_0;

(iv)

H0:β1=θ0H_0:\beta_1=\theta_0 versus H1:β1≠θ0H_1:\beta_1\ne \theta_0.

Remark.
?

Corresponding exercise in Shao (2003): 6.51.

Problem 6.30

Let XX be a sample from Nn(Zβ,σ2In)N_n(Z\beta ,\sigma^2I_n), where β∈Rp\beta \in \mathbb {R}^{p} and σ2>0\sigma^2>0 are unknown and ZZ is an n×pn\times p known matrix of rank r≤p<nr\leq p<n. For testing H0:σ2≤σ02H_0:\sigma^2\leq \sigma_0^2 versus H1:σ2>σ02H_1:\sigma^2>\sigma_0^2 and H0:σ2=σ02H_0:\sigma^2=\sigma_0^2 versus H1:σ2≠σ02H_1:\sigma^2\ne \sigma_0^2, show that UMPU tests of size α\alpha are functions of SSR=∥X−Zβ^∥2\mathrm{SSR}=\left\| X-Z\widehat{\beta }\right\|^2, where β^\widehat{\beta } is the least squares estimator of β\beta, and their rejection regions can be determined using chi-square distributions.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.53.

Problem 6.31

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from a bivariate normal distribution with unknown means μ1\mu_1 and μ2\mu_2, variances σ12\sigma_1^2 and σ22\sigma_2^2, and correlation coefficient ρ\rho. Let XijX_{ij} be the jjth component of XiX_i, j=1,2j=1,2, X‾j\overline{X}_j and Sj2S_j^2 be the sample mean and variance based on X1j,…,XnjX_{1j},\ldots ,X_{nj}, and V=n−2R/1−R2V=\sqrt{n-2}R/\sqrt{1-R^2}, where

R=1S1S2(n−1)∑i=1n(Xi1−X‾1)(Xi2−X‾2) R=\frac1{S_1S_2(n-1)}\sum _{i=1}^n(X_{i1}-\overline{X}_1)(X_{i2}-\overline{X}_2)

is the sample correlation coefficient. Show that the UMPU test of size α\alpha for H0:ρ≤0H_0:\rho \leq 0 versus H1:ρ>0H_1:\rho >0 rejects H0H_0 when V>tn−2,αV>t_{n-2,\alpha } and the UMPU test of size α\alpha for H0:ρ=0H_0:\rho =0 versus H1:ρ≠0H_1:\rho \ne 0 rejects H0H_0 when ∣V∣>tn−2,α/2\left|V\right|>t_{n-2,\alpha /2}, where tn−2,αt_{n-2,\alpha } is the (1−α)(1-\alpha )th quantile of the t-distribution tn−2t_{n-2}.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.54.

Problem 6.32

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from a bivariate normal distribution with unknown means μ1\mu_1 and μ2\mu_2, variances σ12\sigma_1^2 and σ22\sigma_2^2, and correlation coefficient ρ\rho. Let XijX_{ij} be the jjth component of XiX_i, j=1,2j=1,2, X‾j\overline{X}_j and Sj2S_j^2 be the sample mean and variance based on X1j,…,XnjX_{1j},\ldots ,X_{nj}, and S12=(n−1)−1∑i=1n(Xi1−X‾1)(Xi2−X‾2)S_{12}=(n-1)^{-1}\sum_{i=1}^n(X_{i1}-\overline{X}_1)(X_{i2}-\overline{X}_2).

?
(i)

Let Δ0>0\Delta_0>0 be a known constant. Show that a UMPU test for testing H0:σ2/σ1=Δ0H_0:\sigma_2/\sigma_1=\Delta_0 versus H1:σ2/σ1≠Δ0H_1:\sigma_2/\sigma_1\ne \Delta_0 rejects H0H_0 when

R=∣Δ02S12−S22∣(Δ02S12+S22)2−4Δ02S122>c. R=\frac{\left|\Delta _0^2S_1^2-S_2^2\right|}{\sqrt{(\Delta _0^2S_1^2+S_2^2)^2-4\Delta _0^2S_{12}^2}}>c.
(ii)

Find the Lebesgue density of RR in (i) when σ2/σ1=Δ0\sigma_2/\sigma_1=\Delta_0.

(iii)

Assume that σ1=σ2\sigma_1=\sigma_2. Show that a UMPU test for H0:μ1=μ2H_0:\mu_1=\mu_2 versus H1:μ1≠μ2H_1:\mu_1\ne \mu_2 rejects H0H_0 when

V=∣X‾2−X‾1∣(n−1)(S12+S22−2S12)>c. V=\frac{\left|\overline{X}_2-\overline{X}_1\right|}{\sqrt{(n-1)(S_1^2+S_2^2-2S_{12})}}>c.
(iv)

Find the Lebesgue density of VV in (iii) when μ1=μ2\mu_1=\mu_2.

Remark.
?

Corresponding exercise in Shao (2003): 6.55.

Problem 6.33

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from the exponential distribution on the interval (a,∞)(a,\infty ) with scale parameter θ\theta, where aa and θ\theta are unknown. Let V=2∑i=1n(Xi−X(1))V=2\sum_{i=1}^n(X_i-X_{(1)}), where X(1)X_{(1)} is the smallest order statistic.

?
(i)

For testing H0:θ=1H_0:\theta =1 versus H1:θ≠1H_1:\theta \ne 1, show that a UMPU test of size α\alpha rejects H0H_0 when V<c1V<c_1 or V>c2V>c_2, where cic_i's are determined by

∫c1c2f2n−2(v) dv=∫c1c2f2n(v) dv=1−α \int _{c_1}^{c_2}f_{2n-2}(v)\, dv=\int _{c_1}^{c_2}f_{2n}(v)\, dv=1-\alpha

and fm(v)f_m(v) is the Lebesgue density of the chi-square distribution χm2\chi_m^2.

(ii)

For testing H0:a=0H_0:a=0 versus H1:a≠0H_1:a\ne 0, show that a UMP test of size α\alpha rejects H0H_0 when X(1)<0X_{(1)}<0 or 2nX(1)/V>c2nX_{(1)}/V>c, where cc is determined by

(n−1)∫0c(1+v)−n dv=1−α. (n-1)\int _0^c(1+v)^{-n}\, dv=1-\alpha .
Remark.
?

Corresponding exercise in Shao (2003): 6.57.

Problem 6.34

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from the uniform distribution on the interval (θ,ϑ)(\theta ,\vartheta ), where −∞<θ<ϑ<∞-\infty <\theta <\vartheta <\infty.

?
(i)

Show that the conditional distribution of the smallest order statistic X(1)X_{(1)} given the largest order statistic X(n)=xX_{(n)}=x is the distribution of the minimum of a random sample of size n−1n-1 from the uniform distribution on the interval (θ,x)(\theta ,x).

(ii)

Find a UMPU test of size α\alpha for testing H0:θ≤0H_0:\theta \leq 0 versus H1:θ>0H_1:\theta >0.

Remark.
?

Corresponding exercise in Shao (2003): 6.58.

Problem 6.35

Let XX be a random variable having probability density fθ(x)=exp(η(θ)Y(x)−ξ(θ))h(x)f_\theta (x)=\mathrm{exp}\left(\eta (\theta )Y(x)-\xi (\theta )\right)h(x) with respect to a σ\sigma-finite measure ν\nu, where η\eta is an increasing and differentiable function of θ∈Θ⊂R\theta \in \Theta \subset \mathbb {R}.

?
(i)

Show that log⁡ℓ(θ^)−log⁡ℓ(θ0)\log \ell (\widehat{\theta })-\log \ell (\theta_0) is increasing (or decreasing) in YY when θ^>θ0\widehat{\theta }>\theta_0 (or θ^<θ0\widehat{\theta }<\theta_0), where ℓ(θ)=fθ(x)\ell (\theta )=f_\theta (x), θ^\widehat{\theta } is an MLE of θ\theta, and θ0∈Θ\theta_0\in \Theta.

(ii)

For testing H0:θ1≤θ≤θ2H_0:\theta_1\leq \theta \leq \theta_2 versus H1:θ<θ1H_1:\theta <\theta_1 or θ>θ2\theta >\theta_2 or for testing H0:θ=θ0H_0:\theta =\theta_0 versus H1:θ≠θ0H_1:\theta \ne \theta_0, show that there is a likelihood ratio (LR) test whose rejection region is equivalent to Y(X)<c1Y(X)<c_1 or Y(X)>c2Y(X)>c_2 for some constants c1c_1 and c2c_2.

Remark.
?

Corresponding exercise in Shao (2003): 6.82.

Problem 6.36

In Exercises 4.55 and 4.56, consider H0:j=1H_0:j=1 versus H1:j=2H_1:j=2.

?
(i)

Derive the likelihood ratio λ(X)\lambda (X).

(ii)

Obtain an LR test of size α\alpha in Exercise 4.55.

Remark.
?

In both exercises, (X1,…,Xn)(X_1,\ldots ,X_n), n≥2n\geq 2, is a random sample with density fθ,jf_{\theta ,j}, j=1,2j=1,2. In Exercise 4.55, θ>0\theta >0, fθ,1f_{\theta ,1} is the density of N(0,θ2)\mathscr {N}\left(0, \theta^2\right), and fθ,2(x)=(2θ)−1e−∣x∣/θf_{\theta ,2}(x)=(2\theta )^{-1}e^{-\left|x\right|/\theta }. In Exercise 4.56, θ∈(0,1)\theta \in (0,1), fθ,1f_{\theta ,1} is the Poisson probability density with mean θ\theta, and fθ,2f_{\theta ,2} is the binomial probability density with size 11 and probability θ\theta.

Corresponding exercise in Shao (2003): 6.83.

Problem 6.37

In Exercise 6.12, derive the likelihood ratio λ(X)\lambda (X) when

  1. H0:θ≤θ0H_0:\theta \leq \theta_0;

  2. H0:θ1≤θ≤θ2H_0:\theta_1\leq \theta \leq \theta_2;

  3. H0:θ≤θ1H_0:\theta \leq \theta_1 or θ≥θ2\theta \geq \theta_2.

?
Remark.
?

In Exercise 6.12, FF and GG are known cumulative distribution functions on R\mathbb {R}, and XX is a single observation from the cumulative distribution function θF(x)+(1−θ)G(x)\theta F(x)+(1-\theta )G(x), where θ∈[0,1]\theta \in [0,1] is unknown.

Corresponding exercise in Shao (2003): 6.84.

Problem 6.38

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from the discrete uniform distribution on {1,…,θ}\{ 1,\ldots ,\theta \}, where θ\theta is an integer ≥2\geq 2. Find a level α\alpha LR test for

?
(i)

H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0, where θ0\theta_0 is a known integer ≥2\geq 2;

(ii)

H0:θ=θ0H_0:\theta =\theta_0 versus H1:θ≠θ0H_1:\theta \ne \theta_0.

Remark.
?

Corresponding exercise in Shao (2003): 6.85.

Problem 6.39

Let X=(X1,…,Xn)X=(X_1,\ldots ,X_n) be a random sample from the exponential distribution on the interval (a,∞)(a,\infty ) with scale parameter θ\theta.

?
(i)

Suppose that θ\theta is known. Find an LR test of size α\alpha for testing H0:a≤a0H_0:a\leq a_0 versus H1:a>a0H_1:a>a_0, where a0a_0 is a known constant.

(ii)

Suppose that θ\theta is known. Find an LR test of size α\alpha for testing H0:a=a0H_0:a=a_0 versus H1:a≠a0H_1:a\ne a_0.

(iii)

Repeat part (i) for the case where θ\theta is also unknown.

(iv)

When both θ\theta and aa are unknown, find an LR test of size α\alpha for testing H0:θ=θ0H_0:\theta =\theta_0 versus H1:θ≠θ0H_1:\theta \ne \theta_0.

(v)

When a>0a>0 and θ>0\theta >0 are unknown, find an LR test of size α\alpha for testing H0:a=θH_0:a=\theta versus H1:a≠θH_1:a\ne \theta.

Remark.
?

Corresponding exercise in Shao (2003): 6.87.

Problem 6.40

Let (X1,…,Xn)(X_1,\ldots ,X_n) and (Y1,…,Yn)(Y_1,\ldots ,Y_n) be independent random samples from N(μ1,1)\mathscr {N}\left(\mu_1, 1\right) and N(μ2,1)\mathscr {N}\left(\mu_2, 1\right), respectively, where −∞<μ2≤μ1<∞-\infty <\mu_2\leq \mu_1<\infty.

?
(i)

Derive the likelihood ratio λ\lambda and an LR test of size α\alpha for H0:μ1=μ2H_0:\mu_1=\mu_2 versus H1:μ1>μ2H_1:\mu_1>\mu_2.

(ii)

Derive the distribution of −2log⁡λ-2\log \lambda and the power of the LR test in (ii).

(iii)

Verify that the LR test in (ii) is a UMPU test.

Problem 6.41

Let Xi1,…,XiniX_{i1},\ldots ,X_{in_i}, i=1,2i=1,2, be two independent random samples from the uniform distributions on (0,θi)(0,\theta_i), i=1,2i=1,2, respectively, where θ1>0\theta_1>0 and θ2>0\theta_2>0 are unknown.

?
(i)

Find an LR test of size α\alpha for testing H0:θ1=θ2H_0:\theta_1=\theta_2 versus H1:θ1≠θ2H_1:\theta_1\neq \theta_2.

(ii)

Derive the limiting distribution of −2log⁡λ-2\log \lambda when n1/n2→κ∈(0,∞)n_1/n_2\to \kappa \in (0,\infty ), where λ\lambda is the likelihood ratio in part (i).

Remark.
?

Corresponding exercise in Shao (2003): 6.89.

Problem 6.42

Let (Xi1,…,Xini)(X_{i1},\ldots ,X_{in_i}), i=1,2i=1,2, be two independent random samples from N(μi,σi2)\mathscr {N}\left(\mu_i, \sigma_i^2\right), i=1,2i=1,2, respectively, where μi\mu_i's and σi2\sigma_i^2's are unknown. For testing H0:σ22/σ12=Δ0H_0:\sigma_2^2/\sigma_1^2=\Delta_0 versus H1:σ22/σ12≠Δ0H_1:\sigma_2^2/\sigma_1^2\ne \Delta_0 with a known Δ0>0\Delta_0>0, derive an LR test of size α\alpha and compare it with the UMPU test.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.90.

Problem 6.43

Let (Xi1,Xi2)(X_{i1},X_{i2}), i=1,…,ni=1,\ldots ,n, be a random sample from the bivariate normal distribution with unknown mean and covariance matrix. For testing H0:ρ=0H_0:\rho =0 versus H1:ρ≠0H_1:\rho \ne 0, where ρ\rho is the correlation coefficient, show that the test rejecting H0H_0 when ∣R∣>c\left|R\right|>c is an LR test, where

R=∑i=1n(Xi1−X‾1)(Xi2−X‾2)∑i=1n(Xi1−X‾1)2+∑i=1n(Xi2−X‾2)2. R=\frac{\sum _{i=1}^n(X_{i1}-\overline{X}_1)(X_{i2}-\overline{X}_2)}{\sum _{i=1}^n(X_{i1}-\overline{X}_1)^2+\sum _{i=1}^n(X_{i2}-\overline{X}_2)^2}.

is the sample correlation coefficient and X‾j\overline{X}_j is the sample mean based on X1j,…,XnjX_{1j},\ldots ,X_{nj}. Discuss the form of the limiting distribution of −2log⁡λ-2\log \lambda, where λ\lambda is the likelihood ratio.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.91.

Problem 6.44

Consider the problem in Exercise 4.63. Find an LR test of size α\alpha for testing H0:θ1=θ2H_0:\theta_1=\theta_2 versus H1:θ1≠θ2H_1:\theta_1\ne \theta_2. Discuss the limiting distribution of −2log⁡λ-2\log \lambda, where λ\lambda is the likelihood ratio.

?
Remark.
?

In Exercise 4.63, (X1,…,Xn)(X_1,\ldots ,X_n) is a random sample with Lebesgue density

fθ1,θ2(x)={(θ1+θ2)−1e−x/θ1,x>0,(θ1+θ2)−1ex/θ2,x≤0, f_{\theta _1,\theta _2}(x)=\begin{cases} (\theta _1+\theta _2)^{-1}e^{-x/\theta _1},& x>0,\\ (\theta _1+\theta _2)^{-1}e^{x/\theta _2},& x\leq 0,\end{cases}

where θ1>0\theta_1>0 and θ2>0\theta_2>0 are unknown.

Problem 6.45

Let X1X_1 and X2X_2 be independent observations from the binomial distributions with sizes n1n_1 and n2n_2 and probabilities p1p_1 and p2p_2, respectively, where nin_i's are known and pip_i's are unknown.

?
(i)

Find an LR test of level α\alpha for testing H0:p1=p2H_0:p_1=p_2 versus H1:p1≠p2H_1:p_1\ne p_2.

(ii)

Find an LR test of level α\alpha for testing H0:p1≥p2H_0:p_1\geq p_2 versus H1:p1<p2H_1:p_1<p_2. Is this test a UMPU test?

Remark.
?

Corresponding exercise in Shao (2003): 6.93.

Problem 6.46

Let X1X_1 and X2X_2 be independently distributed as the exponential distributions on the interval (0,∞)(0,\infty ) with unknown scale parameters θi\theta_i, i=1,2i=1,2, respectively. Define θ=θ1/θ2\theta =\theta_1/\theta_2. Find an LR test of size α\alpha for testing

?
(i)

H0:θ=1H_0:\theta =1 versus H1:θ≠1H_1:\theta \ne 1;

(ii)

H0:θ≤1H_0:\theta \leq 1 versus H1:θ>1H_1:\theta >1.

Remark.
?

Corresponding exercise in Shao (2003): 6.95.

Problem 6.47

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from N(μ,σ2)\mathscr {N}\left(\mu , \sigma^2\right).

?
(i)

Suppose that σ2=γμ2\sigma^2=\gamma \mu^2 with unknown γ>0\gamma >0 and μ∈R\mu \in \mathbb {R}. Find an LR test for testing H0:γ=1H_0:\gamma =1 versus H1:γ≠1H_1:\gamma \neq 1.

(ii)

In the testing problem in (i), find the forms of Wald's test and Rao's score test.

(iii)

Repeat (i) and (ii) when σ2=γμ\sigma^2=\gamma \mu with unknown γ>0\gamma >0 and μ>0\mu >0.

Remark.
?

Corresponding exercise in Shao (2003): 6.98.

Problem 6.48

Suppose that X=(X1,…,Xk)X=(X_1,\ldots ,X_k) has the multinomial distribution with a known size nn and an unknown probability vector (p1,…,pk)(p_1,\ldots ,p_k). Consider the problem of testing H0:(p1,…,pk)=(p01,…,p0k)H_0:(p_1,\ldots ,p_k)=(p_{01},\ldots ,p_{0k}) versus H1:(p1,…,pk)≠(p01,…,p0k)H_1:(p_1,\ldots ,p_k)\neq (p_{01},\ldots ,p_{0k}), where (p01,…,p0k)(p_{01},\ldots ,p_{0k}) is a known probability vector. Find the forms of Wald's test and Rao's score test.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.100.

Problem 6.49

Let AA and BB be two different events in a probability space related to a random experiment. Suppose that nn independent trials of the experiment are carried out and the frequencies of the occurrence of the events are given in the following 2×22\times 2 contingency table:

AAcBX11X12BcX21X22 \begin{array}{c|cc}& A& A^c\\ \hline B& X_{11}& X_{12}\\ B^c& X_{21}& X_{22} \end{array}

Consider testing H0:P(A)=P(B)H_0:\mathbb {P}\left(A\right)=\mathbb {P}\left(B\right) versus H1:P(A)≠P(B)H_1:\mathbb {P}\left(A\right)\ne \mathbb {P}\left(B\right).

?
(i)

Derive the likelihood ratio λ\lambda and the limiting distribution of −2log⁡λ-2\log \lambda under H0H_0.

(ii)

Find the forms of Wald's test and Rao's score test.

Remark.
?

Corresponding exercise in Shao (2003): 6.101.

Problem 6.50

Consider the r×cr\times c contingency table

12⋯c1X11X12⋯X1c2X21X22⋯X2c⋮⋮⋮⋮rXr1Xr2⋯Xrc \begin{array}{c|cccc}& 1& 2& \cdots & c\\ \hline 1& X_{11}& X_{12}& \cdots & X_{1c}\\ 2& X_{21}& X_{22}& \cdots & X_{2c}\\ \vdots & \vdots & \vdots & & \vdots \\ r& X_{r1}& X_{r2}& \cdots & X_{rc} \end{array}

with unknown pij=E[Xij]/np_{ij}=\mathbb {E}\left[X_{ij}\right]/n, where nn is a known positive integer.

?
(i)

Let A1,…,AcA_1,\ldots ,A_c be disjoint events with A1∪⋯∪Ac=ΩA_1\cup \cdots \cup A_c=\Omega (the sample space of a random experiment), and let B1,…,BrB_1,\ldots ,B_r be disjoint events with B1∪⋯∪Br=ΩB_1\cup \cdots \cup B_r=\Omega. Suppose that XijX_{ij} is the frequency of the occurrence of Aj∩BiA_j\cap B_i in nn independent trials of the experiment. Derive the χ2\chi^2 goodness-of-fit test for testing independence of {A1,…,Ac}\left\{ A_1,\ldots ,A_c\right\} and {B1,…,Br}\left\{ B_1,\ldots ,B_r\right\}, i.e.,

H0:pij=pi⋅p⋅jfor all i,jversusH1:pij≠pi⋅p⋅jfor some i,j, \begin{gathered} H_0:p_{ij}=p_{i\cdot }p_{\cdot j}\quad \text{for all }i,j\\ \text{versus}\quad H_1:p_{ij}\ne p_{i\cdot }p_{\cdot j}\quad \text{for some }i,j,\end{gathered}

where pi⋅=P(Bi)p_{i\cdot }=\mathbb {P}\left(B_i\right) and p⋅j=P(Aj)p_{\cdot j}=\mathbb {P}\left(A_j\right), i=1,…,ri=1,\ldots ,r, j=1,…,cj=1,\ldots ,c.

(ii)

Let (X1j,…,Xrj)(X_{1j},\ldots ,X_{rj}), j=1,…,cj=1,\ldots ,c, be independent random vectors having the multinomial distributions with sizes njn_j and unknown probability vectors (p1j,…,prj)(p_{1j},\ldots ,p_{rj}), j=1,…,cj=1,\ldots ,c, respectively. Consider the problem of testing whether cc multinomial distributions are the same, i.e.,

H0:pij=pi1for all i,jversusH1:pij≠pi1for some i,j. \begin{gathered} H_0:p_{ij}=p_{i1}\quad \text{for all }i,j\\ \text{versus}\quad H_1:p_{ij}\ne p_{i1}\quad \text{for some }i,j.\end{gathered}

Show that the χ2\chi^2 goodness-of-fit test is the same as that in (i).

Remark.
?

Corresponding exercise in Shao (2003): 6.102.

Problem 6.51

In Exercise 6.50(i), derive Wald's test and Rao's score test statistics.

?
Remark.
?

In Exercise 6.50(i), A1,…,AcA_1,\ldots ,A_c and B1,…,BrB_1,\ldots ,B_r are two partitions of the sample space. In nn independent trials, XijX_{ij} counts occurrences of Aj∩BiA_j\cap B_i, with probability pijp_{ij}. The null hypothesis is pij=pi⋅p⋅jp_{ij}=p_{i\cdot }p_{\cdot j} for every i,ji,j, where pi⋅=P(Bi)p_{i\cdot }=\mathbb {P}\left(B_i\right) and p⋅j=P(Aj)p_{\cdot j}=\mathbb {P}\left(A_j\right); the alternative is failure of at least one equality. Write X‾i⋅=∑j=1cXij/n\overline{X}_{i\cdot }=\sum_{j=1}^c X_{ij}/n and X‾⋅j=∑i=1rXij/n\overline{X}_{\cdot j}=\sum_{i=1}^r X_{ij}/n.

Corresponding exercise in Shao (2003): 6.103.

Problem 6.52

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample of binary random variables with θ=P(X1=1)\theta =\mathbb {P}\left(X_1=1\right).

?
(i)

Let Π(θ)\Pi (\theta ) be the beta distribution with parameter (a,b)(a,b). When Π\Pi is used as the prior for θ\theta, find the Bayes factor and the Bayes test for H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0.

(ii)

Let π0  1[θ0,∞)(θ)+(1−π0)Π(θ)\pi_0\; \mathbb {1}_{[\theta_0,\infty )}(\theta )+(1-\pi_0)\Pi (\theta ) be the prior cumulative distribution, where Π\Pi is the same as that in (i) and π0∈(0,1)\pi_0\in (0,1) is a constant. Find the Bayes factor and the Bayes test for H0:θ=θ0H_0:\theta =\theta_0 versus H1:θ≠θ0H_1:\theta \ne \theta_0.

Remark.
?

Corresponding exercise in Shao (2003): 6.105.

Problem 6.53

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from a continuous distribution FF on R\mathbb {R}, FnF_n be the empirical distribution, Dn+=sup⁡x∈R[Fn(x)−F(x)]D_n^+=\sup_{x\in \mathbb {R}}[F_n(x)-F(x)], and Dn−=sup⁡x∈R[F(x)−Fn(x)]D_n^-=\sup_{x\in \mathbb {R}}[F(x)-F_n(x)]. Show that Dn−(F)D_n^-(F) and Dn+(F)D_n^+(F) have the same distribution and, for t∈(0,1)t\in (0,1),

P(Dn+(F)≤t)=n!∏i=1n∫max⁡{0,n−i+1n−t}un−i+2du1⋯dun. \mathbb {P}\left(D_n^+(F)\leq t\right)=n!\prod _{i=1}^n\int _{\max \{ 0,\frac{n-i+1}{n}-t\} }^{u_{n-i+2}}du_1\cdots du_n.
?
Remark.
?

The upper endpoint in the displayed iterated integral is understood as un+1=1u_{n+1}=1.

Corresponding exercise in Shao (2003): 6.114.

Problem 6.54

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from a continuous distribution FF on R\mathbb {R}, FnF_n be the empirical distribution, and Cn(F)=∫[Fn(x)−F(x)]2 dF(x)C_n(F)=\int [F_n(x)-F(x)]^2\, dF(x). Show that the distribution of Cn(F)C_n(F) does not vary with FF.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.116.

Problem 6.55

Let θ^n\widehat{\theta }_n be an estimator of a real-valued parameter θ\theta such that Vn−1/2(θ^n−θ)→dN(0,1)V_n^{-1/2}(\widehat{\theta }_n-\theta )\to_d\mathscr {N}\left(0, 1\right) for any θ\theta and let V^n\widehat{V}_n be a consistent estimator of VnV_n. Suppose that Vn→0V_n\to 0.

?
(i)

Show that the test with rejection region V^n−1/2(θ^n−θ0)>zα\widehat{V}_n^{-1/2}(\widehat{\theta }_n-\theta_0)>z_\alpha is a consistent asymptotic level α\alpha test for testing H0:θ≤θ0H_0:\theta \leq \theta_0 versus H1:θ>θ0H_1:\theta >\theta_0, where zαz_\alpha is the (1−α)(1-\alpha )th quantile of N(0,1)\mathscr {N}\left(0, 1\right).

(ii)

Apply the result in (i) to show that the one-sample one-sided t-test for the testing problem in (i) is a consistent asymptotic level α\alpha test.

Remark.
?

Corresponding exercise in Shao (2003): 6.123.

Problem 6.56

Let (X1,…,Xn)(X_1,\ldots ,X_n) be a random sample from the gamma distribution with shape parameter θ\theta and scale parameter γ\gamma, where θ>0\theta >0 and γ>0\gamma >0 are unknown. Let Tn=n∑i=1nXi2/(∑i=1nXi)2T_n=n\sum_{i=1}^n X_i^2/(\sum_{i=1}^n X_i)^2. Show how to use TnT_n to obtain an asymptotic level α\alpha and consistent test for testing H0:θ=1H_0:\theta =1 versus H1:θ≠1H_1:\theta \ne 1.

?
Remark.
?

Corresponding exercise in Shao (2003): 6.124.