hypothesis testing large samples
DESCRIPTION
Hypothesis Testing Large Samples - PowerPoint PPT PresentationTRANSCRIPT
Hypothesis Testing Large Samples
1. A random sample of 100 people in the city revealed that tennis is played, on the average, 1.2 hours per week during the summer. The population standard deviation is .4 hours for all people in the United States. Test whether this sample indicates that the number of hours tennis is played in this city differs from the national average of 1.1 hours. Use =.01.
1. HO : 1.1
HA : 1.12. Two tail z test n > 30 known
3. .495 .495
.005 .005
2.57 -2.57
4. z x SE
1.2 1.1
.4
100
2.5 5. Fail to reject, there is not enough evidence at the .01 level to show that the average hours are different.
Hypothesis Testing Large Samples
2. The population of all minority workers has a mean wage of $14,500 with a standard deviation of $200.00. Test whether a sample of 100 having an average of $14,300 and = .05 differs from the population average.
1. HO : $14,500
HA : $14,5002. Two tail z test n > 30 known
3. .475 .475
.025 .025
1.96 -1.96
4. z x SE
14,300 14,500
200
100
10 5. Reject HO at the .05 level. There is evidence that the salaries are different.
Hypothesis Testing Large Samples
3. A new bus route has been established. For the old route, the average waiting time was 18.3 minutes. However, a random sample of 40 waiting times between buses using the new route had a mean of 15.1 minutes with a sample standard deviation of 6.2 minutes. Does this indicate that the new route is different from the old route? Use = .05.
1. HO : 18.3
HA : 18.32. Two tail z test n > 30
3. .475 .475
.025 .025
1.96 -1.96
4. z x SE
15.1 18.3
6.2
40
3.27 5. Reject HO at the .05 level. There is evidence that the new route is different.
Hypothesis Testing Small Samples
1. A manufacturer of ball bearings have a diameter of .25 inches and a sample standard deviation of .05 inches. A random sample of n = 25 ball bearings reveal a mean diameter of .2670 inches. Conduct a hypothesis test at the 10 % level of significance to determine whether there is statistical significance that the manufacturing process is not running correctly, that is µ ≠ .25 inches.
1. HO : .25
HA : .252. Two tail t test n < 30 unknown 24 d.f.
3. .05 .05
1.711-1.711
4. t x SE
.2670 .25
.05
25
1.7 5. Fail to reject HO at the .1 level. There is not enough evidence that it is not running incorrectly.
Hypothesis Testing Small Samples
2. A random sample of n = 10 prices of CDs gives the following values: $24.19, $21.04, $12.34, $16.07, $19.65, $19.36, $15.99, $15.02. $18.68, $20.60. Conduct a hypothesis test at the 10% level to determine whether evidence exists to support the claim that the population average is less than $19.00.
19:H
19:H .1
1
O
2. One tail t test
n < 30 unknown 9 d.f.
3. .01
-1.383
4. t x SE
18.294 19
3.45
10
.647 5. Fail to reject HO at the .1 level. There is not evidence that average CD price is less than $19.00.
x 18.294, s 3.45
Hypothesis Testing Large Sample Population Proportion
1. A telephone survey was conducted to determine viewer response to a new show. The sponsor would like to see a favorable response from over 65% of the respondents. From a sample of 500 viewers, 345 of the responses were favorable. Is there sufficient evidence to satisfy the sponsor at the .01 level?
1. HO : .65
HA : .652. One tail z test (500)(.65) > 5 (500)(.35) > 5
3. .01
2.33
4. z p SE
.69 .65
(.65)(.35)
500
1.87 5. Fail to reject HO at the .1 level. There is not enough evidence to satisfy the sponsor.
Hypothesis Testing Difference of Population Means
1. In a certain industry, the standard deviation for workers in Chicago is the same as in Los Angeles = $2.75 per hour. A random sample of 30 workers in Chicago revealed a mean wage of $22.75 per hour and a random sample of 40 from Los Angeles revealed a mean wage of $18.55 per hour. Perform a hypothesis test at the .01 significance level to determine whether they are different and construct an 80 % confidence interval.
0:H
0:H .1
A
O
LC
LC
2. Two tail z test
nC, nL > 303.
.005
2.58
L
L
C
C
LCLC
nn
xx
SE
xxz
22 4.
5. Reject HO at the .1 level, the wages are different
-2.58
.005
32.666.
20.4
44.
20.4
40
75.2
30
75.2
55.1875.2222
4.2 + 1.28(.66)
(3.35, 5.04)
Hypothesis Testing Difference of Population Means
2. In a study of heart surgery, the effect of a beta-blocker was used to reduce pulse rate. One group of 30 received the drug and had an average pulse rate of 65.2 beats per minute and a standard deviation of 7.8. For the control group of 30 which received the placebo, the mean was 70.3 beats per minute with a standard deviation of 8.3. Do beta-blockers reduce pulse rate? Is the result significant at the .05 level? Construct a 99% confidence interval for the difference in mean pulse rate.
0:H
0:H .1
A
O
PB
PB
2. One tail z test
nB, nP > 303.
P
P
B
B
PBPB
nn
xx
SE
xxz
22 4.
5. Reject HO at the .05 level, beta blockers reduce blood pressure
-1.645
.05
46.207.2
1.5
32.4
1.5
30
3.8
30
8.7
3.702.6522
-5.1 + 2.58(2.07)
(-10.46, .26)
2. The prices for a certain drug at a private and a chain drug store are shown. Perform a hypothesis test at the .01 level to determine if the prices are different.
0:H
0:H .1
A
O
CP
CP
2. Two tail t test
22 d.f.3.
C
P
C
P
CPCP
nn
xx
SE
xxz
22 4.
5. Fail to reject HO at the .01 level, no difference in prices.
-2.82
.005
75.1444.
78.
197.
78.
14
95.
10
15.1
97.775.822
Hypothesis Testing Difference of Population Means
Group n x s
Private 10 8.75 1.15
Chain 14 7.97 .95
2.82
1. Two groups of infants were compared with the amount of blood hemoglobin levels at 12 months of age. Is there evidence at the .01 level that the two methods are different. Give a 95% confidence interval between the two populations of infants.
0:H
0:H .1
A
O
FB
FB
2. Two tail t test
40 d.f.3.
F
F
B
B
FBFB
nn
xx
SE
xxz
22 4.
5. Reject HO at the .1 level, no difference in feeding methods.
-2.70
.005
65.1544.
9.
296.
9.
19
8.1
23
7.1
4.123.1322
.9 + 1.96(.54)
(-.158, 1.958)
Hypothesis Testing Difference of Population Means
Group n x s
Breast-Fed 23 13.3 1.7
Formula 19 12.4 1.8
2.70
Hypothesis Testing Difference of Population Proportions
1. A sample of 2051 men taking a drug to reduce heart attacks had 56 heart attacks during the next five years while a sample of 2030 resulted in 84 heart attacks during the next 5 years. Is there evidence at the .01 level that the drug reduces the possibility of a heart attack?
0:H
0:H .1
A
O
dp
dp
2. One tail z test
3.
1
)1(
1
)1( 4.
p
pp
d
dd
pdpd
n
pp
n
pp
pp
SE
ppz
5. Reject HO at the .1 level, the drug reduces heart attacks.
-2.33
.01
47.2005.
014.
2029)959)(.041(.
2050)973)(.027(.
041.027.
pd = 56/2051=.027pp = 84/2030=.041
Hypothesis Testing Difference of Population Proportions
2. A sample of 267 white people and 230 black people were asked if the government was doing enough in the areas of housing, unemployment, and education. 161 of the white people surveyed and 136 of the black people said no. Is there evidence at the .05 level that the white people and black people disagree on this issue?
0:H
0:H .1
A
O
BW
BW
2. Two tail z test
3.
1)1(
1
)1( 4.
B
BB
W
WW
BWBW
npp
n
pp
pp
SE
ppz
5. Fail to reject HO at the .05 level, there is no difference between voting preference.
-1.96
.025
226.044.
01.
229)41)(.59(.
266)40)(.60(.
59.60.
p1 = 161/267=.60p2 = 136/230=.59
.025
1.96
1. Cola makers test new recipes for loss of sweetness before and after storage. The results of ten tasters are shown before and after storage. Is their evidence at the .05 level that sweetness is greater before storage?
0:H
0:H .1
21A
21O
2. One tail t test
9 d.f.3.
696.2
10
196.102.1
4.
n
sD
t
5. Reject HO at the .05 level, sweetness is greater before storage
.05
Hypothesis Testing Matched Pair Samples
1 2 3 4 5 6 7 8 9 10
Before 2.3 1.6 2.3 4.1 3.2 5.2 1.5 1.7 3.2 2.5
After 0.3 1.2 1.6 2.1 3.6 3 2.8 0.5 2.1 0.2
2 .4 .7 2 -.4 2.2 -1.3 1.2 1.1 2.3
1.83
196.1
02.1
ds
d
2. A physical education teacher tested the results of jogging on a person’s cardiovascular system. The resting pulse rates were measured before and after the completion of a 5 week jogging program. Is there evidence at the .01 level that the resting pulse rate decreased?
0:H
0:H .1
21A
21O
2. One tail t test
6 d.f.3.
836.4
7
80.129.3
4.
n
sD
t 5. Reject HO at the .01 level, the resting pulse rate decreased
.01
Hypothesis Testing Matched Pair Samples
1 2 3 4 5 6 7
Before 74 78 81 83 83 87 90
After 72 74 75 81 82 84 85
-2 -4 -6 -2 -2 -3 -5
-3.14
80.1
29.3
ds
d
Hypothesis Testing Chi Square
Got in Trouble
No Trouble Total
Boys 46 40.97 71 76.02 117
Girls 37 42.03 83 77.97 120
Total 83 154 237
The following table shows the results of boys andGirls that get in trouble in school. Are gender and getting introuble independent at the .01 level?
1. HO: Gender and trouble are independent HA: Gender and trouble are dependent
2. Chi Square test (2 - 1)(2 - 1) = 1 d.f.
3. Determine rejection region
6.64 4. Compute test statistic 1.87
5. Fail to Reject HO, gender and trouble are not independent
The following table shows the Myers-Brigs personality preference and professions for a random sample of 2408 people in the listed professions. E refers to extroverted and I refers to introverted.
Occupation Extroverted Introverted Row Total
Clergy 308 226
Doctor 667 936
Lawyer 112 159
Column Total
Use the chi-squared test to determine if the listed occupations and personality preferences are independent at the .01 level of significance.
Occupation Extroverted Introverted Row Total
Clergy 308 226
Doctor 667 936
Lawyer 112 159
Column Total
Use the chi-squared test to determine if the listed occupations and personality preferences are independent at the .01 level of significance.
534
1603271
1087 1321 2408
241
723122
293
879
149
1. HO: Preferences and profession are independent HA: Preferences and profession are dependent
2. Chi Square test (3 - 1)(2 - 1) = 2 d.f.
3. Determine rejection region
9.21 4. Compute test statistic
2 ( fo fe )2
fe
(308 241)2
241
(667 724)2
724
(112 122)2
122
(226 293)2
293 (936 879)2
879 (189 149)2
149
= 43.55
43.55
5. Reject HO, preferences and profession are not independent