Skip to content
Probability, Statistics & Linear Programming

Hypothesis Testing

See where the marks are across every paper →

1. Neyman–Pearson lemma and UMP tests

Read this as a chapter →

Lec-22 Neyman Pearson Fundamental Lemma

NPTEL · Statistical Inference

Lec-24 UMP Tests

NPTEL · Statistical Inference

Monotone likelihood ratio ⇒ one-sided UMP; two-sided usually has none.

Neyman–Pearson and UMP tests free

In plain words

Fix how often you wrongly reject a true null, then buy as much power as that allows. For a two-sided alternative there is usually no single best test at all.

Neyman–Pearson lemma

For H0:θ=θ0H_{0}: \theta = \theta_{0} vs H1:θ=θ1(H_{1}: \theta = \theta_{1} (both simple), the most powerful size−α-\alpha test rejects when

L(θ1)/L(θ0)>kL(\theta_{1})/L(\theta_{0}) > k, with k chosen so the size is α\alpha.

From MP to UMP

If the family has monotone likelihood ratio in T (exponential families do), then the one-sided test "reject if T > c" is UMP for H0:θ≤θ0H_{0}: \theta \le \theta_{0} vs H1:θ>θ0H_{1}: \theta > \theta_{0}.

Two-sided alternatives generally admit no UMP test — the best one-sided tests point in opposite directions. One then uses UMP unbiased tests or the likelihood ratio test.

Direction matters

If larger θ\theta makes T smaller, the rejection region flips. For a Gamma(4,λ)(4, \lambda) sample, T=∑XiT = \sum{}X_{i} has 2λT2\lambda{}T ~ χ4n2\chi^{2}_{4n}, and larger λ\lambda shrinks T, so the UMP test for λ>1\lambda > 1 rejects for small T.

Size and power

  • Size = P(reject | H0)H_{0}); power = P(reject | H1)=1−βH_{1}) = 1 - \beta.
  • Power increases with n, with |θ1−θ0\theta_{1} - \theta_{0}|, and with α\alpha.
  • A test with power < size is worse than random (biased test).

Likelihood ratio test

Λ=\Lambda = supΘ0sup_{\Theta_{0}} L/supΘLL / sup_\Theta L; reject for small Λ\Lambda. Under regularity, −2ln⁡Λ→χr2-2 \ln \Lambda \to \chi^{2}_r where r = the number of restricted parameters (Wilks). This is the general-purpose test when no UMP exists.

Key takeaways

  • NP: simple vs simple, likelihood ratio, threshold from the size.
  • MLR ⇒ one-sided UMP; two-sided usually has none.
  • Check whether the statistic increases or decreases with the parameter before writing the rejection region.

Type I against Type II: the trade-off you cannot escapeinteractivefree

Exam focus: NP gives the most powerful test for simple-vs-simple; monotone likelihood ratio upgrades it to UMP for one-sided alternatives. Two-sided alternatives usually have no UMP test.

Practice

Part B2025 Juneshow ▾
Let X1,X2,…,XnX_{1}, X_{2}, \dots, X_{n} be a random sample from a continuous distribution with the common probability density function f(x|θ)=2θθ/\theta) = 2^\theta \theta / xθ+1x^{\theta+1} if x > 2, and 0 otherwise, where θ(>0)\theta (> 0) is an unknown parameter. Suppose P(Y>χm,β2)P(Y > \chi^{2}_{m,\beta}) =β= \beta, where Y ~ χm2\chi^{2}_m. For testing H0:θ=1H_{0} : \theta = 1 against H1:θ>1,aH_{1} : \theta > 1, a uniformly most powerful test of size α,0<α<1\alpha, 0 < \alpha < 1, will reject H0H_{0} if
  1. A.∑i\sum_{i}₌1nln⁡Xi>(1/2)χ2n,α2_{1}^{n} \ln X_{i} > (1/2)\chi^{2}_{2n,\alpha} + n ln 2
  2. B.∑i\sum_{i}₌1nln⁡Xi<(1/2)χ2n,1−α2_{1}^{n} \ln X_{i} < (1/2)\chi^{2}_{2n,1-\alpha} + n ln 2✓ Correct
  3. C.∑i\sum_{i}₌1nln⁡Xi>χn,α2_{1}^{n} \ln X_{i} > \chi^{2}_{n,\alpha} + n ln 2
  4. D.∑i\sum_{i}₌1nln⁡Xi<χn,1−α2_{1}^{n} \ln X_{i} < \chi^{2}_{n,1-\alpha} + n ln 2

The worked solution and the per-option analysis are in Trap Analysis.

