Professional Documents
Culture Documents
Statistika Deskriptif-S2
Statistika Deskriptif-S2
DESCRIPTIVE STATISTICS
BY
NURITA ANDAYANI
created by Nurita 1
7/24/2008
created by Nurita 2
7/24/2008
created by Nurita 3
7/24/2008
Other Types Of
Frequency Distributions
• Relative frequency distribution shows the
frequency of each class as a part or fraction of
the total frequency for the entire distribution
Class frequency
Total number of observations
• Cumulative frequency distribution shows the
total number of observations at or below each
class
Mean
• Ungrouped Data
n
x i
x i 1
n
• Grouped Data
k x is thesamplemean
fm
i 1
i i f is frequencyin each class
m representsthemidpointfor each classin thesample
x n is thenumber of observationsin thesample
n
Nurita Andayani, S.Si., M.Si.
created by Nurita 4
7/24/2008
Mean
• Grouped Data (coding)
example
Class 1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45
Code (u) -4 -3 -2 -1 0 1 2 3 4
(x0)
u f
x0 is value of the midpoint assigned the code 0
i i f is frequency in each class
x x0 w i 1
w is numerical width of the class interval
n
u is code assigned to each class
n is the number of observations in the sample
Other mean
• Geometric mean : to find growth rate or to know an
average rate of change
GM n x1 x2 xn
• Harmonic mean : n
HM n
1
x
i 1 i
• Weighted mean : to calculate an average that takes into
account the importance of each value to the overall total
n
(w x ) i i
xw i 1
n
w
i 1
i
created by Nurita 5
7/24/2008
Median
• Ungrouped Data
n 1
Median the th item in data array
2 w = class interval width
F = sum of all the class frequencies up to,
but not including the median class
• Grouped Data fm = frequency of the median class
Lm = Lower limit of the median class interval
n/2F
Median Lm w
fm
Mode
• Ungrouped Data
– The mode is that value that is repeated most often in the
data set (modus merupakan nilai yang sering muncul)
• Grouped Data
d1
Mo LMo w
d1 d 2
LMo=lower limit of the modal class
d1 = frequency of the modal class minus the frequency of the class directly below it
d2 = frequency of the modal class minus the frequency of the class directly above it
w = width of the modal class interval
Nurita Andayani, S.Si., M.Si.
created by Nurita 6
7/24/2008
f m x
i 1
i i
MD
n
Nurita Andayani, S.Si., M.Si.
Variance
n
• Ungrouped Data
S 2
(x x)
i 1
i
2
/(n 1)
n
S2 ( x i
2
nx 2 ) /(n 1)
• Grouped Data i 1
i 1
fi mi 2 nx 2
S
2
n 1
Nurita Andayani, S.Si., M.Si.
created by Nurita 7
7/24/2008
Quartile
• Ungrouped Data
– Lower (first) quartile = Q1 = 25th percentile
– Second quartile (or median) = Q2 = 50th percentile
– Upper (third) quartile = Q3 = 75th percentile
• Grouped Data
k w = class interval width
Q1 LQ1 w(n / 4 F
i 1
Q1 ) / fQ1
FQi = sum of all the class
frequencies up to ,but not including the
ith quartile class
k fQi = frequency of the ith quartile class
Q3 LQ3 w(3n / 4 F
i 1
Q3 ) / fQ3
LQi = Lower limit of the ith quartile class
interval
Percentile
k
100pth percentile L p w( p.n F ) / f
i 1
p p
created by Nurita 8
7/24/2008
194 147 160 158 178 162 131 106 157 154
Question
1. Group the data into a frequency
distribution (contains : data grouped,
midpoint, lower limit class, tally,
frequency, cumulative frequency, and
relative frequency
2. Calculate the mean, the median, the
mode from the grouped data
3. Calculate the variance, the quartiles, and
the 70th percentile
Good Luck
created by Nurita 9
7/24/2008
Latihan
Cari :
Diameter (m) Jumlah partikel 1. rata-rata
2. Variasi
0–9 25 3. Modus
4. Median
10 – 19 35 5. Kuartil 3
20 – 29 15
30 – 39 25
jumlah 100
Nurita Andayani, S.Si., M.Si.
created by Nurita 10
7/24/2008
created by Nurita 11
7/24/2008
Informasi di dalam Boxplot: Minimum, Q1, Median (Q2), Q3, dan Maksimum
created by Nurita 12
7/24/2008
Ogive
Pie Chart
Pie Chart Pemilih
created by Nurita 13
7/24/2008
Bar Chart
created by Nurita 14