# 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.

what is math number
x-2y+3z=-3 2x-y+z=7 -x+3y-z=6
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 12, 17, 22.... 25th term Alexandra Reply 12, 17, 22.... 25th term Akash College algebra is really hard? Shirleen Reply Absolutely, for me. My problems with math started in First grade...involving a nun Sister Anastasia, bad vision, talking & getting expelled from Catholic school. When it comes to math I just can't focus and all I can hear is our family silverware banging and clanging on the pink Formica table. Carole I'm 13 and I understand it great AJ I am 1 year old but I can do it! 1+1=2 proof very hard for me though. Atone hi Adu Not really they are just easy concepts which can be understood if you have great basics. I am 14 I understood them easily. Vedant hi vedant can u help me with some assignments Solomon find the 15th term of the geometric sequince whose first is 18 and last term of 387 Jerwin Reply I know this work salma The given of f(x=x-2. then what is the value of this f(3) 5f(x+1) virgelyn Reply hmm well what is the answer Abhi If f(x) = x-2 then, f(3) when 5f(x+1) 5((3-2)+1) 5(1+1) 5(2) 10 Augustine how do they get the third part x = (32)5/4 kinnecy Reply make 5/4 into a mixed number, make that a decimal, and then multiply 32 by the decimal 5/4 turns out to be AJ how Sheref can someone help me with some logarithmic and exponential equations. Jeffrey Reply sure. what is your question? ninjadapaul 20/(×-6^2) Salomon okay, so you have 6 raised to the power of 2. what is that part of your answer ninjadapaul I don't understand what the A with approx sign and the boxed x mean ninjadapaul it think it's written 20/(X-6)^2 so it's 20 divided by X-6 squared Salomon I'm not sure why it wrote it the other way Salomon I got X =-6 Salomon ok. so take the square root of both sides, now you have plus or minus the square root of 20= x-6 ninjadapaul oops. ignore that. ninjadapaul so you not have an equal sign anywhere in the original equation? ninjadapaul hmm Abhi is it a question of log Abhi 🤔. Abhi I rally confuse this number And equations too I need exactly help salma But this is not salma it's Faiza live in lousvile Ky I garbage this so I am going collage with JCTC that the of the collage thank you my friends salma Commplementary angles Idrissa Reply hello Sherica im all ears I need to learn Sherica right! what he said ⤴⤴⤴ Tamia hii Uday hi salma hi Ayuba Hello opoku hi Ali greetings from Iran Ali salut. from Algeria Bach hi Nharnhar 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 Gerr Zen By  By By     