# 4.1 Tests about one mean and one variance

 Page 1 / 1
This course is a short series of lectures on Introductory Statistics. Topics covered are listed in the Table of Contents. The notes were prepared by EwaPaszek and Marek Kimmel. The development of this course has been supported by NSF 0203396 grant.

## Tests about one mean and one variance

In the previous paragraphs it was assumed that we were sampling from a normal distribution and the variance was known. The null hypothesis was generally of the form .

There are essentially tree possibilities for the alternative hypothesis, namely that $\mu$ has increased,

• ; $\mu$ has decreased,
• ; $\mu$ has changed, but it is not known if it has increased or decreased, which leads to a two-sided alternative hypothesis
• ${H}_{1};\mu \ne {\mu }_{0}$ .

To test ${H}_{0};\mu ={\mu }_{0}$ against one of these tree alternative hypotheses, a random sample is taken from the distribution, and an observed sample mean, $\overline{x}$ , that is close to ${\mu }_{0}$ supports ${\text{H}}_{\text{0}}$ . The closeness of $\overline{x}$ to ${\mu }_{0}$ is measured in term of standard deviations of $\overline{X}$ , $\sigma /\sqrt{n}$ which is sometimes called the standard error of the mean . Thus the statistic could be defined by

$Z=\frac{\overline{X}-{\mu }_{0}}{\sqrt{\sigma 2}/n}=\frac{\overline{X}-{\mu }_{0}}{\sigma /\sqrt{n}},$ and the critical regions, at a significance level $\alpha$ , for the tree respective alternative hypotheses would be:

• $z\ge {z}_{\alpha }$
• $z\le {z}_{\alpha }$
• $|z|={z}_{\alpha /2}$

In terms of $\overline{x}$ these tree critical regions become

• $\overline{x}\ge {\mu }_{0}+{z}_{\alpha }\sigma /\sqrt{n},$
• $\overline{x}\le {\mu }_{0}-{z}_{\alpha }\sigma /\sqrt{n},$
• $|\overline{x}-{\mu }_{0}|\ge {z}_{\alpha }\sigma /\sqrt{n}$

These tests and critical regions are summarized in TABLE 1 . The underlying assumption is that the distribution is $N\left(\mu ,{\sigma }^{2}\right)$ and ${\sigma }^{2}$ is known. Thus far we have assumed that the variance ${\sigma }^{2}$ was known. We now take a more realistic position and assume that the variance is unknown. Suppose our null hypothesis is ${H}_{0};\mu ={\mu }_{0}$ and the two-sided alternative hypothesis is ${H}_{1};\mu \ne {\mu }_{0}$ . If a random sample ${X}_{1},{X}_{2},...,{X}_{n}$ is taken from a normal distribution $N\left(\mu ,{\sigma }^{2}\right)$ ,let recall that a confidence interval for $\mu$ was based on $T=\frac{\overline{X}-\mu }{\sqrt{{S}^{2}/n}}=\frac{\overline{X}-\mu }{S/\sqrt{n}}.$

Table 1
${H}_{0}$ ${H}_{1}$ Critical Region
$\mu ={\mu }_{0}$ $\mu >{\mu }_{0}$ $z\ge {z}_{\alpha }$ or $\overline{x}\ge {\mu }_{0}+{z}_{\alpha }\sigma /\sqrt{n}$
$\mu ={\mu }_{0}$ $\mu <{\mu }_{0}$ $z\le -{z}_{\alpha }$ or $\overline{x}\le {\mu }_{0}-{z}_{\alpha }\sigma /\sqrt{n}$
$\mu ={\mu }_{0}$ $\mu \ne {\mu }_{0}$ $|z|\ge {z}_{\alpha /2}$ or $|\overline{x}-{\mu }_{0}|\ge {z}_{\alpha /2}\sigma /\sqrt{n}$

This suggests that T might be a good statistic to use for the test ${H}_{0};\mu ={\mu }_{0}$ with $\mu$ replaced by ${\mu }_{0}$ . In addition, it is the natural statistic to use if we replace ${\sigma }^{2}/n$ by its unbiased estimator ${S}^{2}/n$ in $\left(\overline{X}-{\mu }_{0}\right)/\sqrt{{\sigma }^{2}/n}$ in a proper equation. If $\mu ={\mu }_{0}$ we know that T has a t distribution with n -1 degrees of freedom. Thus, with $\mu ={\mu }_{0}$ ,

