Glossary‎ > ‎Indonesian - Glosarium‎ > ‎

Rata-rata / Median

Rata-rata:

In mathematics Median is the numeric value separating the higher half(top half numeric values)
from the lower half(bottom half numeric values).

Example 1)

If we have a set or a string of numbers(numeric values).

2 | 3 | 5 | 8 | 1 | 9 | 4

First we start sorting the values.

1 | 2 | 3 | 4 | 5 | 8 | 9

Then we sort the number that separate the higher half from the lower half.

 1 higher half 2 higher half 3 higher half 4 Median 5 lower half 8 lower half 9 lower half
.
Number 4 is Median value in Example 1.

Example 2)

If we have this time an even string of numbers, things are getting more complicated.

1 | 7 | 5 | 3 | 9 | 20 | 2 | 15

First we start sorting the values.

1 | 2 | 3 | 5 | 7 | 9 | 15 |20

Then we sort the number that separate the higher half from the lower half.

 1 higher half 2 higher half 3 higher half 5 7 9 lower half 15 lower half 20 lower half

In this example(even string of numbers), we have two numbers that separate the higher half from the lower half.
Unlike Example 1, to find out the Median value, we have to calculate the average of two numbers.

The average of two numbers equal the sum(of two numbers) divided by 2.

The average of A and B equal (A + B) / 2

In Example 2, we have number 5 plus number 7 divided by 2.

(5 + 7) / 2 = 12 / 2 = 6

 1 2 3 5 Median value is  6 7 the average of 5 and 7 9 15 20