# How do you calculate the mean, median of a distribution? ###### Author

👋 Hey guys! Today we’re talking about how to calculate the mean and median of a distribution. These are important statistical tools used to describe a set of data. Let’s dive in!

First, let’s talk about the mean. The mean is the average value in a dataset. It’s calculated by adding up all the values and dividing by the number of values. 🧮

For example, let’s say you have a dataset of 5 numbers: 2, 4, 6, 8, and 10. To find the mean, you would add up all the numbers (2+4+6+8+10) and then divide by the total number of values (5). The mean would be 6.

Now, let’s talk about the median. The median is the middle value in a dataset when the values are listed in order. If there’s an odd number of values, the median is the middle value. If there’s an even number of values, the median is the average of the two middle values. 📈

For example, let’s say you have a dataset of 6 numbers: 1, 3, 5, 7, 9, and 11. To find the median, you would list the values in order: 1, 3, 5, 7, 9, 11. Since there’s an even number of values, you would take the average of the two middle values, which are 5 and 7. The median would be 6.

So there you have it! 🎉 The mean and median are both important measures of central tendency in a distribution. Keep practicing, guys! 👨‍🎓👩‍🎓