Testing of Hypothesis
Testing of Hypothesis
and
3. Testing of Hypothesis about Two Population
Means …
Test statistic to be used
t ()
t ()
3. Testing of Hypothesis about Two Population
Means …
Example 4: A random sample of size n1 = 25, taken from a normal population with a
standard deviation σ1 =5 .2, has a mean = 81. A second random sample of size n2 = 36,
taken from a different normal population with a standard deviation σ2 =3 .4, has a mean
= 76. Test the hypothesis that μ1 = μ2 against the alternative, μ1
μ2.
3. Testing of Hypothesis about Two Population
Means …
Example 5: A manufacturer claims that the average tensile strength of thread A
exceeds the average tensile strength of thread B by at least 12 kilograms. To test this
claim, 50 pieces of each type of thread were tested under similar conditions. Type A
thread had an average tensile strength of 86.7 kilograms with a standard deviation of
6.28 kilograms, while type B thread had an average tensile strength of 77.8 kilograms
with a standard deviation of 5.61 kilograms. Test the manufacturer’s claim using a 0.05
level of significance.
3. Testing of Hypothesis about Two Population
Means …
Example 6: A study was conducted to see if increasing the substrate concentration has
an appreciable effect on the velocity of a chemical reaction. With a substrate
concentration of 1.5 moles per liter, the reaction was run 15 times, with an average
velocity of 7.5 micromoles per 30 minutes and a standard deviation of 1.5. With a
substrate concentration of 2.0 moles per liter, 12 runs were made, yielding an average
velocity of 8.8 micromoles per 30 minutes and a sample standard deviation of 1.2. Is
there any reason to believe that this increase in substrate concentration causes an
increase in the mean velocity of the reaction of more than 0.5 micromole per 30
minutes? Use a 0.01 level of significance and assume the populations to be
approximately normally distributed with equal variances.
3. Testing of Hypothesis about Two Population
Means …
Example 7: Five samples of a ferrous-type substance were used to determine if there is
a difference between a laboratory chemical analysis and an X-ray fluorescence analysis
of the iron content. Each sample was split into two subsamples and the two types of
analysis were applied. Following are the coded data showing the iron content analysis:
Sample
Analysis 1 2 3 4 5
X-ray 2.0 2.0 2.3 2.1 2.4
Chemical 2.2 1.9 2.5 2.3 2.4
Assuming that the populations are normal, test at the 0.05 level of significance whether
the two methods of analysis give, on the average, the same result.
4. Testing of Hypothesis about Population
Proportion
Applicable to situations that do not ask for the mean but rather to know what percentage of
the population is in favour of a certain idea or concept such as:
Will a new product be a success or not?
Will this certain candidate win or not?
4. Testing of Hypothesis about Population
Proportion
Test-statistic to be used
Binomial variable X with p = p0 (preferably, when sample size is small)
P = P(X ≤ x when p = p0) (H1: <)
P = P(X ≥ x when p = p0) (H1: >)
P =2P(X ≤ x when p = p0) if x < npo (H1: )
P =2P(X ≥ x when p = p0) if x > npo (H1: )
pˆ p0
z0
p0 (1 p0 )
n