Professional Documents
Culture Documents
2201925084 1
LOB7
= 92.3
𝟗𝟎+𝟗𝟏
Median = = 90.5
𝟐
Modus = 84
b. Calculate the range, variance, standard deviation, and coefficient of variation.
Range = 𝒙𝒕𝒆𝒓𝒃𝒆𝒔𝒂𝒓 - 𝒙𝒕𝒆𝒕𝒆𝒓𝒌𝒆𝒄𝒊𝒍 = 144 – 65 = 79
∑𝒏
𝒊=𝟏 (𝒙𝒊 − 𝒙
̅)
Variansi 𝒔̅ = 𝒏−𝟏
(𝟔𝟓−𝟗𝟐,𝟑)𝟐 +(𝟔𝟗−𝟗𝟐,𝟑)𝟐 + (𝟕𝟒−𝟗𝟐,𝟑)𝟐 +...…+ (𝟏𝟒𝟒−𝟗𝟐,𝟑)𝟐
𝒔̅ = = 341.6947
𝟏𝟗
𝟐 ∑𝒏 (𝒙𝒊 − 𝒙
̅)
Standar deviasi S = √ 𝒊=𝟏
= 𝟐√𝟑𝟒𝟏, 𝟔𝟗𝟒𝟕 = 18.4849
𝒏−𝟏
𝒔 𝟏𝟖,𝟒𝟖𝟒𝟗
CV = 𝒙̅ = = 0,2002 = 20%
𝟗𝟐,𝟑
ASTRID GABRIELA HASSAN
2201925084 2
LOB7
c. Calculate the Z-scores. Are there any outliers?
Z = (𝒙 - µ) / 𝝈
Data Z score
65 -1.47687 Nilai z-score < -3 dan > +3 dikategorikan sebagai
69 -1.26048 outlier. Pada hasil perhitungan z-score tidak
74 -0.98999 terdapat nilai <3 dan > 3 (tidak ada outlier).
75 -0.93589
79 -0.7195
81 -0.61131
84 -0.44901
90 -0.12443
91 -0.07033
94 0.091967
97 0.25426
99 0.362456
104 0.632946
108 0.849338
112 1.06573
115 1.228024
144 2.796864
d. Describe the shape of the data set, especially the skewness.
Data
65 -20346.417
69 -12649.337
74 -6128.487
75 -5177.717
79 -2352.637
81 -1442.897
84 -571.787
84 -571.787
84 -571.787
90 -12.167
91 -2.197
94 4.913
97 103.823
97 103.823
99 300.763
104 1601.613
108 3869.893
112 7645.373
115 11697.083
144 138188.41
Total 113688.48
ASTRID GABRIELA HASSAN
2201925084 3
LOB7
𝒏 ̅ )𝟑
(𝒙𝒊 −𝒙 𝟐𝟎 𝟏𝟏𝟑,𝟔𝟖𝟖.𝟒𝟖
Skewness = (𝒏−𝟏)(𝒏−𝟐) ∑ = 𝟏𝟗 𝐱 𝟏𝟖 x = 1.0525
𝒔𝟑 𝟔,𝟑𝟏𝟔.𝟐𝟐
Berdasarkan data di atas nilai Mean > Median, maka bentuk distribusinya adalah
right skewed dimana mean berada di sebelah kanan median. Nilai skewness
adalah +1.0525 yang berarti memiliki kemiringan positif.
2. A set of data has a mean of 69 and standard deviation of 12.
a. Use the Chebyshev’s theorem to calculate the percentage of data within the
range of 51 to 87.
69-51 = 18 poin di bawah rata-rata ; 87-69 = 18 poin di atas rata-rata
Proporsi data yang ada di antara 18/12 = 1.5 standar derivasi dari rata-rata
1 1
Persentasi nilai di antara 1.5 standar derivasi = 1 - 𝑘 2 = 1 - 1,52 = 0.5556 = 55.56%
Bentuk grafik di atas adalah right skewed, dimana jarak antara median dan nilai
maksimum lebih besar daripada jarak median dan nilai minimum dan dapat
dilihat juga pada tail/garis sebelah kanan lebih panjang daripada tail/garis
sebelah kiri.
d. Another approach to identify outliers is based upon the values of Q1, Q3 and
IQR. Using this method, we first compute the following lower and upper limits:
Lower limit = Q1 – 1.5(IQR) = 79 – 1.5(25) = 79 – 37.5 = 41.5
Upper limit = Q3 + 1.5(IQR) = 104 + 1.5 (25) = 104 + 37.5 = 141.5
An observation is classified as an outlier if its value is less than the lower limit or
greater than the upper limit.
Based on this method, are there any outliers in the given set of data?
Outlier pada data di atas adalah 144 (> 141.5)
4. The following set of data lists the calories and sugar (in grams) in one serving of eight
breakfast cereals:
Cereal Calories Sugar xi - 𝒙̅ yi - 𝒚̅ Product (xi - 𝒙̅)2 ̅̅̅2
(yi - 𝒚)
(x) (y)
A 80 6 -43.375 0.375 -16.2656 1881.391 0.140625
B 100 2 -23.375 -3.625 84.73438 546.3906 13.14063
C 90 4 -33.375 -1.625 54.23438 1113.891 2.640625
D 110 4 -13.375 -1.625 21.73438 178.8906 2.640625
E 130 5 6.625 -0.625 -4.14063 43.89063 0.390625
F 190 11 66.625 5.375 358.1094 4438.891 28.89063
G 200 10 76.625 4.375 335.2344 5871.391 19.14063
H 87 3 -36.375 -2.625 95.48438 1323.141 6.890625
∑ 987 45 929.125 15397.88 73.875
Mean 123.375 5.625
n 8
ASTRID GABRIELA HASSAN
2201925084 5
LOB7
a. Compute the covariance.
∑𝒏
𝒊=𝟏 (𝒙𝒊 − 𝒙
̅) (𝒚𝒊 −𝒚
̅) 𝟗𝟐𝟗,𝟏𝟐𝟓
cov (x,y) = = = 132.7321429
𝒏−𝟏 𝟕
Memiliki hubungan positif yang kuat antara kalori dan gula, semakin tinggi nilai
gula pada sereal maka akan semakin tinggi pula nilai kalori sereal.
ASTRID GABRIELA HASSAN
2201925084 6
LOB7
OUTPUT PHSTAT
Variable
Mean 92.3
Median 90.5
Mode 84
Minimum 65
Maximum 144
Range 79
Variance 341.6947
Standard Deviation 18.4850
Coeff. of Variation 20.03%
Skewness 1.0526
Kurtosis 1.8788
Count 20
Standard Error 4.1334
Five-Number
Summary
Minimum 65
First Quartile 77
Median 91
Third Quartile 106
Maximum 144
Regression Statistics
Multiple R 0.8712
R Square 0.7589
Adjusted R Square 0.7187
Standard Error 1.7229
Observations 8