Professional Documents
Culture Documents
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
One sample (small) -single population.
Consider a population where x is normally distributed with mcan u and standard deviation G.
Let x, x) be a randomLM:
sample obtained from this distribution. We shall denote byx the
sample mean ofN:
and
.2
x = the sample s' =
n-1i=l
There is a difference between sand
In' 2
the divisor is n- 1, which makes it is an unbiased estimator of population variance
or o'. For
T=
which follows a standard normal distribution under the null
Vn
hypothesis.
Let the level of significance be 100(1- a)%. At this level of significance we shall proceed as
follows:
(A) Incase of alternative hypothesis H:p#po, if for the given sanmple the numerical value of
the observed value (statistic) of t greater than the tabulated value we reject null hypothesis,
i.e., if T > Ta.Otherwise, we shall accept the null hypothesis.
2
(B) In case of alternative hypothesis HË:p> owe shall reject the null hypothesis if the
observed value of t on the basis of the sample observations greater than the tabulated value,
i.e.,r > r, .Otherwise, we shall accept the null hypothesis.
2
()In case of alternative hypothesis H1:u < Mo we shall reject the null bypothesis if the
Observed value of t on the basis of the sample observations less than the tabulated value, i.e.,
7<Ta Ort <-T,.Otherwise, we shall accept the null hypothesis.
As regards the problem of interval estimation of 4, it has been shown that the limits
x-Talz X and x+Tai2 X , computed for given sample, are the confidence limits to u
P -Tal2 STal2=l-a
-TainXs(i-)sta/2X=1-a
Vn
P-* -sx-u-xStal2
P-tan -xs-u[Tal2
=1-a
1
X X
i=1
One may be interested in testing a hypothesis regarding o or in estimating, o. A sufficient
n
i=1
i=l i=l
Vn(r-ls
Now, it has been shown that
(n-1)/s'2
Vn(r-)/s,
Which is distributed t with df =n -1, under HÍ. We shall have to compare the value of the
Ia ,n - I
statistic computed from the given sample with or- 0 r t with al2,n -1 ,
according as the alternative of interest isH;:u > o or HËp < o or H1:u # L. This
procedure is called Student's - test
Sum 3: The following are 12 determinations of melting point of a compound (in degrees
Celsius) made by an analyst, the true melting point being 165°C. Would you conclude from
these data that his determinations are free from bias?
164.4, 169.7, 163.9, 162.1, 160.9, 160.8, 161.4, 162.2, 168.5, 163.4, 162.9, 167.7
Solution: The determinations made by the analyst may be said to be unbiased if the mean
determination in the population, that could be obtained if he took an infinite number of
readings, can be supposed to the 165 degrees. We have, therefore, to test the null hypothesis
Ho :å = 165, against all alternatives
HË :u 165
5
Itwill be assumed (a) that the population distribution of determinations is of the normal type
and (b) that the sample observations are random and mutually independent.
Under the assumptions, a test for Ho is provided by the statistic
1= Vn x( X- 165)/s'.
Which have degrees of freedom =n-1
For the given observations,
n= 12
X= 163.992
and s´ = Vn-j2r-x)°=3.0:9
1=..... =-1.149
(ii) s Test:
Wemay have the problem of testing Ho:0 Go or the problem of obtaining confidence limits
to o.
From what has been said above. it is clear that
(n-1)s'
is, under the hypothesis Ho ay' with df= n-1. This provides us with tests for Ho. The value
of this statistic, computed from the given sample, is compared with
2
%an-1 or %´1-a.n- 1, according as the alternative is
H): G>o0 or H;: g<oo. For the alternative, H:0÷00, on the other hand, the computed value is
to be compared with both z'-u2,n-jand 'u2,n-|.Ho being rejected if the computed value is
smaller than the former or exceeds the latter vale.
Sum 2:A firm manufacturing rivets wants to limit variation in their length as much as
possible. The lengths (in cm.) of 10rivets manufactured by a new process are:
2.15, 2.01, 1.99, 1.98, 2.05, 2.03, 2.12, 2.25, 2.17, 1.93
Inthe past, the standard deviation of length of rivets manufactured by the firm has been
seems to be superior 0. 145 cm. Examine whether the new process seems to be superior to the
old.
Solution: Ifo be the standard deviation of length for allrivets manufactured by the new
process, then this nmay be considered superior if g< 0.145
The nullhypothesis is then
Ho:0 =0.145, which is tobe tested against the alternative, H,:0<0.145.
Under the usual assumptions, thetest willbe given by the statistic,
X X
2
(0.1 4 5
Which is, under Ho, a y´ with degrees of freedom (df) = n-1. For the present data,
6
X (1.98
=(2.15 - 2.068)' + (2.01-2.068)' + (1.99- 2.068) +
2.068)' + (2.05- 2.068)' +
(2.03-2.068 )' + (2.12- 2.068)y' + (2.25- 2.068)' + (2.17- 2.068)' + (1.93- 2.068)*
= 0.006724 + 0.003364 + 0.006084 + 0.007744 + 0.000324 + 0.001444 + 0.002704 +
0.033124 +0.010404 + 0.019044 = 0.09096
Where,
2.15+2.01+1.99+1.98+2.05+2.03+2.12+2.25+2.17+1.93 20.68
X= =2.068
10 10
Hence the observed value of the statistic is
i X
(0.1 4 5 )
0.09096 0.09096 0.09096
(0.145) 0.145x 0.145 0.021025 =4.326
Now, the critical values at 1% and 5% levels of
significance are X1-a), n-1 Or X1-0.01), 10-1 Or
Z099,9= 2.088 or X1-a), n-! or X1-0.05), 10-1 Or Xo 95.9 3.325
thus insignificant, the null hypothesis is to be respectively. The observed value is
be superior to the old. accepted; i.e., the new process does not seem to