平均绝对偏差计算器

查找数据集的平均值绝对偏差(MAD)。

带有逗号或空格的单独数值。
平均绝对偏差 —
平均 —
绝对偏差总和 —
最低 —
最大 —
范围 —
计数 —

输入结果时更新 。

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

关于此计算器

The mean absolute deviation (MAD) is the average distance between each value and the mean, using absolute values so distances never cancel out. It measures spread like the standard deviation but is simpler and less sensitive to outliers, because it does not square the deviations. This calculator reports the MAD together with the mean, range and the sum of absolute deviations it was measured from.

The method is direct: find the mean, take the absolute value of each value’s distance from it, add those distances up and divide by the number of values. Because it averages plain distances rather than squared ones, the MAD is expressed in the original units and is easy to explain to a non-technical audience.

Worked example: for 2, 4, 6, 8, 10 the mean is 6. The absolute deviations are 4, 2, 0, 2, 4, which sum to 12, so the MAD is 12 ÷ 5 = 2.4 — on average each value sits 2.4 units from the mean. The deviation table below lists every value’s distance so you can trace the result.

经常问到的问题

MAD与标准偏差有什么不同?

MAD 平均为绝对偏差,而标准偏差平均为平差,然后取平方根。 由于其不平,MAD对离子的权重较小,而且往往更容易解释,但标准偏差具有更方便的数学属性。

如何用手计算 MAD?

Find the mean, subtract it from each value and take the absolute value of every result, then average those distances. For 2, 4, 6, 8, 10 the mean is 6 and the MAD is (4+2+0+2+4)/5 = 2.4.

绝对偏差是否与平均偏差相同?

是的,这两个词通常都指同一东西:从一个中心点的绝对距离平均数,通常也是中点。 一些教科书衡量中位数的距离,而中位数的距离最小化了总距离,但这个计算器使用平均值。

为何MAD使用绝对值?

高于平均值的偏差是正数,低于平均值的是负数,而低于平均值的偏差总是负数,它们总等于零,因此它们的平平均值是无用的。 以绝对值来截断标记,每个距离都算数,并给真正量度的扩展。

何时我更喜欢MAD而不是标准偏差?

选择 MAD 时, 您需要一个容易解释且对外部线强的扩展度量, 或者当 裁量会超重一些极端值时选择 MAD 。 如果您需要它所输入的数学属性, 比如正常分布或差异测试 。

绝对偏差是零吗?

只有当每个值都等于平均值时,即当所有数字相同,没有扩散,否则MAD总是正数。

❤️ 爱 Calculator.Free? 分享它

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

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

终点

GET https://calculator.free/api/v1/mean-absolute-deviation/

curl

curl "https://calculator.free/api/v1/mean-absolute-deviation/?numbers=2, 4, 6, 8, 10"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/mean-absolute-deviation/?" + new URLSearchParams({
    "numbers": "2, 4, 6, 8, 10"
  }));
const data = await r.json();
console.log(data.results);

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