Part C2025 Decembershow ▾
Let X1,X2,…,X7X_{1},X_{2},\dots,X_{7} be a random sample drawn from a continuous distribution with unknown unique median M. The null hypothesis H0:M=2H_{0}:M=2 is tested against the alternative H1:M>2H_{1}:M>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?
  1. A.H0H_{0} is rejected
  2. B.The p-value of the test is greater than 0.01✓ Correct
  3. C.Under H0,E(K)=3.5H_{0}, E(K) = 3.5✓ Correct
  4. D.If X(i)X_{(i)} denotes the i-th smallest observation of the sample, then [X(2),X(6)][X_{(2)},X_{(6)}] is a confidence interval for M with confidence coefficient at least 0.95

The worked solution and the per-option analysis are in Trap Analysis.

Part B2024 Decembershow ▾
Let X be a random variable with the probability density function f(x)=2θx+2(1−θ)(1−x)f(x) = 2\theta{}x + 2(1 - \theta)(1 - x) if 0 < x < 1, and 0 otherwise, where θ∈[0,1]\theta \in [0, 1]. Based on single observation x, the critical region of the most powerful test for testing null hypothesis H0:θ=1/2H_{0} : \theta = 1/2 against alternative hypothesis H1:θ=1H_{1} : \theta = 1, at level of significance α=0.25\alpha = 0.25, is
  1. A.x < 1/4
  2. B.x > 3/4✓ Correct
  3. C.1/2 < x < 3/4
  4. D.1/4 < x < 1/2

The worked solution and the per-option analysis are in Trap Analysis.

Part B2024 Decembershow ▾
Suppose φ\varphi is a most powerful test of size 0.05 for testing a simple null hypothesis H0H_{0} against a simple alternative hypothesis H1H_{1}. If the power of the test is 0.4, then which of the following is true?
  1. A.(1−φ)(1 - \varphi) is a most powerful test at level 0.6 for testing H1H_{1} against H0H_{0}.✓ Correct
  2. B.(1−φ)(1 - \varphi) is a most powerful test at level 0.4 for testing H1H_{1} against H0H_{0}.
  3. C.(1−φ)(1 - \varphi) is a most powerful test at level 0.05 for testing H1H_{1} against H0H_{0}.
  4. D.(1−φ)(1 - \varphi) is NOT a most powerful test for testing H1H_{1} against H0H_{0} at any level.

The worked solution and the per-option analysis are in Trap Analysis.

Part B2024 Decembershow ▾
Let X1,X2,…,Xn(n≥2)X_{1}, X_{2}, \dots, X_{n} (n \ge 2) be a random sample from a gamma distribution with shape parameter α>0\alpha > 0 and scale parameter β=1\beta = 1. For a suitable constant C, the rejection region of the most powerful test for testing H0:α=1H_{0} : \alpha = 1 against H1:α=2H_{1} : \alpha = 2 is of the form
  1. A.∏(i=1..n)Xi>C\prod(i=1..n) X_{i} > C✓ Correct
  2. B.∑(i=1..n)Xi>C\sum(i=1..n) X_{i} > C
  3. C.∏(i=1..n)Xi<C\prod(i=1..n) X_{i} < C
  4. D.∑(i=1..n)Xi<C\sum(i=1..n) X_{i} < C

The worked solution and the per-option analysis are in Trap Analysis.

Part B2024 Juneshow ▾
Let X1,X2X_{1}, X_{2} be a random sample from a population having probability density function f ∈ {f0,f1f_{0}, f_{1}} where f0(x)=1/2f_{0}(x) = 1/2 if 0 ≤ x ≤ 2 and 0 otherwise, and f1(x)=1/4f_{1}(x) = 1/4 if 0 ≤ x ≤ 4 and 0 otherwise. For testing the null hypothesis H0:f=f0H_{0} : f = f_{0} against the alternate hypothesis H1:f=f1H_{1} : f = f_{1}, the power of a most powerful test of size α=0.05\alpha = 0.05 is equal to
  1. A.0.4625
  2. B.0.5425
  3. C.0.7625✓ Correct
  4. D.0.6225

The worked solution and the per-option analysis are in Trap Analysis.

Part C2024 Decembershow ▾
The life (in hours) of an electrical component is exponentially distributed with mean θ>0\theta > 0. For testing H0:θ=5/(ln⁡(10)−ln⁡(9))H_{0} : \theta = 5/(\ln(10) - \ln(9)) against H1:θ=5/ln⁡(2)H_{1} : \theta = 5/\ln(2), three such components are chosen at random. Suppose that we reject the null hypothesis H0H_{0} if and only if two or more of these three components survive for less than five hours. Then, which of the following statements are true?
  1. A.The size of the test is 0.01.
  2. B.The power of the test is 0.5.✓ Correct
  3. C.The test is unbiased at level α=0.05\alpha = 0.05.✓ Correct
  4. D.If all of these three components survive for less than five hours, then the p-value of the test is 0.001.✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part C2023 Juneshow ▾
