Cha 3
Cha 3
Non-rejection
Region or do not reject H0 Rejection region
Scale of Z
0 1.6 45
Initial Value
The above chart portrays the rejection region for a test of significance. The level of significance
selected is 0.05.
1. The area where the null hypothesis is not rejected includes the area to the left of 1.645
2. The area of rejection is to the right of 1.645
3. A one – tailed test is being applied /will be discussed latter on/
4. The 0.05 level of significant was chosen
5. The sampling distribution is for the test statistic Z, the standard normal deviate.
6. The value 1.645 separates the regions where the null hypothesis is rejected and where it is
not rejected
7. The value 1.645 is called the critical value. It is the corresponding value of the test statistic
for the selected level of significance i.e. Z value at the 0.05 level of significance is 1.645.
Critical value: The dividing point between the region where the null hypothesis is rejected and
the region where it is not rejected.
Steps 5: Make a decision
At this step a decision is made to reject or not to reject the null hypothesis. For the above chart, if
based on sample data or information, Z is computed be 2.34 the null hypothesis is rejected at the
0.05 level of significance.
The decision to reject Ho is made because 2.34 lies in the region of rejection that is beyond
1.645. We would reject the null hypothesis reasoning that it is highly improbable that a
computed Z value this large is due to sampling variation or chance. Had the computed value
been 1.645 or less say 0.71 then Ho would not be rejected. It would be reasoned that such a small
computed value could be attributed to chance that is sampling variation.
3.3. Type I and type II errors (concepts)
The following are two types of errors in a hypothesis test.
A. Type I error. A Type I error occurs when the researcher rejects a null hypothesis when
it is true. The probability of committing a Type I error is called the significance level.
This probability is also called alpha, and is often denoted by α.
B. Type II error. A Type II error occurs when the researcher fails to reject a null
hypothesis that is false. The probability of committing a Type II error is called Beta,
and is often denoted by β. The probability of not committing a Type II error is called
the Power of the test.
The following table shows the decision the researcher could make and the possible
consequences.
Null Hypothesis The researcher The Researcher
does not reject Ho rejects Ho
If Ho is true Correct decision Type I error
Non-rejection
Rejection region Region or do not reject H0
0.95 Probability
Z
-1.6 45 0
0.05 Probability 0.95 Probability
Initial Value
Example-1: Consider companies purchase larger quantities of tyre. Suppose they want the tires
to an average mileage of 40,000 Km of wear under normal usage. They will therefore reject a
shipment of tires if accelerated - life test reveal that the life of the tires is significantly below
40,000 Km on the average. The purchasers gladly accept a shipment if the mean life is greater
than 40,000 Kms, they are not concerned with this possibility.
They are only concerned if they have sample evidence to conclude that the tires will average less
than 40,000 Kms of useful life.
Thus the test is set up to satisfy the concern of the companies that the mean life of the tires is less
than 40,000Km.
The null and alternate hypotheses are written: -
Ho: ≥40,000 km and
H1: < 40,000 km
One way to determine the location of the rejection region is to look at the direction in which the
inequality sign in the alternate hypothesis is pointing.
Test is one – tailed, if H1 states > or < if 1 , states a direction, test is one - tailed.
Two-tailed test
A test is two - tailed if H1 does not state a direction.
Consider the following example:
Ho: there is no difference between the mean income of males and the mean income of females.
H1: there is a difference in the mean income of males and the mean income of females.
If Ho is rejected and H1 accepted the mean income of males could be greater than that of females
or vis versa. To accommodate these two possibilities, the 5 level of significance representing the
Note that the total area under the normal curve is one found by 0.95 + 0.025 + 0.025.
Non-rejection
Rejection region Region or do not reject H0 Rejection region
0.95 Probability
Z
-1.96 0 + 1.96
0.025 Probability 0.025 Probability
Non-rejection
Rejection region with Region or do not reject H0 Rejection region
Probability 0.99 Probability with probability 0.01÷2=0.005
0.01÷2=0.005 0.4950=0.5-0.005 0.4950=0.5-0.005
Z
It is not rejected
The decision rule is therefore: Reject the null hypothesis and accept the alternate hypothesis if
the computed value of Z does not fall in the region between +2.58 and -2.58. Otherwise do not
reject the null hypothesis.
Step 5: Take a sample and make a decision
Take a sample from the population (efficiently ratings) compute Z and based on the decision
rule, arrive at a decision to reject Ho or not reject Ho.
The efficenty ratings of 100 employees were analyzed. The mean of the sample was computed to
be 203.5.
Compute Z
X−μ 203 .5−200 203 .5−200
=
σ 16 1.6
Z= √ n = √ 100 = 2.19
Since 2.19 does not fall in the rejection region, Ho is not rejected. So we conclude that the
difference between 203.5, the sample mean, and 200 can be attributed to chance variation.
A very small P- values say 0.001, means that there is a very little likelihood that Ho is true. On
the other hand, a p- value of 0.4 means that Ho is not rejected, and we did not come very close to
rejecting it.
Recall that for the efficiency ratings the computed value of Z was 2.19. The decision was not to
reject Ho because the Z of 2.19 fall in the non-rejection area between 2.58 and + 2.58. The
probability of obtaining a Z values of 2.19 or more is 0.0143 found by 0.5000 – 0.4857. To
compute the P – value, we need to be concerned with values less than -2.19 and values greater
than + 2.19. The p- value is 0.0286 found by 2(0.0143). The P – value of 0.0286 is greater than
the significance level (0.01) decided upon initially, so Ho is to reject.
Reject Ho if P (Z >Z calc) < α, otherwise fail to reject H0. (One tailed test)
P-value if two-tailed test is 2 × P (Z calc > 2.152) (two tailed test)
Rule: When the p-value is less than , reject Ho.
Low p => reject null hypothesis
High p => fail to reject null hypothesis
3.5.1.2 Testing for the population mean: (standard deviation unknown)
In the preceding problems, we knew population standard deviation, . In most cases, however, it
is unlikely that would be known. Thus it must be estimated using the sample standard
X−μ
S
deviation, S. Then the test statistic Z = √ n
Example-1: A department store issues it own credit card. The credit manger wants to find out if
the mean monthly unpaid balance is more than Br. 400. The level of significance is set at 0.05. A
random check of 172 unpaid balances revealed the sample mean to be 407 and the standard
deviation of the sample 38. Should the credit manager conclude that the population mean is
greater than 400, or is it reasonable to assume that the difference of 407- 400=7 is due to chance:
√
S S sample means
12 22
+ Standard error of the difference
Z= n1 n2 between two sample means
Example: Each patient at a hospital is asked to evaluate the service at the time of discharge.
Recently there have been several complaints that resident physicians and nurses on the surgical
wing respond too slowly to the emergency calls of senior citizens. The administrator of the
hospital asked the quality assurance department to investigate. After studying the problem, the
quality assurance department collected the following sample information. At the 0.01
significance level, is the response time longer for the senior citizens, emergencies?
Patient type Smaple mean Sample standard deviation Sample Size
Senor Citizens 5.5 Minutes 0.40 minuets 50
Other 5.3 Minutes 0.30 minutes 100
Step 1: Ho: There is no difference in the mean response time between the two groups of patients.
i: e The difference of 0.2 minute, in the arithmetic mean response time is due to chances.
H1: The mean response time is greater for the senior citizens
Because the quality assurance department is concerned that the response time is greater for
senior citizens, he wants to conduct a one – tailed test. There fore the null and alternate
hypotheses are stated as follows.
Ho: 1 = 2
H1: 1 > 2
Step 2: The 0.01 significance level is selected.
x 1 −x 2
√
S S
12 22
+
Step 3: the test statistics is Z, the standard normal distribution, Z = n1 n2
Step 4: The decision rule is:
Reject the null hypothesis if the computed value of Z is greater then 2.33.
The critical value for 0.01 cruel, one-tailed test is 2.33
√ √
S S
12 22 (0 . 40 )2 (0 .30 )2
+ +
The test statistic is Z = n1 n2 Z = 50 100 = 3.13
The computed value of 3.13 is beyond the critical value of 2:33. Therefore, the null
hypothesis is rejected and the alternate hypothesis is accepted at the 0.01 significant level.
The quality assurance department will report to the administrator that the mean response time of
the nurses and resident physicians is longer for senior citizens than for other patients.
What is the P-value in this problem?
P- Value is the probability of computing aZ value this large or larger when Ho is true.
What is the likelihood of a Z value greater than 3.13
P(Z=3.13)= 0.4991
So, P (Z) > 3.13 ) =0.5000-0.44991=0.0009
Ho is very likely false and there is little likelihood of a type I error.
3.5.2.2 Testing for the Difference between two Population Proportions
Z= √ Pc (1−Pc ) P c (1−P c )
n1
+
n2
in the sample, Pc = is the weighted mean of the two
sample proportion computed by
Total number of successe x1 + x 2
Pc =Total number of samples = n1 +n2
where x1 is the number of younger women
(sample 1) who prefer the perfume, x 2 is the number
of older women (sample 2) who prefer the perfume.
Pc is generally referred to as the pooled estimate of the population proportion or it is a
combined estimate, combined proportion.
Step 4: The Formulate Decision Rule:
The critical values for the 0.05 level two-tailed tests are -1.96 and +1.96. If the computed Z value
is in the region between +1.96 and -1.96, the null hypothesis will not be rejected. If it does occur
it is assumed that any difference between the two proportions is due to chance variation.
Two – tailed test, Areas of rejection and Non-rejection 0.05 level of significance.
P 1−P2 0 . 40−0. 50
= =−1 .64
Z= √ Pc (1−Pc ) P c (1−P c )
n1
+
n2 √ 0 . 4667(0 . 5333) 0 . 4667+ 0 .5333
100
+
200
The computed value of Z (-1.64) falls in the non-rejection region. Therefore we concluded that
there is no difference in the proportion of younger and older women who prefer the perfume. In
this case we expect the P- value to be greater than the significance level of 0.05, and it is.
for Z = -1.64 probability is 0.4495
P value = 0.5000 – 0.4495 = 0.0505 for one tail only
However the test was two tailed, so we must account for the area beyond 1.64 as well as the area
less than -1.64. Then
The P – value is 2(0.0505) = 0.1010
The end
of
chapter
three!!!