Beruflich Dokumente
Kultur Dokumente
Learning Objectives
Testing company claims
One and two tail tests
Rejection regions
P values
Experimental data analysis
Terminology
The hypothesis we assume to be true
at the beginning (eg, population mean
equals 9 volts) is called the NULL
HYPOTHESIS, denoted H0.
If the null hypothesis is rejected, then
the other hypothesis we then accept as
true is called the ALTERNATE
HYPOTHESIS, denoted Ha.
Stated BEFORE data is collected!
7
10
Tail Type
The alternate hypothesis defines the
Tail Type of the test:
Ha: < M
Ha: > M
Ha: M
11
Battery Example
In our 9 volt battery example, we had
H0: = 9 volts
Ha: 9 volts
This is therefore a
tail test.
12
13
Defining Rareness
According to the logic of hypothesis
testing, we would REJECT H0 if our
sample mean would be RARE if H0
were true.
The question is, how do we define
rare?
15
Rejection Regions
Uses the (level of significance) of a
confidence interval.
Recall: A (1 )100 percent
confidence interval had
Central area
Equal left and right tail areas of
17
Rejection Regions
Tail area =
/2
Tail area =
/2
Central area
=1-
- Z
- t
Z
t
18
Rejection Regions
Rejection
Rare
Samples
Region
Rejection
Rare
Samples
Region
Common
Samples
- Z
- t
Z
t
19
Rejection Regions
Any sample found to be in the
Rejection Region (RR) is RARE if we
assume H0 is true.
Thus, this gives us sufficient reason to
DOUBT the truth of H0.
We therefore REJECT H0 if we find our sample in the RR.
If our sample is NOT in the RR, we ACCEPT H0.
20
Rejection Regions
Note that the RR was in BOTH tails.
Therefore, what we just did applies to a
TWO TAIL TEST ONLY.
21
22
Area = 1 -
Area =
- Z
- t
23
25
Test Statistic
If is KNOWN, the Test Statistic is the
Z score.
TS t
S/ n
26
Level of Significance
Note that in all of these tests, the area
of the tail, (or, both tails combined) is
Recall (section 5 part 2) that is called
the LEVEL OF SIGNIFICANCE.
In hypothesis testing, we usually
specify the level of significance rather
than the confidence level.
28
Exercise 2: H0:
= 73.1, Ha:
> 73.1.
Population is normal
with
= 12. Sample of
size 14 gives
sample mean of
74.8. Test at 90%
confidence.
32
P Values
A completely separate, yet equivalent
way of determining what is rare.
RR is obtained from .
P values are obtained from the Test
Statistic.
33
P Values
A P value (PV) is the probability of
observing a Test Statistic MORE RARE
than the one obtained for the sample.
More rare means further in the tail.
34
TS
(Z or t)
35
TS
(Z or T)
36
-|TS|
|TS|
37
38
39
P Values for t
In PRINCIPLE, these should be
calculated the same way as for Z.
But, the t table is less precise.
Thus, the best we can do is find a
RANGE for the PV.
Since the t table gives areas to the
right, well use the Right Tail Test as a
basis for all PVs.
44
46
47
Exercise 2: H0:
= 38.3, Ha:
38.3. Population
is normal. Sample
of size 42 gives
mean of 36.2,
S = 9.5. Test the
hypothesis at 10%
significance.
48
UNKNOWN: Use t.
Called the one sample t test.
49
50
ri xi x
52
53
56
58
Example 1
A new diet drug claims that it is
effective in helping people lose weight
(positive weight loss). In order to test
this claim, a sample of 33 people using
the diet was taken and the sample
mean weight loss was found to be 0.37
pounds. Suppose it is known that the
population standard deviation of those
who take the drug is 0.98 pounds. The
data is free of outliers. Test the drug
companys claim at the 5 % level
of
59
Example 2
Healthy adults have a mean blood plasma pH
level of 7.4 pH. A new drug for arthritis has
been developed but one of the potential side
effects is an alteration of blood plasma pH
levels. To see if the drug is dangerous, the
pH of the blood plasma of a random sample
of 29 patients who are on the drug were
recorded in Minitab. Test to see if the drug is
safe at the 10% level of significance.
60
Example 3
A beer bottle filling machine is
supposed to dispense 350 mL of beer
into every bottle. In order to make sure
the machine was working properly, a
random sample of 25 bottles that were
filled by this machine was taken. The
data is recorded in Minitab. Is the
machine working properly? Test at the
1 % level of significance.
61