中位、 模式计算器

查找数字列表的平均值、中位数、模式和范围。

带有逗号或空格的单独值。
平均 —
中 —
模式 —
范围 —
最低 —
第1四分位(第25次) —
3rd quartile (75th) —
最大 —
总总和 —
计数 —

输入结果时更新 。

这个计算器给你正确的答案了吗?

关于此计算器

The mean, median and mode calculator returns the three measures of central tendency for a data set — the mean (arithmetic average), the median (middle value) and the mode (most frequent value) — plus the count, sum, range and the full five-number summary (minimum, first quartile, median, third quartile and maximum). Enter your numbers separated by commas or spaces.

The mean is the sum of all the values divided by how many there are. The median is found by sorting the data and taking the middle value, or the average of the two middle values when the count is even. The mode is whichever value appears most often; when every value is unique there is no mode, and when several values tie for the highest frequency the set is multimodal and all of them are shown.

Worked example: for 4, 8, 15, 16, 15, 23, 42 the sum is 123 across 7 values, so the mean is 123 ÷ 7 ≈ 17.57. Sorting gives 4, 8, 15, 15, 16, 23, 42, so the median (the fourth of seven values) is 15, and 15 is also the mode because it occurs twice while every other value occurs once. A frequency table and distribution chart break the data down value by value, which is useful for grades, survey scores, prices or any list where you need the typical value at a glance.

经常问到的问题

何时没有模式?

当每个值完全发生一次时,数据集没有模式。如果两个或两个以上值共享最高频率,数据集是双模式或多式联运,且其中每个值都是模式。

我应该举报中位数还是中位数?

使用偏斜数据或外部线存在的中位数,因为数据不会被拖到极端值。 平均值对于大约对称数据来说最好,而没有强值外线。

中值和中值之间有什么区别?

平均值通过计算来增加每个值和差数, 所以每个数字会拉动它, 并且一个单一的极端值可以改变它很多。 中位值只是数据排序后的中间值, 从而忽略了极端值的距离。 在对称数据中, 两种数据几乎吻合; 在斜形数据中, 它们分离了 。

当数值偶数时, 中位数是如何找到的?

With an even count there is no single middle value, so the median is the average of the two central values. For 2, 4, 6, 8 the two middle numbers are 4 and 6, giving a median of 5.

数据集是否具有不止一种模式?

是。如果两个或两个以上值对最高频系的比对值是双模式或多式联运,而这一平均值、中位数和模式计算器列出到达最高频度的每一个值,而不是只选一个值。

范围告诉我什么?

The range is the difference between the largest and smallest values, a quick but crude measure of spread. For 4, 8, 15, 16, 15, 23, 42 it is 42 − 4 = 38. Because it uses only the two extremes it is very sensitive to outliers.

成果下四分位数显示多少?

第一和第二四分位数是第25和第75百分位数, 所以数据中半部分在它们之间。 加上最小值、 中位数和最大值, 它们构成描述分布形状的五位数摘要 。

❤️ 爱 Calculator.Free? 分享它

𝕏  X Facebook Reddit
API - 使用代码中的计算器

将此计算器称为自由 JSON 端点 。 不需要按键 。 将字段值发送到下面作为查询参数或 JSON 。 任何您省略的, 都会使用相同的默认值, 此页面预填的默认值是预填的; 未知参数是 400, 而不是静音零 。 读取 API 全部文件 →

终点

GET https://calculator.free/api/v1/mean-median-mode/

curl

curl "https://calculator.free/api/v1/mean-median-mode/?numbers=4, 8, 15, 16, 15, 23, 42"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/mean-median-mode/?" + new URLSearchParams({
    "numbers": "4, 8, 15, 16, 15, 23, 42"
  }));
const data = await r.json();
console.log(data.results);

成果仅是一般指导的估计数,而不是财务、医疗或税务咨询。