Under H: X ~ p with p(x) = 1/20, and under K: X ~ q with q(x) = x/210, x ∈ {1, …, 20}. Define test functions φ(x)=1\varphi(x) = 1 if x ≤ 2 (else 0) and ψ(x)=1\psi(x) = 1 if x ≥ 19 (else 0). Which of the following statements are true?
  1. A.Size of the test φ\varphi is 0.1.✓ Correct
  2. B.Size of the test ψ\psi is 0.05.
  3. C.(Power of the test ψ)>0.05\psi) > 0.05.✓ Correct
  4. D.(Power of the test ψ)>(\psi) > (Power of the test φ)\varphi).✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part C2023 Decembershow ▾
Let X1,…,X25X_{1}, \dots, X_{25} be i.i.d. Bernoulli(p), X̄ their mean, T1=5(Xˉ−0.5)/Xˉ(1−Xˉ)T_{1} = 5({\bar{X}} - 0.5)/\sqrt{{\bar{X}}(1 - {\bar{X}})} for 0 < X̄ < 1 (±5 at the endpoints) and T2=10(Xˉ−0.5)T_{2} = 10({\bar{X}} - 0.5). For H0:p=0.5H_{0}: p = 0.5 vs H1:p>0.5H_{1}: p > 0.5, test ψi\psi_{i} rejects iff Ti>2T_{i} > 2. If the observed X̄ ∈ (0.5, 0.75), which of the following statements are true?
  1. A.If ψ1\psi_{1} rejects H0H_{0}, then ψ2\psi_{2} also rejects H0H_{0}
  2. B.If ψ1\psi_{1} does not reject H0H_{0}, then ψ2\psi_{2} also does not reject H0H_{0}✓ Correct
  3. C.If ψ2\psi_{2} rejects H0H_{0}, then ψ1\psi_{1} also rejects H0H_{0}✓ Correct
  4. D.If ψ2\psi_{2} does not reject H0H_{0}, then ψ1\psi_{1} also does not reject H0H_{0}

The worked solution and the per-option analysis are in Trap Analysis.

Part C2023 Decembershow ▾
Let X1,…,XnX_{1}, \dots, X_{n} be a random sample from N(μ,1)N(\mu, 1). To test H0:μ=μ0H_{0}: \mu = \mu_{0} against H1:μ>μ0H_{1}: \mu > \mu_{0}, consider (A) reject iff Xˉn>c1{\bar{X}}_{n} > c_{1} with Pμ0(Xn>c1)=αP_{\mu_{0}}(X_{n} > c_{1}) = \alpha, and (B) reject iff Median{X1,…,XnX_{1}, \dots, X_{n}} >c2> c_{2} with Pμ0(MedianP_{\mu_{0}}(Median >c2)=α> c_{2}) = \alpha. Which of the following statements are true?
  1. A.The test in (A) is the uniformly most powerful test of size α\alpha✓ Correct
  2. B.The test in (B) is the uniformly most powerful test of size α\alpha
  3. C.Pμ(Xˉn>c1)→1P_\mu({\bar{X}}_{n} > c_{1}) \to 1 as n→∞n \to \infty for all μ>μ0\mu > \mu_{0}✓ Correct
  4. D.Pμ0(MedianP_{\mu_{0}}(Median{X1,…,XnX_{1}, \dots, X_{n}} >μ0)=1/2> \mu_{0}) = 1/2✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part B2023 Decembershow ▾
Let X1,…,X6X_{1}, \dots, X_{6} be a random sample from the gamma density f(x|λ)=(λ4/6)\lambda) = (\lambda^{4}/6) e−λxe^{-\lambda{}x} x3x^{3} for x>0,λ>0x > 0, \lambda > 0 unknown. Let T=∑XiT = \sum{}X_{i} and ψ\psi be the UMP test of size 0.05 for H0:λ=1H_{0}: \lambda = 1 against H1:λ>1H_{1}: \lambda > 1. With χν,α2\chi^{2}_{\nu,\alpha} the (1−α)−(1 - \alpha)-th quantile of χν2\chi^{2}_\nu, the test ψ\psi rejects H0H_{0} iff
  1. A.T ≥ ½ χ48,0.052\chi^{2}_{48, 0.05}
  2. B.T ≤ ½ χ48,0.952\chi^{2}_{48, 0.95}✓ Correct
  3. C.T ≥ ½ χ24,0.052\chi^{2}_{24, 0.05}
  4. D.T ≤ ½ χ24,0.952\chi^{2}_{24, 0.95}

