A data set has two values with the same greatest frequency.

The terms mean, median, mode, and range describe properties of statistical distributions. In statistics, a distribution is the set of all possible values for terms that represent defined events. The value of a term, when expressed as a variable, is called a random variable.

There are two major types of statistical distributions. The first type contains discrete random variables. This means that every term has a precise, isolated numerical value. The second major type of distribution contains a continuous random variable. A continuous random variable is a random variable where the data can take infinitely many values. When a term can acquire any value within an unbroken interval or span, it is called a probability density function.

IT professionals need to understand the definition of mean, median, mode and range to plan capacity and balance load, manage systems, perform maintenance and troubleshoot issues. Furthermore, understanding of statistical terms is important in the growing field of data science.

How are mean, median, mode and range used in the data center?

Understanding the definition of mean, median, mode and range is important for IT professionals in data center management. Many relevant tasks require the administrator to calculate mean, median, mode or range, or often some combination, to show a statistically significant quantity, trend or deviation from the norm. Finding the mean, median, mode and range is only the start. The administrator then needs to apply this information to investigate root causes of a problem, accurately forecast future needs or set acceptable working parameters for IT systems.

When working with a large data set, it can be useful to represent the entire data set with a single value that describes the "middle" or "average" value of the entire set. In statistics, that single value is called the central tendency and mean, median and mode are all ways to describe it. To find the mean, add up the values in the data set and then divide by the number of values that you added. To find the median, list the values of the data set in numerical order and identify which value appears in the middle of the list. To find the mode, identify which value in the data set occurs most often. Range, which is the difference between the largest and smallest value in the data set, describes how well the central tendency represents the data. If the range is large, the central tendency is not as representative of the data as it would be if the range was small.

Mean

The most common expression for the mean of a statistical distribution with a discrete random variable is the mathematical average of all the terms. To calculate it, add up the values of all the terms and then divide by the number of terms. The mean of a statistical distribution with a continuous random variable, also called the expected value, is obtained by integrating the product of the variable with its probability as defined by the distribution. The expected value is denoted by the lowercase Greek letter mu (µ).

Median

The median of a distribution with a discrete random variable depends on whether the number of terms in the distribution is even or odd. If the number of terms is odd, then the median is the value of the term in the middle. This is the value such that the number of terms having values greater than or equal to it is the same as the number of terms having values less than or equal to it. If the number of terms is even, then the median is the average of the two terms in the middle, such that the number of terms having values greater than or equal to it is the same as the number of terms having values less than or equal to it.

The median of a distribution with a continuous random variable is the value m such that the probability is at least 1/2 (50%) that a randomly chosen point on the function will be less than or equal to m, and the probability is at least 1/2 that a randomly chosen point on the function will be greater than or equal to m.

Mode

The mode of a distribution with a discrete random variable is the value of the term that occurs the most often. It is not uncommon for a distribution with a discrete random variable to have more than one mode, especially if there are not many terms. This happens when two or more terms occur with equal frequency, and more often than any of the others.

A distribution with two modes is called bimodal. A distribution with three modes is called trimodal. The mode of a distribution with a continuous random variable is the maximum value of the function. As with discrete distributions, there may be more than one mode.

Range

The range of a distribution with a discrete random variable is the difference between the maximum value and the minimum value. For a distribution with a continuous random variable, the range is the difference between the two extreme points on the distribution curve, where the value of the function falls to zero. For any value outside the range of a distribution, the value of the function is equal to 0.

Using mean to determine power usage

To calculate mean, add together all of the numbers in a set and then divide the sum by the total count of numbers. For example, in a data center rack, five servers consume 100 watts, 98 watts, 105 watts, 90 watts and 102 watts of power, respectively. The mean power use of that rack is calculated as (100 + 98 + 105 + 90 + 102 W)/5 servers = a calculated mean of 99 W per server. Intelligent power distribution units report the mean power utilization of the rack to systems management software.

Using median to plan capacity

In the data center, means and medians are often tracked over time to spot trends, which inform capacity planning or power cost predictions.The statistical median is the middle number in a sequence of numbers. To find the median, organize each number in order by size; the number in the middle is the median. For the five servers in the rack, arrange the power consumption figures from lowest to highest: 90 W, 98 W, 100 W, 102 W and 105 W. The median power consumption of the rack is 100 W. If there is an even set of numbers, average the two middle numbers. For example, if the rack had a sixth server that used 110 W, the new number set would be 90 W, 98 W, 100 W, 102 W, 105 W and 110 W. Find the median by averaging the two middle numbers: (100 + 102)/2 = 101 W.

Using mode to identify a base line

The mode is the number that occurs most often within a set of numbers. For the server power consumption examples above, there is no mode because each element is different. But suppose the administrator measured the power consumption of an entire network operations center (NOC) and the set of numbers is 90 W, 104 W, 98 W, 98 W, 105 W, 92 W, 102 W, 100 W, 110 W, 98 W, 210 W and 115 W. The mode is 98 W since that power consumption measurement occurs most often amongst the 12 servers. Mode helps identify the most common or frequent occurrence of a characteristic. It is possible to have two modes (bimodal), three modes (trimodal) or more modes within larger sets of numbers.

