Professional Documents
Culture Documents
Summary of the basics The prob-value approach Significance, effect size and power Tests: proportion, difference between two means
280 2 ) 26
2
H1
H0
I xD
II _ x Non-rejection region
P(type I error)
Rejection region
H H
0 1
: = X
: < X
2. Choose significance level of test, prob. of type I error, (e.g., 0.05). 3. Find the critical value of the test in the statistical table Here z * =1.64 4. Calculate the test statistic according to the null, i.e.
x
Z=
/n
2
5. Decision rule: compare test statistic with critical value. If z < -Z* reject H 0 in favour of H 1
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 4
-1.82<-1.64 Hence we reject the null that the weekly turnover is 5,000 In favour of the alternative hypothesis that it is less than 5,000.
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 5
H 0 : = 5,000 H1 : 5,000
Reject H0
Reject H0
: X
Note: Critical value Z* excludes 2.5% below Z* and 2.5% above Z*(instead of 5% below Z*).
Z*= 1.96 to cut off 2.5% in each tail of the standard Normal distribution. The test statistic is the same as before: z = -1.82>-1.96 So the null hypothesis cannot be rejected in this case.
x
Test statistic:
100
s /n
2 280 / 26
= -1.82
H 0 can be rejected at the 3.44% significance level (or with 96.56% confidence).
QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 10
The production manager of Nwindow Inc. has asked you to evaluate a proposed new procedure for manufacturing one of its line of double-hung windows. The present process has a mean production of 80 units per hour with a population standard deviation of 8. The manager indicates that he does not want a change to a new procedure unless there is strong evidence that the mean production level is higher with the new process. You obtain a random sample of 25 production hours using the new process, which leads to a mean of 83 production hours. What do you conclude based on this sample?
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 12
H 0 : = 80 H1 : > 80
= 8; n = 25
test statistic : x 80 83 80 = = 1.875 > 1.645 8/5 / n Reject the null at 5%. But, strong evidence P-value = 0.0304>0.01 better judge at 1% : z= No change
Cass Business School
Another example:
It is claimed that an average child spends 15 hours per week watching television. A survey of 100 children finds an average of 14.5 hours per week, with standard deviation 8 hours. Is the claim justified?
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 14
The claim would be wrong if children spend either more or less than 15 hours watching TV. The rejection region is split across the two tails of the distribution. This is a two tailed test.
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 15
2.5%
2.5%
Reject H0
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10
Reject H0
16
Solution
1. H0: = 15 H1: 15 2. Calculate the test statistic:
z= x s2 n = 14.5 15 82 100 = 0.625
3. Decision: we do not reject H0 since 0.625 < 1.96 and does not fall into the rejection region or P-value= 2 (0.266) ~0.52 >0.05 4. The claim is acceptable, no reason to be rejected.
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 17
18
Z=
143 /100
= 1.75
Since this value of z is less than Z*= -1.64 the null hypothesis is rejected with 95% confidence. We conclude that the true weekly turnover is less than 5,000. But the difference of 25 may be unimportant even if it is statistically significant. We should look at the size of the difference (the effect size) and ask whether it is important or not. While statistically significant, a difference of 25 in 5,000 is not economically significant.
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 19
Power
Power of a test = 1 Pr (Type II error) = 1 -
when it is
20
H1
H0
xD
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 21
small). 2. Use a large sample size, so that the sampling variance of x under both H 0 and H 1 is reduced and the distributions under the two hypothesis are more distinct. 3. Use sampling methods that have small sampling variances (same effect as increasing the sample size).
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 22
Testing a proportion
A car manufacturer claims that no more than 10% of its cars should need repairs in the first three years of their life. A random sample of 50 three-year-old cars found that 8 had required attention. Does this contradict the makers claim?
23
The sampling distribution of the sample proportion in large samples is given by:
p ~ N ( ,
(1 )
n
Under the null hypothesis (the makers claim): = 0.10 The sample data are: p = 8/50 = 0.16 n = 50
24
Solution
H H
0
: 1
Significance level: = 0.05 Critical value of a one-tail test at the 5% level is Z*= 1.64
z=
p
n
(1 )
0.16 0.10
0.10.9 50
= 1.41
The test statistic is less than the critical value. It falls in the nonrejection region. We do not reject the null hypothesis. We accept the manufacturers claim.
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 25
It is claimed that 5% of adults fall asleep while watching TV. In a recent survey of 60 adults, 16.4% indicated that they had fallen asleep in front of the television in the past month. Do we have support for the claim?
26
Two-tail
P-value~0
H
Cass Business School
2 2
0
28
(x1 x2 ) (1 2 )
2 s12 s2 + n1 n2
QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 29
z* = 2.57. This cuts off 0.5% in each tail of the standard Normal distribution.
The critical value of the test is
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 31
Decision rule: Z <Z* The test statistic falls in the non-rejection region. => No significant difference between the two factories.
32
34
Business Statistics
Week18 - Lecture 2
35
(x1 x2 ) (1 2 )
38
An employment opportunities committee suspects that females are not as well paid as their male counterparts in comparable jobs. A random sample of 75 males and 64 females in junior academic positions are selected and the following annual salary data is obtained: Male Female Mean 32,530 31,250 Standard Deviation 780 810 What do you conclude?
39
Hypotheses:
H 0 : M F = 0 H1 : M F > 0
Sample Info:
Mean S N Male 32,530 780 75 Female 31,250 810 64
(xM
x F ) ( M F ) s s + nM nF
2 M 2 F
= 9 .45!!
40
A union claims that the average income for its members in the UK is below that of employees of the same company in Spain. A survey of 60 employees in the UK showed an average income of 895/week with a standard deviation of 120. A survey of 100 workers in Spain, after making adjustments for various differences between the two countries and converting to sterling, gave an average income of 914 with a standard deviation of 90. Test at the 1% level if Spanish workers earn more than their British counterparts.
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 41
H 0 : B S = 0 H1 : B S < 0 = 0.01 z* = 2.33 z= (895 914) 120 2 90 2 60 + 100 = 1.06 > 2.33
No evidence that the Spanish earn more than their British counterparts
Cass Business School QM Sem. 2 - Week 7 28/02/11 & 04/03/11 - CR10 42
p = 48/90
2
n = 90
2
43
: 1
1 1
2 2
=0 0
Significance level:
44
z=
1 (1 1)
n
1
( p p ) (
1 2 1
2 (1 2)
n
2
45
The null hypothesis states that the proportions are the same. Hence, a reasonable estimate for the common value is the overall proportion...
1 = 2 = =
Cass Business School
n1 p1 + n2 p2 n1 + n2
46
( p1 p2 ) ( 1 2 ) (1 ) (1 ) +
n1 n2
n1 p1 + n2 p2 n1 + n2
47
0.6 0.533 0
= 0.86
The test statistic is less than the critical value, so the null hypothesis cannot be rejected. There is not sufficient evidence to demonstrate a difference between the performance of the two companies.
48
51