The worked solution and the per-option analysis are in Trap Analysis.

Part Cshow ▾
For testing H0:θ=θ0H_{0} : \theta = \theta_{0} against H1:θ=θ1H_{1} : \theta = \theta_{1} at level α\alpha, which of the following are true?
  1. A.The Neyman–Pearson likelihood-ratio test is most powerful among all tests of its level.✓ Correct
  2. B.Enlarging α\alpha cannot decrease the power of the best level−α-\alpha test.✓ Correct
  3. C.The p-value is the probability that H0H_{0} is true given the observed data.
  4. D.In a one-parameter family with monotone likelihood ratio, the one-sided test is UMP against the one-sided composite alternative.✓ Correct

Solution

(1) is the Neyman–Pearson lemma.

(2) A larger α\alpha admits more rejection regions, and the optimum over a larger class is no worse.

(3) is the classic misreading — the p-value is computed assuming H0H_{0} and is not a posterior probability of H0H_{0}.

(4) is the Karlin–Rubin theorem.

Save for spaced revision (free account)
Part Bshow ▾
In hypothesis testing, a Type I error is
  1. A.rejecting H0H_{0} when H0H_{0} is true✓ Correct
  2. B.accepting H0H_{0} when H0H_{0} is false
  3. C.rejecting H1H_{1} when H1H_{1} is true
  4. D.any error whose probability exceeds 0.05

The worked solution and the per-option analysis are in Trap Analysis.

2. Likelihood ratio and standard tests

Read this as a chapter →

Lec-31 Likelihood Ratio Tests - I

NPTEL · Statistical Inference

Lec-36 Test for Goodness of Fit

NPTEL · Statistical Inference

Lec-39 Confidence Intervals

NPTEL · Statistical Inference

Watch the quantile convention — that is where marks are lost.

Standard tests and confidence intervals free

In plain words

Compare the best fit the null allows with the best fit available overall. Twice the negative logarithm behaves like a chi-square, with degrees of freedom counting the restrictions imposed.

Which test

Situation Statistic Distribution
One mean, σ\sigma known (Xˉ−μ)/(σ/n)({\bar{X}} - \mu)/(\sigma/\sqrt{n}) N(0,1)
One mean, σ\sigma unknown (Xˉ−μ)/(S/n)({\bar{X}} - \mu)/(S/\sqrt{n}) tn−1t_{n-1}
Two means, equal variances pooled t tn1+n2−2t_{n_{1}+n_{2}-2}
Paired data t on differences tn−1t_{n-1}
One variance (n−1)S2/σ2(n-1)S^{2}/\sigma^{2} χn−12\chi^{2}_{n-1}
Two variances S12/S22S_{1}^{2}/S_{2}^{2} Fn1−1,n2−1F_{n_{1}-1, n_{2}-1}
Goodness of fit ∑(O−E)2/E\sum(O-E)^{2}/E χk−1−p2\chi^{2}_{k-1-p}
Independence in an r × c table same χ(r−1)(c−1)2\chi^{2}_{(r-1)(c-1)}
ANOVA MS_between/MS_within Fk−1,N−kF_{k-1, N-k}

Confidence intervals

Two-sided 100(1−α)100(1-\alpha)%: X̄ ± tn−1,α/2⋅S/nt_{n-1, \alpha/2}\cdot{}S/\sqrt{n}.

The quantile trap. If tm,αt_{m,\alpha} denotes the (1−α)−(1-\alpha)-th quantile, then tn−1,0.9t_{n-1,0.9} is the 10th percentile (negative). So −(Xˉ−(S/n)tn−1,0.05- ({\bar{X}} - (S/\sqrt{n})t_{n-1,0.05}, Xˉ+(S/n)tn−1,0.05){\bar{X}} + (S/\sqrt{n})t_{n-1,0.05}) is a 90% two-sided interval; −(−∞,Xˉ−(S/n)tn−1,0.9)- (-\infty, {\bar{X}} - (S/\sqrt{n})t_{n-1,0.9}) is a 90% one-sided interval; −[Xˉ−(S/n)tn−1,0.9- [{\bar{X}} - (S/\sqrt{n})t_{n-1,0.9}, ∞)\infty) is only a 10% interval.

Read the quantile convention in the question before choosing.

