Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

Let \(X_{1}, X_{2}, \ldots, X_{n}\) be iid \(N\left(\theta_{1}, \theta_{2}\right) .\) Show that the likelihood ratio principle for testing \(H_{0}: \theta_{2}=\theta_{2}^{\prime}\) specified, and \(\theta_{1}\) unspecified, against \(H_{1}: \theta_{2} \neq \theta_{2}^{\prime}, \theta_{1}\) unspecified, leads to a test that rejects when \(\sum_{1}^{n}\left(x_{i}-\bar{x}\right)^{2} \leq c_{1}\) or \(\sum_{1}^{n}\left(x_{i}-\bar{x}\right)^{2} \geq c_{2}\) where \(c_{1}

Short Answer

Expert verified
The likelihood ratio principle for testing \(H_{0}:\theta_{2}=\theta_{2}^{'}\), \(\theta_{1}\) unspecified against \(H_{1}: \theta_{2} \neq \theta_{2}^{'}\), \(\theta_{1}\) unspecified, can lead to a test that rejects when \(\sum_{1}^{n}\left(x_{i}-\bar{x}\right)^{2} \leq c_{1}\) or \(\sum_{1}^{n}\left(x_{i}-\bar{x}\right)^{2} \geq c_{2}\). This is due to the nature of the likelihood ratio test and the fact that the sum of squares of residuals follows a chi-square distribution under the null hypothesis. The critical values \(c_{1}\) and \(c_{2}\) should be set based on the quantiles of this distribution to maintain a certain Type I Error rate.

Step by step solution

01

Understand and set up the problem

The null hypothesis \(H_{0}\) is that the variance \(\theta_{2} = \theta_{2}^{'}, \theta_{1}\) is unspecified and the alternative hypothesis \(H_{1}\) is \(\theta_{2} \neq \theta_{2}^{'}, \theta_{1}\) is unspecified. The likelihood ratio principle for testing these hypotheses states that the ratio of the likelihood of the observed data under the null hypothesis to the likelihood under the alternate hypothesis is used to decide whether to reject the null hypothesis.
02

Define the likelihood function

The likelihood function for a normal distribution is \(L(\theta_{1}, \theta_{2}) = \frac{1}{(\sqrt{2\pi\theta_{2}})^{n}} e^{-\frac{1}{2\theta_{2}} \sum_{i=1}^{n} (x_{i}-\theta_{1})^{2}}\).\nNext, we need to calculate the log-likelihood function, which simplifies calculations considerably. The log of the likelihood function is given by \(log(L(\theta_{1}, \theta_{2})) = -\frac{n}{2} log(2\pi) - n log(\sqrt{\theta_{2}}) - \frac{1}{2\theta_{2}} \sum_{i=1}^{n} (x_{i}-\theta_{1})^{2}\)
03

The likelihood ratio test statistic (LRT)

The LRT can be expressed as \(-2log(\lambda)\), where \(\lambda = L(\theta_{1}, \theta_{2}^{'} | \mathbb{X}) / L(\theta_{1}, \theta_{2} | \mathbb{X})\). Here, \(\theta_{2}^{'}\) is the hypothesised value under the null, and \( \mathbb{X}\) represents the observed data. After simplifying, this leads: \(-2log(\lambda) = -2[nlog( \sqrt{\theta_{2}}) - nlog( \sqrt{\theta_{2}^{'}}) - \frac{1}{2\theta_{2}} \sum_{i=1}^{n} (x_{i}-\theta_{1})^{2} + \frac{1}{2\theta_{2}^{'}} \sum_{i=1}^{n} (x_{i}-\theta_{1})^{2}] = 2nlog(\frac{\sqrt{\theta_{2}}}{\sqrt{\theta_{2}^{'}}}) - \frac{\sum_{i=1}^{n} (x_{i}-\theta_{1})^{2}}{\theta_{2}} + \frac{\sum_{i=1}^{n} (x_{i}-\theta_{1})^{2}}{\theta_{2}^{'}}\)
04

Expressing the test statistic in terms of the given condition

Notice that \(\sum_{i=1}^{n} (x_{i}-\theta_{1})^{2}\) is the estimate of the variance and can be calculated using the observed data, denoted as \(\sum_{1}^{n}\left(x_{i}-\bar{x}\right)^{2}\). Inserting the estimated value of the variance into the place of our \(\sum_{i=1}^{n} (x_{i}-\theta_{1})^{2}\) in our LRT expression, we wind up at -2log(\(\lambda)\) = \(2nlog(\sqrt{\theta_{2}/\theta_{2}^{'}} + \frac{\sum_{i=1}^{n}(x_{i}-\bar{x})^{2}}{\theta_{2}} - \frac{\sum_{i=1}^{n}(x_{i}-\bar{x})^{2}}{\theta_{2}^{'}}\). Our rejection criterion for \(H_{0}\) can now be expressed as \(c_{1} <= \sum_{i=1}^{n}(x_{i}-\bar{x})^{2} <= c_{2}\).
05

Selection of \(c_{1}\) and \(c_{2}\)

The selection of \(c_{1}\) and \(c_{2}\) should be done such that the probability of Type I error (rejecting \(H_{0}\) when it is true) is controlled at a pre-specified level \(\alpha\). For this exercise, we were asked to demonstrate that such \(c_{1}\) and \(c_{2}\) exist, not to find them. To prove their existence, consider the fact that \(\sum_{i=1}^{n}(x_{i}-\bar{x})^{2}\) follows a chi-square distribution with \(n\) degrees of freedom under the null hypothesis, and we can select the critical values \(c_{1}\) and \(c_{2}\) as the \(\alpha/2\) and \(1-\alpha/2\) quantiles of this distribution, thus controlling the Type I error rate at \(\alpha\).

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with Vaia!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

The effect that a certain drug (Drug A) has on increasing blood pressure is a major concern. It is thought that a modification of the drug (Drug B) will lessen the increase in blood pressure. Let \(\mu_{A}\) and \(\mu_{B}\) be the true mean increases in blood pressure due to Drug \(\mathrm{A}\) and \(\mathrm{B}\), respectively. The hypotheses of interest are \(H_{0}: \mu_{A}=\mu_{B}=0\) versus \(H_{1}: \mu_{A}>\mu_{B}=0 .\) The two-sample \(t\) -test statistic discussed in Example \(8.3 .3\) is to be used to conduct the analysis. The nominal level is set at \(\alpha=0.05\) For the experimental design assume that the sample sizes are the same; i.e., \(m=n .\) Also, based on data from Drug \(A, \sigma=30\) seems to be a reasonable selection for the common standard deviation. Determine the common sample size, so that the difference in means \(\mu_{A}-\mu_{B}=12\) has an \(80 \%\) detection rate. Suppose when the experiment is over, due to patients dropping out, the sample sizes for Drugs \(A\) and \(B\) are respectively \(n=72\) and \(m=68 .\) What was the actual power of the experiment to detect the difference of \(12 ?\)

Suppose that a manufacturing process makes about \(3 \%\) defective items, which is considered satisfactory for this particular product. The managers would like to decrease this to about \(1 \%\) and clearly want to guard against a substantial increase, say to \(5 \%\). To monitor the process, periodically \(n=100\) items are taken and the number \(X\) of defectives counted. Assume that \(X\) is \(b(n=100, p=\theta)\). Based on a sequence \(X_{1}, X_{2}, \ldots, X_{m}, \ldots\), determine a sequential probability ratio test that tests \(H_{0}: \theta=0.01\) against \(H_{1}: \theta=0.05 .\) (Note that \(\theta=0.03\), the present level, is in between these two values.) Write this test in the form $$ h_{0}>\sum_{i=1}^{m}\left(x_{i}-n d\right)>h_{1} $$ and determine \(d, h_{0}\), and \(h_{1}\) if \(\alpha_{a}=\beta_{a}=0.02\).

Show that the likelihood ratio principle leads to the same test when testing a simple hypothesis \(H_{0}\) against an alternative simple hypothesis \(H_{1}\), as that given by the Neyman- Pearson theorem. Note that there are only two points in \(\Omega\).

A random sample \(X_{1}, X_{2}, \ldots, X_{n}\) arises from a distribution given by $$ H_{0}: f(x ; \theta)=\frac{1}{\theta}, \quad 0

Let \(X_{1}, \ldots, X_{n}\) and \(Y_{1}, \ldots, Y_{m}\) follow the location model $$ \begin{aligned} X_{i} &=\theta_{1}+Z_{i}, \quad i=1, \ldots, n \\ Y_{i} &=\theta_{2}+Z_{n+i}, \quad i=1, \ldots, m, \end{aligned} $$ where \(Z_{1}, \ldots, Z_{n+m}\) are iid random variables with common pdf \(f(z) .\) Assume that \(E\left(Z_{i}\right)=0\) and \(\operatorname{Var}\left(Z_{i}\right)=\theta_{3}<\infty\) (a) Show that \(E\left(X_{i}\right)=\theta_{1}, E\left(Y_{i}\right)=\theta_{2}\), and \(\operatorname{Var}\left(X_{i}\right)=\operatorname{Var}\left(Y_{i}\right)=\theta_{3}\). (b) Consider the hypotheses of Example 8.3.1, i.e., $$ H_{0}: \theta_{1}=\theta_{2} \text { versus } H_{1}: \theta_{1} \neq \theta_{2} \text { . } $$ Show that under \(H_{0}\), the test statistic \(T\) given in expression \((8.3 .4)\) has a limiting \(N(0,1)\) distribution. (c) Using part (b), determine the corresponding large sample test (decision rule) of \(H_{0}\) versus \(H_{1}\). (This shows that the test in Example \(8.3 .1\) is asymptotically correct.)

See all solutions

Recommended explanations on Math Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.

Sign-up for free