Click the button below to see similar posts for other categories

In What Situations Is the Median More Informative Than the Mean?

When we want to summarize a group of numbers, two important ways to do this are the mean and the median. Each of these measures can tell us something different about the data. However, there are times when the median gives us a clearer picture than the mean. Let’s look at when the median is better to use.

1. Outliers

One big reason to use the median is because it is not affected by outliers. An outlier is a number that is very different from the others in the group. For example, look at these incomes (in thousands of dollars):

  • 30,35,40,45,50,100030, 35, 40, 45, 50, 1000

If we want to find the mean, we first add up the numbers:

30+35+40+45+50+1000=120030 + 35 + 40 + 45 + 50 + 1000 = 1200

Then, we divide by how many numbers there are (6):

Mean=12006=200\text{Mean} = \frac{1200}{6} = 200

This mean of 200 makes it seem like everyone is earning a lot, but that’s because of the outlier of $1000.

If we find the median, we look at the middle numbers when we put the list in order. The middle numbers here are 40 and 45:

Median=40+452=42.5\text{Median} = \frac{40 + 45}{2} = 42.5

So, the median is 42.5. This number gives a much better idea of what a typical income is in this group.

2. Skewed Distributions

Sometimes, data is not evenly spread out. This can happen when the mean gets pulled in one direction by extreme values. For example, with these exam scores:

  • 50,52,54,56,58,70,95,98,100,10050, 52, 54, 56, 58, 70, 95, 98, 100, 100

Calculating the mean here looks like this:

Mean=50+52+54+56+58+70+95+98+100+10010=68310=68.3\text{Mean} = \frac{50 + 52 + 54 + 56 + 58 + 70 + 95 + 98 + 100 + 100}{10} = \frac{683}{10} = 68.3

Now, to find the median, we look at the 5th and 6th scores:

Median=58+702=64\text{Median} = \frac{58 + 70}{2} = 64

In this case, the mean is 68.3, which is higher. The median of 64 gives us a better understanding of what a typical score looks like.

3. Ordinal Data

The median is also great for ordinal data. This means the data can be ranked, but we can't say how much better one rank is than another.

For instance, if people rated their satisfaction from 1 to 5 like this:

  • 1,1,2,3,4,5,5,5,5,51, 1, 2, 3, 4, 5, 5, 5, 5, 5

If we try to find the mean, it wouldn’t give us a good picture since the gaps are not equal.

Instead, the median shows:

Median=5\text{Median} = 5

This means that at least half of the people rated their satisfaction as 5, which helps us understand the overall satisfaction better.

Conclusion

In summary, while the mean gives us a broad view, using the median can be clearer in cases with outliers, uneven distributions, or ordinal data. By using the median, we can better understand what the data really shows. For those of you interested in data science, it’s important to use the right statistics for the right situations. This will help you make better decisions and get clearer insights.

Related articles