Nonparametric tests

Test Use
Sign test median
Wilcoxon signed rank symmetric location
Mann–Whitney U two samples
Wald–Wolfowitz runs two samples, any difference
Kolmogorov–Smirnov sup|Fn−F0F_{n} - F_{0}|, scaled by n\sqrt{n}

Runs distribution (m X's, n Y's): P(R = 2k) = 2C(m−1,k−1)C(n−1,k−1)/C(m+n,m); the odd case adds the two mixed terms.

Glivenko–Cantelli: sup|Fn−FF_{n} - F| → 0 a.s. So n⋅sup⁡\sqrt{n}\cdot{}\sup converges (Kolmogorov limit), and n⋅sup⁡→∞n\cdot{}\sup \to \infty.

Key takeaways

−σ- \sigma known ⇒z;σ\Rightarrow z; \sigma unknown ⇒ t with n − 1 degrees of freedom.

  • One-sided intervals use the other tail — check the quantile convention.
  • KS scales as n\sqrt{n}; multiplying by n diverges.

What 95% confidence actually meansinteractive

This visual is part of Trap Analysis

Forty samples, forty intervals, and a count of how many cover the truth — the misconception this kills is worth several marks.

Unlock interactive visuals

Exam focus: Match the situation to the test and remember the degrees of freedom. For confidence intervals, watch whether the quantile is upper or lower and whether σ is known.

Practice

Part B2025 Decembershow ▾
Let X1X_{1} and X2X_{2} be a random sample from Uniform[0,θ][0,\theta] distribution, where θ>0\theta > 0. For testing the hypothesis H0:θ=1H_{0}: \theta=1 against H1:θ=2H_{1}: \theta=2, consider a test which rejects H0H_{0} if X1+X2>4/5X_{1}+X_{2} > 4/5. Then, the probability of type-I error is
  1. A.8/25
  2. B.13/25
  3. C.17/25✓ Correct
  4. D.22/25

The worked solution and the per-option analysis are in Trap Analysis.

Part C2025 Juneshow ▾
Let (X1,X2,…,X7)(X_{1}, X_{2}, \dots, X_{7}) and (Y1,Y2,…,Y9)(Y_{1}, Y_{2}, \dots, Y_{9}) be two independent random samples from the continuous distribution functions F(x−μ)F(x - \mu) and F(x−θ)F(x - \theta), respectively, where F,μF, \mu and θ\theta are all unknown. Further, let μ\mu be the unique median of F(x−μ)F(x - \mu) and θ\theta be the unique median of F(x−θ)F(x - \theta). Let RiR_{i} be the rank of YiY_{i} in the combined sample, i = 1, 2, …, 9. For testing H0:μ=θH_{0} : \mu = \theta against H1:μ>θH_{1} : \mu > \theta, the test statistic T=∑iT = \sum_{i}₌19Ri_{1}^{9} R_{i} is proposed. Then, which of the following statements are true?
  1. A.The maximum possible value of T is 115
  2. B.Right-tailed test based on T is appropriate for testing H0H_{0} against H1H_{1}
  3. C.Under H0,E(T)=76H_{0}, E(T) = 76
  4. D.Under H0,P(R1=1,R9=16)=1/240H_{0}, P(R_{1} = 1, R_{9} = 16) = 1/240✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part C2025 Decembershow ▾
Let X1,X2,…,X15X_{1}, X_{2}, \dots, X_{15} be a random sample from an Exponential distribution with the probability density function f(x∣σ)=(1/σ)exp⁡(−x/σ)\sigma) = (1/\sigma)\exp(-x/\sigma) if x>0, 0 elsewhere, where the unknown parameter σ\sigma is positive. Let Xˉ=(1/15)∑115Xi{\bar{X}} = (1/15)\sum_{1}^{15}X_{i}. Suppose that φ\varphi denotes the likelihood ratio test for testing H0:σ≤1H_{0}: \sigma\le1 against H1:σ>1H_{1}: \sigma>1 at level α=0.1\alpha=0.1. It is given that χ152,0.1=22.307,χ152,0.9=8.547,χ302,0.1=40.256,χ302,0.9=20.599\chi^{2}_{15},_{0}._{1}=22.307, \chi^{2}_{15},_{0}._{9}=8.547, \chi^{2}_{30},_{0}._{1}=40.256, \chi^{2}_{30},_{0}._{9}=20.599, where P(W>χn2,a)=αP(W>\chi^{2}_{n},_{a})=\alpha and W~χn2\chi^{2}_{n}. Then which of the following statements are true?
  1. A.If the observed value of X̄ is 0.6, then φ\varphi does not reject H0H_{0}✓ Correct
  2. B.If the observed value of X̄ is 1.6, then φ\varphi rejects H0H_{0}✓ Correct
  3. C.If the observed value of X̄ is 1.3, then φ\varphi rejects H0H_{0}
  4. D.If the observed value of X̄ is 1.2, then φ\varphi does not reject H0H_{0}✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part C2025 Juneshow ▾
