Ass#6

advertisement
COURSE: ENGINEERING PROBABILITY & STATISTICS
ASSIGNMENT #6
Lecturer: Ho Thanh Vu
Student: PhαΊ‘m NhαΊ­t Tân
-ID :IEIEIU16002
-Class: Friday morning
Question 1:
Let πœ‡ = π‘Žπ‘£π‘’π‘Ÿπ‘Žπ‘”π‘’ π‘π‘Žπ‘‘π‘‘π‘’π‘Ÿπ‘¦ 𝑙𝑖𝑓𝑒. We want to test whether the new process affects πœ‡ or not
Let 𝐻0 : πœ‡ = 125
𝐻1 : πœ‡ ≠ 125
We have:
𝑋̅ = 131 β„Žπ‘œπ‘’π‘Ÿπ‘  ; 𝑛 = 39 > 30 ; 𝑠 = 11 β„Žπ‘œπ‘’π‘Ÿπ‘ 
𝑋̅ −πœ‡
131−125
𝑍𝑑 = 𝑠/ 𝑛0 = 11/√39 = 3.406 => p-value is 2*(1-0.9997)=0.0006
√
𝐼𝑓 𝛼 = 0.05 ⇒ 𝑍𝛼/2 = ±1.96 < 3.406 => π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0 => π‘‘β„Žπ‘’ π‘π‘Ÿπ‘œπ‘π‘’π‘ π‘  π‘Žπ‘“π‘“π‘’π‘π‘‘π‘  π‘π‘Žπ‘‘π‘‘π‘’π‘Ÿπ‘¦ 𝑙𝑖𝑓𝑒
𝐼𝑓 𝛼 = 0.01 ⇒ 𝑍𝛼/2 = ±2.57 < 3.406 => π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0 => π‘‘β„Žπ‘’ π‘π‘Ÿπ‘œπ‘π‘’π‘ π‘  π‘Žπ‘“π‘“π‘’π‘π‘‘π‘  π‘π‘Žπ‘‘π‘‘π‘’π‘Ÿπ‘¦ 𝑙𝑖𝑓𝑒
Both cases give very significant results
Question 2:
Let πœ‡ = π‘Žπ‘£π‘’π‘Ÿπ‘Žπ‘”π‘’ β„Žπ‘’π‘–π‘”β„Žπ‘‘ π‘œπ‘“ π‘šπ‘Žπ‘› 𝑖𝑛 π‘‰π‘–π‘’π‘‘π‘›π‘Žπ‘š
Let 𝐻0 : πœ‡ ≥ πœ‡0 = 170
𝐻1 : πœ‡ < πœ‡0 = 170
Sample information:
𝑋̅ = 171.283 π‘π‘š ; 𝑛 = 20 < 30 ; 𝑠 = 3.829 π‘π‘š, df=19
𝑋̅ − πœ‡0 171.283 − 170
𝑑𝑑 =
=
= 1.4985
𝑠/√𝑛
3.829/√20
𝐼𝑓 𝛼 = 0.01 ⇒ 𝑑𝛼;19 = −2.539 < 1.4985 => π‘‘π‘œ π‘›π‘œπ‘‘ π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0
𝐼𝑓 𝛼 = 0.05 ⇒ 𝑑𝛼;19 = −1.729 < 1.4985 => π‘‘π‘œ π‘›π‘œπ‘‘ π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0
Therefore, the average height of men in Vietnam is more than or equal to 170cm
Question 3:
Let πœ‡ = π‘ π‘’π‘™π‘“π‘’π‘Ÿ π‘π‘œπ‘›π‘‘π‘’π‘›π‘‘ 𝑖𝑛 𝑑𝑖𝑒𝑠𝑒𝑙 𝑓𝑒𝑒𝑙
Let 𝐻0 : πœ‡ ≤ πœ‡0 = 0.15
𝐻1 : πœ‡ > πœ‡0 = 0.15
We have:
𝑋̅ = 0.162 π‘π‘’π‘Ÿπ‘π‘’π‘›π‘‘π‘  ; 𝑛 = 40 > 30 ; 𝑠 = 0.040 π‘π‘š; 𝛼 = 0.05
𝑋̅ − πœ‡0 0.162 − 0.15
𝑍𝑑 =
=
= 1.8974
𝑠/√𝑛
0.040/√40
𝐼𝑓 𝛼 = 0.05 ⇒ 𝑍𝛼 = 1.65 < 1.8974 => π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0 => the sulfur content in the diesel fuel is actually larger
than 0.15 percent.
Question 4:
Patient
1
2
3
4
5
6
7
8
9
10
11
Before
134
122 132 130 128
140 118
127 125
142 137
After
Difference
140
6
130 135 126 134
8
3
-4
6
138 124
-2
6
126 132
-1
7
144 137
2
0
12
13
14
15
16
136 130
139 128
128
144 137
8
7
143 146
4
18
149
21
𝐿𝑒𝑑 πœ‡π· = πœ‡π΄ − πœ‡π΅ . We want to test if this drug changes blood pressure so:
Let 𝐻0 : πœ‡π· = 0
𝐻1 : πœ‡π· ≠ 0
Μ… = 5.563 ; 𝑛 = 16 < 30 ; 𝑠𝐷 = 6.603; 𝛼 = 0.05 ; 𝑑𝑓 = 15
Sample information: 𝑋̅ = 𝐷
𝑋̅ − 0
5.563 − 0
𝑑𝑑 =
=
= 3.37
𝑠𝐷 /√𝑛 6.603/√16
𝐼𝑓 𝛼 = 0.05 ⇒ 𝑑𝛼;15 = ±2.131 < 3.37 => π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0 ⇒ this drug actually changes blood pressure
2
Question 5:
Let 𝐻0 : 𝑝 ≥ 0.45
𝐻1 : 𝑝 < 0.45
49
𝑝̂ =
= 0.392
125
𝑝̂ − 𝑝0
0.392 − 0.45
𝑍𝑑 =
=
= −1.31
𝑝
∗
(1
−
𝑝
)
0.45
∗
0.55
0
0
√
√
𝑛
125
𝐼𝑓 𝛼 = 0.05 ⇒ 𝑍𝛼 = −1.65 < −1.31 => π·π‘œ π‘›π‘œπ‘‘ π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0
Therefore, the program doesn’t reduce the proportion of executives who show signs of the crisis
Question 6:
Let 𝐻0 : 𝑝 ≥ 0.95
𝐻1 : 𝑝 < 0.95
1380
𝑝̂ =
= 0.92
1500
𝑝̂ − 𝑝0
0.92 − 0.95
𝑍𝑑 =
=
= −1.686
𝑝
∗
(1
−
𝑝
)
0.95
∗
0.05
0
0
√
√
𝑛
1500
πΆβ„Žπ‘œπ‘œπ‘ π‘’ 𝛼 = 0.05 ⇒ 𝑍𝛼 = −1.65 > −1.686 => π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0
Therefore lower interest rates for mortgages during the following period actually reduced the percentage of
households living in rental units.
Question 7:
𝑛 = 25; 𝑠 2 = 175; 𝛼 = 0.05
Assume the population is normally distributed
Let 𝐻0 : 𝜎 2 ≤ 156
𝐻1 : 𝜎 2 > 156
(𝑛 − 1)𝑠 2 24 ∗ 175
πœ’ 𝑑=
=
= 26.923
𝜎2
156
πΉπ‘œπ‘Ÿ 𝛼 = 0.05 ⇒ πΆπ‘Ÿπ‘–π‘‘π‘–π‘π‘Žπ‘™ π‘£π‘Žπ‘™π‘’π‘’π‘  𝑖𝑠 πœ’ 2 (24,0.05) = 36.42 > 26.923 ⟹ π·π‘œ π‘›π‘œπ‘‘ π‘Ÿπ‘’π‘—π‘’π‘π‘‘ 𝐻0
Therefore, we can’t prove that the variance is above the required level, corrective action should not be taken.
2
Download