Definition

# statistical mean, median, mode and range

Contributor(s): Andrew Giles-Peters

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.

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.

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

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. These various tasks dictate that the administrator 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.

### 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.

This was last updated in July 2019

#### Join the conversation

Send me notifications when other members comment.
Very helpful.. Thank you. It would be better if you put example also. :)
Cancel
Has a miscalculation in mean, median, mode or range affected your data center's power consumption measurements? How?
Cancel
when mean median mode are miscalculation then our data will be affected. now suppose we have a data of a foot wear shop.shopkeeper want to 5 no shoues because its sell more than other number so it is mode if we change 5 to 6 then how to sell the foot wear because max no of customer want to 5 no shoues.
Cancel
what is the significance of mean,median and mode in research

Cancel
it is nice to have coversation with.......can you please explain the importance of mean,median,mode

Cancel
what is the meaning of PPMC?
Cancel
This is a nice conversation cause helps me to understand more about statistics and other mathematical calculations.
Cancel
Very very helpful. Thank you so much.
Cancel
Very helpful. Please mention the practical uses of Mean, Median and Standard Deviation in research.
Cancel
It does not affect since these measures are as pictures of what is going on. It might be that a wrong interpretation of data due to wrong calculation might lead to wrong actions that will affect back the observed data.
Cancel
What if there are more than one value that is repeated often in a data set (For example: 2,2,45,6,6,90 ; 2 and 6 are repeated 2 times. What would be the mode for the given dataset?)
Cancel
There can be more than one mode in a set of data.
Cancel
Cancel
tank you

Cancel
hi you are you

Cancel
https://www.youtube.com/watch?v=VLVVbCMDcfE this video can help to calculate statistic in excel
Cancel

## SearchWindowsServer

• ### Boost Windows Server performance with these 10 tips

A small investment in time to execute these Windows Server performance tuning tips and techniques can optimize server workloads ...

A move to Office 365 doesn't require cutting the cord from on-premises Active Directory, but it is an option. Here's what you ...

• ### Windows zero-day shut down on November Patch Tuesday

In addition to fixing the exploited Windows flaw, Microsoft rolls out a new look to the Security Update Guide that draws some ...

## SearchServerVirtualization

• ### Use virtual clusters to avoid container sprawl

Virtual clusters enable admins to deploy, track and manage containers across various systems to ensure performance, security and ...

• ### Software-defined power offers benefits, but lacks popular interest

Virtualized power systems promise to ease deployment and maintenance, but the market is still in its nascency.

• ### Mini PCs for business offer improved performance, reduced costs

Mini PCs are a low-cost hardware alternative to servers that enable organizations to maintain maximum data center features and ...

## SearchCloudComputing

• ### A conference guide to AWS re:Invent 2020

Stay on top of the latest news, analysis and expert advice from this year's re:Invent conference.

• ### Cognito user pools vs. identity pools -- what AWS users should know

Familiarize yourself with user pools and identity pools in Amazon Cognito and learn how to better protect your workloads in a ...

• ### How to containerize legacy applications in an Azure migration

There are many benefits to containerization as part of a migration, but only for the right type of app. If you're moving to Azure...

Close