平均数、中位数、众数计算器

计算数据集的平均数、中位数、众数、极差及其他统计量

格式示例:"5, 7, 3" 或 "5 7 3" 或每行一个数字

结果

平均数
6.625

The average of all values. Add all numbers and divide by the count.

中位数
6

The middle value when numbers are sorted. If there's an even count, it's the average of the two middle values.

众数
5

The value(s) that appear most frequently. There can be multiple modes or no mode at all.

极差
9

The difference between the largest and smallest values. Shows the spread of data.

数据个数 (n)
8
总和
53
排序后的数据集:
[3, 5, 5, 5, 7, 7, 9, 12]

统计学定义

平均数

The arithmetic mean is calculated by adding all values in a data set and dividing by the number of values. It represents the central tendency of the data.

中位数

The median is the middle value in a sorted data set. For an even number of values, it is the average of the two middle numbers. It is less affected by outliers than the mean.

众数

The mode is the value that appears most frequently in a data set. A data set may have one mode, multiple modes, or no mode if all values appear with equal frequency.

极差

The range measures the spread of data by calculating the difference between the maximum and minimum values. A larger range indicates more variability in the data.

Mathify – 几秒钟内计算任何内容