Nguyễn Luận Công Bằng ITITIU20163 HW10

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Name: Nguyễn Luận Công Bằng

ID: ITITIU20163

Homework 10

Descriptive statistics
1.
Data: 5, 11, 9, 5, 10, 15, 6, 10, 5, 10 (minutes)
Sort data: 5, 5, 5, 6, 9, 10, 10, 10, 11, 15 (minutes)
X 5 6 9 10 11 15
f 3 1 1 3 1 1

5+5+5+6+ 9+10+10+10+11+15
Mean = 10 = 8.6
9+10
Median = 2 = 9.5 (since n is even)

Mode: 5 and 10 (since 5 and 10 have the largest frequency)

2.
Data: 7.3, 8.6, 10.4, 16.1, 12.2, 15.1, 14.5, 9.3 (milligrams)
7.3+8.6+10.4+ 16.1+12.2+15.1+14.5+ 9.3
Mean = 8 = 11.6875

Sample variance:
i xi xi - x̅ ( xi - x̅ )2
1 7.3 -4.3875 19.25016
2 8.6 -3.0875 9.532656
3 10.4 -1.2875 1.657656
4 16.1 4.4125 19.47016
5 12.2 0.5125 0.262656
6 15.1 3.4125 11.64516
7 14.5 2.8125 7.910156
8 9.3 -2.3875 5.700156

∑ ( xi −x ) 2 = 19.25016+9.532656+ 1.657656
i=1

+19.47016+ 0.262656+11.64516

+7.910156+5.700156

= 75.42875
n


S = i=1
2 ( x i−x )
2

=
75.42875
= 10.7755
8−1
n−1

Parameters Estimation
1.
Data: 3.142, 3.163, 3.155, 3.150, 3.141
Sort data: 3.141, 3.142, 3.150, 3.155, 3.163
Sample size: n = 5
Standard deviation: σ = 0.1 mg
3.141+ 3.142+3.150+ 3.155+ 3.163
Mean: x̅ = 5 = 3.1502

a) α = 1 – 95% = 0.05
α 0.05
2
= 2
= 0.025
Zα α
2
= Z(1 - 2 ) = Z(1 – 0.025) = Z(0.975) = 1.96
Zα σ 0.1
ME = 2 √n
= 1.96 × √5
= 0.0877
Lower bound: x̅ - ME = 3.1502 - 0.0877 = 3.0625
Upper bound: x̅ + ME = 3.1502 + 0.0877 = 3.2379
Interval: 3.0625 < µ < 3.2379

b) α = 1 – 99% = 0.01
α 0.05
2
= 2
= 0.005
Zα α
2
= Z(1 - 2 ) = Z(1 – 0.005) = Z(0.995) = 2.58
Zα σ 0.1
ME = 2 √n
= 2.58 × √5
= 0.1154
Lower bound: x̅ - ME = 3.1502 - 0.1154 = 3.0348
Upper bound: x̅ + ME = 3.1502 + 0.1154 = 3.2656
Interval: 3.03485 < µ < 3.2656

2.
Standard deviation: σ = 11.3
Sample size: n = 81
Mean: x̅ = 74.6

α = 1 – 90% = 0.1
α 0.05
2
= 2
= 0.05
Zα α
2
= Z(1 - 2 ) = Z(1 – 0.05) = Z(0.95) = 1.65
Zα σ 11.3
ME = 2 √n
= 1.65 × √ 81
= 2.0717
Lower bound: x̅ - ME = 74.6 - 2.0717 = 72.5283
Upper bound: x̅ + ME = 74.6 + 2.0717 = 76.6717
Interval: 72.5283 < µ < 76.6717

You might also like