Miðgildið
Miðgildið, often translated as the median, is a statistical measure representing the middle value in a dataset that has been ordered from least to greatest. To find the miðgildið, one must first arrange all the numbers in the set in ascending order. If there is an odd number of data points, the miðgildið is simply the single value in the exact middle of the ordered list. For instance, in the dataset 2, 5, 8, 11, 14, the miðgildið is 8.
If the dataset contains an even number of data points, there are two middle values. In this
The miðgildið is a robust measure of central tendency, meaning it is not significantly affected by extreme