Similar Categories
Programming Basics for Year 7 Computer ScienceAlgorithms and Data Structures for Year 7 Computer ScienceProgramming Basics for Year 8 Computer ScienceAlgorithms and Data Structures for Year 8 Computer ScienceProgramming Basics for Year 9 Computer ScienceAlgorithms and Data Structures for Year 9 Computer ScienceProgramming Basics for Gymnasium Year 1 Computer ScienceAlgorithms and Data Structures for Gymnasium Year 1 Computer ScienceAdvanced Programming for Gymnasium Year 2 Computer ScienceWeb Development for Gymnasium Year 2 Computer ScienceFundamentals of Programming for University Introduction to ProgrammingControl Structures for University Introduction to ProgrammingFunctions and Procedures for University Introduction to ProgrammingClasses and Objects for University Object-Oriented ProgrammingInheritance and Polymorphism for University Object-Oriented ProgrammingAbstraction for University Object-Oriented ProgrammingLinear Data Structures for University Data StructuresTrees and Graphs for University Data StructuresComplexity Analysis for University Data StructuresSorting Algorithms for University AlgorithmsSearching Algorithms for University AlgorithmsGraph Algorithms for University AlgorithmsOverview of Computer Hardware for University Computer SystemsComputer Architecture for University Computer SystemsInput/Output Systems for University Computer SystemsProcesses for University Operating SystemsMemory Management for University Operating SystemsFile Systems for University Operating SystemsData Modeling for University Database SystemsSQL for University Database SystemsNormalization for University Database SystemsSoftware Development Lifecycle for University Software EngineeringAgile Methods for University Software EngineeringSoftware Testing for University Software EngineeringFoundations of Artificial Intelligence for University Artificial IntelligenceMachine Learning for University Artificial IntelligenceApplications of Artificial Intelligence for University Artificial IntelligenceSupervised Learning for University Machine LearningUnsupervised Learning for University Machine LearningDeep Learning for University Machine LearningFrontend Development for University Web DevelopmentBackend Development for University Web DevelopmentFull Stack Development for University Web DevelopmentNetwork Fundamentals for University Networks and SecurityCybersecurity for University Networks and SecurityEncryption Techniques for University Networks and SecurityFront-End Development (HTML, CSS, JavaScript, React)User Experience Principles in Front-End DevelopmentResponsive Design Techniques in Front-End DevelopmentBack-End Development with Node.jsBack-End Development with PythonBack-End Development with RubyOverview of Full-Stack DevelopmentBuilding a Full-Stack ProjectTools for Full-Stack DevelopmentPrinciples of User Experience DesignUser Research Techniques in UX DesignPrototyping in UX DesignFundamentals of User Interface DesignColor Theory in UI DesignTypography in UI DesignFundamentals of Game DesignCreating a Game ProjectPlaytesting and Feedback in Game DesignCybersecurity BasicsRisk Management in CybersecurityIncident Response in CybersecurityBasics of Data ScienceStatistics for Data ScienceData Visualization TechniquesIntroduction to Machine LearningSupervised Learning AlgorithmsUnsupervised Learning ConceptsIntroduction to Mobile App DevelopmentAndroid App DevelopmentiOS App DevelopmentBasics of Cloud ComputingPopular Cloud Service ProvidersCloud Computing Architecture
Click HERE to see similar posts for other categories

In What Situations Is the Median More Informative Than the Mean?

When we want to summarize a group of numbers, two important ways to do this are the mean and the median. Each of these measures can tell us something different about the data. However, there are times when the median gives us a clearer picture than the mean. Let’s look at when the median is better to use.

1. Outliers

One big reason to use the median is because it is not affected by outliers. An outlier is a number that is very different from the others in the group. For example, look at these incomes (in thousands of dollars):

  • 30,35,40,45,50,100030, 35, 40, 45, 50, 1000

If we want to find the mean, we first add up the numbers:

30+35+40+45+50+1000=120030 + 35 + 40 + 45 + 50 + 1000 = 1200

Then, we divide by how many numbers there are (6):

Mean=12006=200\text{Mean} = \frac{1200}{6} = 200

This mean of 200 makes it seem like everyone is earning a lot, but that’s because of the outlier of $1000.

If we find the median, we look at the middle numbers when we put the list in order. The middle numbers here are 40 and 45:

Median=40+452=42.5\text{Median} = \frac{40 + 45}{2} = 42.5

So, the median is 42.5. This number gives a much better idea of what a typical income is in this group.

2. Skewed Distributions

Sometimes, data is not evenly spread out. This can happen when the mean gets pulled in one direction by extreme values. For example, with these exam scores:

  • 50,52,54,56,58,70,95,98,100,10050, 52, 54, 56, 58, 70, 95, 98, 100, 100

Calculating the mean here looks like this:

Mean=50+52+54+56+58+70+95+98+100+10010=68310=68.3\text{Mean} = \frac{50 + 52 + 54 + 56 + 58 + 70 + 95 + 98 + 100 + 100}{10} = \frac{683}{10} = 68.3

Now, to find the median, we look at the 5th and 6th scores:

Median=58+702=64\text{Median} = \frac{58 + 70}{2} = 64

In this case, the mean is 68.3, which is higher. The median of 64 gives us a better understanding of what a typical score looks like.

3. Ordinal Data

The median is also great for ordinal data. This means the data can be ranked, but we can't say how much better one rank is than another.

For instance, if people rated their satisfaction from 1 to 5 like this:

  • 1,1,2,3,4,5,5,5,5,51, 1, 2, 3, 4, 5, 5, 5, 5, 5

If we try to find the mean, it wouldn’t give us a good picture since the gaps are not equal.

Instead, the median shows:

Median=5\text{Median} = 5

This means that at least half of the people rated their satisfaction as 5, which helps us understand the overall satisfaction better.

Conclusion

In summary, while the mean gives us a broad view, using the median can be clearer in cases with outliers, uneven distributions, or ordinal data. By using the median, we can better understand what the data really shows. For those of you interested in data science, it’s important to use the right statistics for the right situations. This will help you make better decisions and get clearer insights.

Related articles