$P\left[|T|\ge {t}_{\alpha /2}\left(n-1\right)\right]=P\left[\frac{|\overline{X}-{\mu }_{0}|}{S/\sqrt{n}}\ge {t}_{\alpha /2}\left(n-1\right)\right]=\alpha .$

Accordingly, if $\overline{x}$ and s are the sample mean and the sample standard deviation, the rule that rejects ${H}_{0};\mu ={\mu }_{0}$ if and only if $|t|=\frac{|\overline{x}-{\mu }_{0}|}{s/\sqrt{n}}\ge {t}_{\alpha /2}\left(n-1\right).$

Provides the test of the hypothesis with significance level $\alpha$ . It should be noted that this rule is equivalent to rejecting ${H}_{0};\mu ={\mu }_{0}$ if ${\mu }_{0}$ is not in the open $100\left(1-\alpha \right)%$ confidence interval $\left(\overline{x}-{t}_{\alpha /2}\left(n-1\right)s/\sqrt{n},\overline{x}+{t}_{\alpha /2}\left(n-1\right)s/\sqrt{n}\right).$

Table 2 summarizes tests of hypotheses for a single mean, along with the three possible alternative hypotheses, when the underlying distribution is $N\left(\mu ,{\sigma }^{2}\right)$ , ${\sigma }^{2}$ is unknown, $t=\left(\overline{x}-{\mu }_{0}\right)/\left(s/\sqrt{n}\right)$ and $n\le 31$ . If n >31, use table 1 for approximate tests with $\sigma$ replaced by s .

Table 2
${H}_{0}$ ${H}_{1}$ Critical Region
$\mu ={\mu }_{0}$ $\mu >{\mu }_{0}$ $t\ge {t}_{\alpha }\left(n-1\right)$ or $\overline{x}\ge {\mu }_{0}+{t}_{\alpha }\left(n-1\right)s/\sqrt{n}$
$\mu ={\mu }_{0}$ $\mu <{\mu }_{0}$ $t\le -{t}_{\alpha }\left(n-1\right)$ or $\overline{x}\le {\mu }_{0}-{t}_{\alpha }\left(n-1\right)s/\sqrt{n}$
$\mu ={\mu }_{0}$ $\mu \ne {\mu }_{0}$ $|t|\ge {t}_{\alpha /2}\left(n-1\right)$ or $|\overline{x}-{\mu }_{0}|\ge {t}_{\alpha /2}\left(n-1\right)s/\sqrt{n}$

Let X (in millimeters) equal the growth in 15 days of a tumor induced in a mouse. Assume that the distribution of X is $N\left(\mu ,{\sigma }^{2}\right)$ . We shall test the null hypothesis ${H}_{0}:\mu ={\mu }_{0}=4.0$ millimeters against the two-sided alternative hypothesis is ${H}_{1}:\mu \ne 4.0$ . If we use n =9 observations and a significance level of $\alpha$ =0.10, the critical region is $|t|=\frac{|\overline{x}-4.0|}{s/\sqrt{9}}\ge {t}_{\alpha /2}\left(8\right)={t}_{0.05}\left(8\right)=1.860.$

If we are given that n =9, $\overline{x}$ =4.3, and s =1.2, we see that $t=\frac{4.3-4.0}{1.2/\sqrt{9}}=\frac{0.3}{0.4}=0.75.$

Thus $|t|=|0.75|<1.860$ and we accept (do not reject) ${H}_{0}:\mu =4.0$ at the $\alpha$ =10% significance level. See Figure 1 .

In discussing the test of a statistical hypothesis, the word accept might better be replaced by do not reject . That is, in Example 1 , $\overline{x}$ is close enough to 4.0 so that we accept $\mu$ =4.0, we do not want that acceptance to imply that $\mu$ is actually equal to 4.0. We want to say that the data do not deviate enough from $\mu$ =4.0 for us to reject that hypothesis; that is, we do not reject $\mu$ =4.0 with these observed data, With this understanding, one sometimes uses accept and sometimes fail to reject or do not reject , the null hypothesis.