Using range to identify outliers

The range is the difference between the highest and lowest values within a set of numbers. To calculate range, subtract the smallest number from the largest number in the set. If a six-server rack includes 90 W, 98 W, 100 W, 102 W, 105 W and 110 W, the power consumption range is 110 W - 90 W = 20 W.

Range shows how much the numbers in a set vary. Many IT systems operate within an acceptable range; a value in excess of that range might trigger a warning or alarm to IT staff. To find the variance in a data set, subtract each number from the mean, and then square the result. Find the average of these squared differences, and that is the variance in the group. In our original group of five servers, the mean was 99. The 100 W-server varies from the mean by 1 W, the 105 W-server by 6 W, and so on. The squares of each difference equal 1, 1, 36, 81 and 9. So to calculate the variance, add 1 + 1 + 36 + 81 + 9 and divide by 5. The variance is 25.6. Standard deviation denotes how far apart all the numbers are in a set. The standard deviation is calculated by finding the square root of the variance. In this example, the standard deviation is 5.1. 

Interquartile range, the middle fifty or midspread of a set of numbers, removes the outliers -- highest and lowest numbers in a set. If there is a large set of numbers, divide them evenly into lower and higher numbers. Then find the median of each of these groups. Find the interquartile range by subtracting the lower median from the higher median. If a rack of six servers' power wattage is arranged from lowest to highest: 90, 98, 100, 102, 105, 110, divide this set into low numbers (90, 98, 100) and high numbers (102, 105, 110). Find the median for each: 98 and 105. Subtract the lower median from the higher median: 105 watts - 98 W = 7 W, which is the interquartile range of these servers.

We can gain useful information from raw data by organizing them into a frequency distribution and then presenting the data by using various graphs. However, we might be interested in knowing more about our data and describing the data in greater depth. This can be done through  the Measure of Central Tendency ( MCT). 

There are Three types of Measures of Central Tendency:

  • Mean:  The average value of the data set 
  • Median: The middle value in a data set
  • Mode: The most frequent value in a data set

—The Use of MCT depends on the scale of measurement of the data:

A data set has two values with the same greatest frequency.

Mean

  • Mean is the most frequently used MCT. It is the average value in a data set.
  • Mean can be calculated for quantitative data ( Interval & Ratio data). 
  • ​Mean cannot be calculated for qualitative data ( nominal & ordinal data).
  • It is very much susceptible to the presence of extreme values ( high or low values called outliers). In other words, if a data set has an outlier, the value of mean will not be valid. So, data set should be checked for error before performing any analysis. (Cases with values well above or well below the majority of other cases are called outliers)
  • The mean is the sum of the values, divided by the total number of values.
  • The symbol x̄ (X Bar) represents the sample mean. 
  • The symbol μ represents the population mean.
 

A data set has two values with the same greatest frequency.

A data set has two values with the same greatest frequency.


Median

  • It is also called 50th percentile.
  • Median is the middle value in a data set.
  • Median is not sensitive to extreme values. The median is affected less than the mean by extremely high or extremely low values.
  • It is used to find out whether a data value falls into the upper half or lower half of the distribution. For example,  if we found that the median income for college professors is $40,000, it means that one-half of  the professors earn more than $40,000 and one-half earn less than $40,000.
  • For finding median of a data set, first, we should arrange data in order (Arrange from lowest to highest values).  Second, we should calculate the median location [( n+1)/2] and finally locate the median value. 
  • The symbol for the median is MD.                                     
  •                                1, 2, 3, 6 ,8, 10,14          MD=6
  • When there are an odd number of values in the data set, the median will be an actual data value. 
  • When there are an even number of values in the data set, the median will fall between two given values. 

A data set has two values with the same greatest frequency.

Mode

  • Mode corresponds to value with the highest frequency.
  • Mode can be calculated for nominal data  such as religious preference, gender, or political affiliation.
  • Mode is not sensetive to extreme values ( outliers)
  • A data set can be Unimodal, Bimodal, or Multimodal.
  • A unimodal data set has only one value with the greatest frequency 
  • A bimodal data set has two values  with the same greatest frequency (both values are considered to be the mode )
  • A multimodal data set has more than two values  with the same greater frequency (each value is used as the mode)
  • For example:  6 , 6, 6, 7, 7, 9, 9, 9, 10, 10,10
  • When no data value occurs more than once, the data set is said to have no mode. 

A data set has two values with the same greatest frequency.

--If a frequency distribution has a symmetrical frequency curve, the mean, median, and mode are equal.

A data set has two values with the same greatest frequency.

  • If a frequency distribution is positively skewed , then mean is grater than median and median is grater than mode.
  • If a frequency distribution is negatively skewed, then mean is less than median and median is less than mode.

A data set has two values with the same greatest frequency.