Professional Documents
Culture Documents
Assignment 1 Sol
Assignment 1 Sol
Assignment 1 Sol
Assignment (1)
Due: March. 16th 9:10am
Name: Student ID:
Name: Student ID:
1. (20%) In random samples of 25 from each of two normal populations we found the following
statistics:
̅̅̅1 = 524; 𝑠1 = 129
𝑥
𝑥2 = 469; 𝑠2 = 141
̅̅̅
a. (4%) Estimate the difference between the two population means with 95% confidence.
b. (4%) Repeat part(a) increasing the standard deviations to 𝑠1 = 255 𝑎𝑛𝑑 𝑠2 = 260.
c. (4%) Describe what happens when the sample standard deviations get larger.
d. (4%) Repeat part(a) with sampling of size 100.
e. (4%) Discuss the effects of increasing the sample size.
a Equal-variances estimator
1 1 (25−1)1292 +(25−1)1412 1 1
( x1 − x 2 ) t / 2 s 2p + = (524 – 469) 2.009√( )( + )
25+25−2 25 25
1
n n 2
= 55 76.79
b Equal-variances estimator
= 55 146.33
d Equal-variances estimator
1 1 (100−1)1292 +(100−1)1412 1 1
( x1 − x 2 ) t / 2 s 2p + = (524 – 469) 1.972√( )( + )
100+100−2 100 100
1
n n 2
= 55 37.69
2. (15%) Random samples from two normal populations produced the following statistics:
𝑠12 = 28; 𝑛1 = 10
= 19; 𝑛2 = 10 𝑠22
a. (5%) Estimate with 95% confidence the ratio of the two population variances.
b. (5%) Repeat part(a) changing the sample sizes to 𝑛1 = 25 and 𝑛2 = 25.
c. (5%) Describe what happens to the width of the confidence interval estimate when the sample sizes
increase.
2 s12
= F / 2, , = 28 4.03 = 5.939
s 1 28 1
a. LCL = 12 = .366, UCL =
s2
s 2 F / 2,1 , 2 19 4.03 2
2 1
19
2 s2
= = .649, UCL = 12 F / 2, 2 ,1 = 2.27 = 3.345
s 1 28 1 28
b. LCL = 12
s 2 F / 2,1 , 2 19 2.27 s2 19
3. (10%) A food processor wants to compare two antioxidants for their effects on retarding spoilage.
Suppose 16 cuts of fresh meat are treated with antioxidant A and 16 are treated with antioxidant B, and
the number of hours until spoilage begins is recorded for each of the 32 cuts of meat. The results are
summarized in the table below.
Antioxidant A Antioxidant B
Sample Mean 108.7 hours 98.7 hours
Sample Standard Deviation 10.5 hours 13.6 hours
a. (5%) Perform the test for determining if the population variances differ for Antioxidants A and B at
α = .05.
b. (5%) Develop the 95% confidence interval estimate of the ratio of the two population variances.
c. Perform the test for determining if the population variances differ for Antioxidants A and B at
α = .05.
d. Develop the 95% confidence interval estimate of the ratio of the two population variances.
Step 1(檢驗變異數)
假設 𝜎12
𝐻0 : =1
𝜎22
𝜎12
𝐻1 : ≠1
𝜎22
標準 α = 0.05
比較 𝑆 2 10.5 ^2
F= 12= = 0.596
𝑆2 13.6 ^2
Reject region(查表)
𝐹 > 𝐹0.025,15,15 =2.8621
𝐹 < 𝐹0.975,15,15 =0.35
結論 沒有足夠的證據推翻虛無假設(𝜎12 = 𝜎22 )
(b)
𝑆12 1 1
LCL= ∗ =0.596* =0.20824
𝑆22 𝐹0.025,15,15 2.8621
𝑆12
UCL= ∗ 𝐹0.025,15,15 =0.596*2.8621=1.7058
𝑆22
4. (10%) Every month a clothing store conducts am inventory and calculates losses from theft. The store
would like to reduce these losses and is considering two methods. The first is to hire a security guard,
and the second is to install cameras. To help decide which method to choose, the manager hired a
security guard for 6 months. During the next 6 months period, the store installed cameras. The monthly
losses recorded and are listed here. The manager decided that because the cameras were cheaper than
guard, he would install the cameras unless there was enough evidence to infer that the guard was
better. What should the manager do?
H 0 : ( 1 − 2 ) = 0
H 1 : ( 1 − 2 ) < 0
5. (10%) (Assignment 1 -excel) Between Wendy’s and McDonald’s, which fast-food drive-through window
is faster? To answer the question, a random sample of service times for each restaurant was measured.
Can we infer from these data that there are differences in service times between the two chains?
H 0 : ( 1 − 2 )
=0
H 1 : ( 1 − 2 )
0
enough evidence to conclude that there are differences in service times between the two chains.
6. (10%) (Assignment 1 -excel) An insurance company is thinking about offering discounts on its life
insurance policies to nonsmokers. As part of its analysis, the company randomly selects 200 men who
are 60 years old and asks them whether they smoke at least one pack of cigarettes per day and if they
have ever suffered from heart disease. (2= Suffer from heart disease, 1= Do not Suffer from heart
disease)
a. (5%) Can the company conclude at the 10% significance level that smokers have a higher incidence
of heart disease than nonsmokers?
b. (5%) Estimate with 90% confidence the difference in the proportions of men suffering from heart
disease between smokers and nonsmokers.
H 0 : (p1 − p 2 ) = 0
H 1 : (p1 − p 2 )
>0
conclude that smokers have a higher incidence of heart diseases than nonsmokers.
p̂1 (1 − p̂1 ) p̂ 2 (1 − p̂ 2 )
b (p̂1 − p̂ 2 ) z / 2 +
n1 n2
(a) 假設兩母體為常態分配且變異數相同
𝐻0 : 𝜇𝑚 = 𝜇𝑓
𝐻1 : 𝜇𝑚 ≠ 𝜇𝑓
α = .10
𝑋̅𝑚 −𝑋̅𝑓 −0
T= 1 1
√𝑆𝑝2 ( + )
12 31
(12−1)∗6.57+(31−1)∗7.55
𝑆𝑝2 = = 7.287
12+31−2
𝑆𝑝2 7.287
𝑋̅𝑚 ± 𝑡0.05 (41)√ = 5.25 ± 1.684 ∗ √ => [3.9377,6.5623]
12 12
𝜇𝑓 之 90% C.I.為
𝑆𝑝2 7.287
𝑋̅𝑓 ± 𝑡0.05 (41)√ = 4.37 ± 1.684 ∗ √ => [3.5535, 5.1865]
12 31
(c) 𝐻0 : 𝜇𝑚 = 𝜇𝑓
𝐻1 : 𝜇𝑚 ≠ 𝜇𝑓
α = .10
𝑋̅𝑚 −𝑋̅𝑓 −0
T=
2 𝑆 2
√𝑆𝑚 + 𝑓
48 124
𝑋̅𝑚 −𝑋̅𝑓 −0
T= = 1.9788
2 𝑆2
√𝑆𝑚 + 𝑓
48 124
6.57 7.55
( + 124 ) 0.1978
degree of freedom= 6.57482 7.55 2 ≅ ≅ 220
( 48 ) ( ) 0.0004+0.0005
47
+ 124
123
8. (10%) To assess the effectiveness of a new diet formulation, a sample of eight steers is fed a regular diet
and another sample of ten steers is fed a new diet. The weights of the steers at 1 year are given in the
following table. Do these results imply that the new diet results in higher weights? (α = 0.05)