In this example the use of the t -statistic with a one-sided alternative hypothesis will be illustrated.

In attempting to control the strength of the wastes discharged into a nearby river, a paper firm has taken a number of measures. Members of the firm believe that they have reduced the oxygen-consuming power of their wastes from a previous mean $\mu$ of 500. They plan to test ${H}_{0}:\mu =500$ against ${H}_{1}:\mu <500$ , using readings taken on n =25 consecutive days. If these 25 values can be treated as a random sample, then the critical region, for a significance level of $\alpha$ =0.01, is $t=\frac{\overline{x}-500}{s/\sqrt{25}}\le -{t}_{0.01}\left(24\right)=-2.492.$

The observed values of the sample mean and sample standard deviation were $\overline{x}$ =308.8 and s =115.15. Since $t=\frac{308.8-500}{115.15/\sqrt{25}}=-8.30<-2.492,$ we clearly reject the null hypothesis and accept ${H}_{1}:\mu <500$ . It should be noted, however, that although an improvement has been made, there still might exist the question of whether the improvement is adequate. The 95% confidence interval $308.8±2.064\left(115.15/5\right)$ or for $\mu$ might the company answer that question.

how do I set up the problem?
what is a solution set?
Harshika
find the subring of gaussian integers?
Rofiqul
hello, I am happy to help!
Abdullahi
hi mam
Mark
find the value of 2x=32
divide by 2 on each side of the equal sign to solve for x
corri
X=16
Michael
Want to review on complex number 1.What are complex number 2.How to solve complex number problems.
Beyan
yes i wantt to review
Mark
use the y -intercept and slope to sketch the graph of the equation y=6x
how do we prove the quadratic formular
Darius
hello, if you have a question about Algebra 2. I may be able to help. I am an Algebra 2 Teacher
thank you help me with how to prove the quadratic equation
Seidu
may God blessed u for that. Please I want u to help me in sets.
Opoku
what is math number
4
Trista
x-2y+3z=-3 2x-y+z=7 -x+3y-z=6
can you teacch how to solve that🙏
Mark
Solve for the first variable in one of the equations, then substitute the result into the other equation. Point For: (6111,4111,−411)(6111,4111,-411) Equation Form: x=6111,y=4111,z=−411x=6111,y=4111,z=-411
Brenna
(61/11,41/11,−4/11)
Brenna
x=61/11 y=41/11 z=−4/11 x=61/11 y=41/11 z=-4/11
Brenna
Need help solving this problem (2/7)^-2
x+2y-z=7
Sidiki
what is the coefficient of -4×
-1
Shedrak
the operation * is x * y =x + y/ 1+(x × y) show if the operation is commutative if x × y is not equal to -1
An investment account was opened with an initial deposit of $9,600 and earns 7.4% interest, compounded continuously. How much will the account be worth after 15 years? Kala Reply lim x to infinity e^1-e^-1/log(1+x) given eccentricity and a point find the equiation Moses Reply A soccer field is a rectangle 130 meters wide and 110 meters long. The coach asks players to run from one corner to the other corner diagonally across. What is that distance, to the nearest tenths place. Kimberly Reply Jeannette has$5 and \$10 bills in her wallet. The number of fives is three more than six times the number of tens. Let t represent the number of tens. Write an expression for the number of fives.
What is the expressiin for seven less than four times the number of nickels
How do i figure this problem out.
how do you translate this in Algebraic Expressions
why surface tension is zero at critical temperature
Shanjida
I think if critical temperature denote high temperature then a liquid stats boils that time the water stats to evaporate so some moles of h2o to up and due to high temp the bonding break they have low density so it can be a reason
s.
Need to simplify the expresin. 3/7 (x+y)-1/7 (x-1)=
. After 3 months on a diet, Lisa had lost 12% of her original weight. She lost 21 pounds. What was Lisa's original weight?
Got questions? Join the online conversation and get instant answers! By By Cath Yu By OpenStax By OpenStax By OpenStax By Madison Christian By OpenStax By Brooke Delaney By Marriyam Rana By OpenStax