Let X be a random sample of size one from the probability density function f(x|θ)=\theta) = θe−θ(x−1)\theta{}e^{-\theta(x-1)} if x > 1, and 0 otherwise, where θ(>0)\theta (> 0) is the unknown parameter. Suppose we want to test the null hypothesis H0:θ=1H_{0} : \theta = 1 against the alternative hypothesis H1:θ≠1H_{1} : \theta \ne 1, based on the observed value x of X. Then, which of the following statements are true?
  1. A.The likelihood function is maximized at θ=1/(x−1)\theta = 1/(x - 1)✓ Correct
  2. B.The maximum value of the likelihood function is e−1/(xe^{-1}/(x − 1)✓ Correct
  3. C.The likelihood ratio test for testing H0H_{0} against H1H_{1} rejects H0H_{0} if (x − 1)e−x1)e^{-x} < k, for some k > 0✓ Correct
  4. D.The likelihood ratio test for testing H0H_{0} against H1H_{1} rejects H0H_{0} if x > c, for some c > 1

The worked solution and the per-option analysis are in Trap Analysis.

Part C2024 Juneshow ▾
Observations on the shear strength of concrete from 5 randomly selected structures are given below — structure 1, 2, 3, 4, 5 with shear strength 1718.4, 1787.4, 2562.3, 2356.9, 2153.2 respectively. The null hypothesis H0H_{0} that the median shear strength is 2000 units is tested against the alternative hypothesis H1H_{1} that the median shear strength is greater than 2000 units at 5% level of significance. Which of the following statements are true?
  1. A.p-value of the sign test is 0.04
  2. B.H0H_{0} is NOT rejected at 5% level of significance by the sign test✓ Correct
  3. C.The observed value of Wilcoxon signed rank test statistic W⁺ is equal to 10✓ Correct
  4. D.If P(H0)(WP_(H_{0})(W⁺ ≥ 14) = 0.06, then H0H_{0} is rejected at 5% level of significance by the Wilcoxon signed rank test

The worked solution and the per-option analysis are in Trap Analysis.

Part C2024 Decembershow ▾
Let (X1,Y1),(X2,Y2),…,(Xn,Yn)(X_{1}, Y_{1}), (X_{2}, Y_{2}), \dots, (X_{n}, Y_{n}) be a random sample of size n from a bivariate distribution F(X,Y) with absolutely continuous marginal distribution functions F_X and F_Y of X and Y, respectively. Let r_S be the Spearman's rank correlation coefficient defined with ranks of XiX_{i} and ranks of Yi,i=1,2,…,nY_{i}, i = 1, 2, \dots, n. Then, which of the following statements are true?
  1. A.If F(X,Y)(x, y) = F_X(x)F_Y(y), ∀(x, y), then E(r_S) = 0, ∀n ≥ 2.✓ Correct
  2. B.If n = 3, then P(r_S = 0) = 0.✓ Correct
  3. C.If F(X,Y)(x, y) = F_X(x)F_Y(y), ∀(x, y), then Var(r_S) = 1/n, ∀n ≥ 2.
  4. D.If n = 4 and F(X,Y)(x, y) = F_X(x)F_Y(y), ∀(x, y), then P(r_S = 0) = 1/24.

The worked solution and the per-option analysis are in Trap Analysis.

Part B2024 Decembershow ▾
Let X1,X2,…,X5X_{1}, X_{2}, \dots, X_{5} be a random sample of size 5 from an absolutely continuous distribution having median M. Let S denote the number of Xi′sX_{i}'s greater than 0. For testing H0:M=0H_{0} : M = 0 against H1:M>0H_{1} : M > 0, let φ(X)=1\varphi(X) = 1 if S>c,νS > c, \nu if S = c, and 0 if S < c be a test of size α=0.05\alpha = 0.05, where ν∈[0,1]\nu \in [0, 1] and c ∈ {−1, 0, …, 5} are fixed constants. Then c+νc + \nu equals
  1. A.11/25
  2. B.49/6
  3. C.103/25✓ Correct
  4. D.53/6

The worked solution and the per-option analysis are in Trap Analysis.

Part C2024 Juneshow ▾
Consider a six faced die whose i-th face is marked with i dots, i = 1, 2, …, 6. In a single random throw of the die, let pip_{i} denote the probability that the obtained upper face has i dots, i = 1, 2, …, 6. The die is rolled 240 times independently and the following result is obtained — face observed 1, 2, 3, 4, 5, 6 with frequencies 40, 55, 40, 25, 35, 45 respectively. Suppose we want to test H0:pi=1/6H_{0} : p_{i} = 1/6 for i = 1, 2, …, 6; against H1:pi≠1/6H_{1} : p_{i} \ne 1/6 for at least one i. It is given that χ52;0.05=11.07,χ62;0.05=12.59,χ52;0.01=15.09,χ62;0.01=16.81\chi^{2}_{5};_{0}._{05} = 11.07, \chi^{2}_{6};_{0}._{05} = 12.59, \chi^{2}_{5};_{0}._{01} = 15.09, \chi^{2}_{6};_{0}._{01} = 16.81. Based on the asymptotic goodness of fit χ2\chi^{2} test for testing H0H_{0} against H1H_{1}, which of the following statements are true?
  1. A.H0H_{0} is rejected at 5% level of significance✓ Correct
  2. B.H0H_{0} is rejected at 1% level of significance
  3. C.H0H_{0} is not rejected at 5% level of significance
  4. D.Observed value of the test statistic is 12.5✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part C2024 Decembershow ▾
Let X1,X2,X3X_{1}, X_{2}, X_{3} be a random sample from Uniform[0,θ][0, \theta] distribution, θ>0\theta > 0. Consider the likelihood ratio test of size 0.001 for testing H0:θ=3H_{0} : \theta = 3 against H1:θ≠3H_{1} : \theta \ne 3. Then, which of the following statements are true?
  1. A.If max{X1,X2,X3X_{1}, X_{2}, X_{3}} is 3.1, then H0H_{0} is rejected.✓ Correct
  2. B.If max{X1,X2,X3X_{1}, X_{2}, X_{3}} is 1.3, then H0H_{0} is rejected.
  3. C.If max{X1,X2,X3X_{1}, X_{2}, X_{3}} is 0.1, then H0H_{0} is rejected.✓ Correct
  4. D.The power of the test at θ=0.3\theta = 0.3 is 1.✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part C2024 Decembershow ▾
Let X1,X2,X3X_{1}, X_{2}, X_{3} be a random sample of size 3 from an absolutely continuous distribution that is symmetric about 0. For i = 1, 2, 3, let RiR_{i} denote the rank of |XiX_{i}| among |X1X_{1}|, |X2X_{2}| and |X3X_{3}|. If T⁺ =∑(i:Xi>0)Ri= \sum(i : X_{i}>0) R_{i} is the Wilcoxon signed-rank statistic, then which of the following statements are true?
  1. A.P(T⁺ = 3) = 1/4✓ Correct
  2. B.Var(T⁺) = 7/2✓ Correct
  3. C.P(T⁺ > 3) = 5/8
  4. D.P(T⁺ > 4) = 1/8

The worked solution and the per-option analysis are in Trap Analysis.

Part C2024 Decembershow ▾
Let X1,X2,…,XmX_{1}, X_{2}, \dots, X_m and Y1,Y2,…,YnY_{1}, Y_{2}, \dots, Y_{n} be two mutually independent random samples from populations with absolutely continuous distribution functions F_X and F_Y, respectively. For N = m + n, define TN=∑(i=1..N)T_N = \sum(i=1..N) iZi_{i} where Zi=1Z_{i} = 1 if the i-th observation in the combined ordered arrangement of N observations is from F_X; and Zi=0Z_{i} = 0, otherwise. Then, which of the following statements are true?
  1. A.If F_X(x) = F_Y(x) ∀x, then E(T_N) = m(N + 1)/2.✓ Correct
  2. B.If F_X(x) = F_Y(x) ∀x, then Var(T_N) = mn(N + 1)/24.
  3. C.If F_X(x) = F_Y(x) ∀x, then the distribution of T_N is symmetric about mn/2.
  4. D.The minimum and maximum possible values of T_N are m(m + 1)/2 and N(N + 1)/2 − m(m + 1)/2, respectively.

The worked solution and the per-option analysis are in Trap Analysis.

Part C2023 Decembershow ▾
Let X1,…,XnX_{1}, \dots, X_{n} be a random sample from an unknown absolutely continuous CDF F, and F0aF_{0} a specified absolutely continuous CDF. For H0:F=F0H_{0}: F = F_{0} vs H1:F≠F0H_{1}: F \ne F_{0}, consider T1,nT_{1,n} = sup_x |Fn(x)−F0(x)F_{n}(x) - F_{0}(x)| and T2,nT_{2,n} = n·sup_x |Fn(x)−F0(x)F_{n}(x) - F_{0}(x)|, where FnF_{n} is the empirical CDF. Which of the following statements are true?
  1. A.T1,nT_{1,n} → 0 in probability as n→∞n \to \infty under H0H_{0}✓ Correct
  2. B.T2,nT_{2,n} → 0 in probability as n→∞n \to \infty under H0H_{0}
  3. C.lim P_F(T2,nT_{2,n} > 1) = 1 for all F✓ Correct
  4. D.T2,nT_{2,n} converges in distribution to a degenerate random variable under H0H_{0}

The worked solution and the per-option analysis are in Trap Analysis.

Part B2023 Juneshow ▾
Let X1,…,X7X_{1}, \dots, X_{7} and Y1,…,Y9Y_{1}, \dots, Y_{9} be independent random samples from continuous CDFs F and G. For the Wald–Wolfowitz run test of H0:F=GH_{0}: F = G vs H1:F≠GH_{1}: F \ne G, let R be the total number of runs in the combined ordered arrangement. Which of the following is true?
  1. A.PH0(RP_{H_{0}}(R = 6) = 28/286, PH0(RP_{H_{0}}(R = 9) = 28/143.
  2. B.PH0(RP_{H_{0}}(R = 6) = 21/286, PH0(RP_{H_{0}}(R = 9) = 15/286.
  3. C.PH0(RP_{H_{0}}(R = 6) = 21/286, PH0(RP_{H_{0}}(R = 9) = 28/143.✓ Correct
  4. D.PH0(RP_{H_{0}}(R = 6) = 21/286, PH0(RP_{H_{0}}(R = 9) = 15/286.

The worked solution and the per-option analysis are in Trap Analysis.

Part C2023 Decembershow ▾
For n ≥ 2, let X1,…,XnX_{1}, \dots, X_{n} be from N(μ,σ2)N(\mu, \sigma^{2}) with both unknown, X̄ the mean and S2S^{2} the sample variance. With zαz_\alpha and tm,αt_{m,\alpha} the (1−α)−(1 - \alpha)-th quantiles, which of the following represent 90% confidence intervals for μ\mu?
  1. A.(Xˉ−(S/n)({\bar{X}} - (S/\sqrt{n}) tn−1,0.05t_{n-1,0.05}, Xˉ+(S/n){\bar{X}} + (S/\sqrt{n}) tn−1,0.05)t_{n-1,0.05})✓ Correct
  2. B.(Xˉ−(σ/n)({\bar{X}} - (\sigma/\sqrt{n}) z0.05z_{0.05}, Xˉ+(σ/n){\bar{X}} + (\sigma/\sqrt{n}) z0.05)z_{0.05})
  3. C.[Xˉ−(S/n)[{\bar{X}} - (S/\sqrt{n}) tn−1,0.9t_{n-1,0.9}, ∞)\infty)
  4. D.(−∞,Xˉ−(S/n)(-\infty, {\bar{X}} - (S/\sqrt{n}) tn−1,0.9)t_{n-1,0.9})✓ Correct

The worked solution and the per-option analysis are in Trap Analysis.

Part Cshow ▾
Let X1,…,XnX_{1}, \dots, X_{n} be i.i.d.N(μ,σ2)i.i.d. N(\mu, \sigma^{2}), both parameters unknown, with sample mean X̄ and sample variance S2S^{2}. Which of the following are true?
  1. A.n(Xˉ−μ)/S\sqrt{n}({\bar{X}} - \mu)/S has a t-distribution with n − 1 degrees of freedom.✓ Correct
  2. B.(n−1)S2/σ2(n - 1)S^{2}/\sigma^{2} has a chi-squared distribution with n − 1 degrees of freedom.✓ Correct
  3. C.X̄ and S2S^{2} are independent.✓ Correct
  4. D.All three of the above hold for i.i.d. samples from any distribution with finite variance.

The worked solution and the per-option analysis are in Trap Analysis.

Part Bshow ▾
A 95% confidence interval for a normal mean with known σ\sigma has width proportional to σ/n\sigma/\sqrt{n}. To halve the width, the sample size must be
  1. A.doubled
  2. B.quadrupled✓ Correct
  3. C.halved
  4. D.increased by 50%

Solution

Width ∝ 1/n1/\sqrt{n}, so halving it needs n\sqrt{n} to double, i.e. n to quadruple — the square-root law that makes extra precision expensive.

Save for spaced revision (free account)