平均絶対偏差計算器
データセットの平均絶対偏差を求める。
結果はタイプすると更新されます。
この計算機の情報
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. This calculator reports the MAD together with the mean, range and the sum of absolute deviations it was measured from. This calculator reports the MAD together with the mean, range and the sum of absolute deviations it was measured from. The MAD is expressed in the original units and is easy to explain to a non-technical audience. 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 that you can trace the result.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.TheWorked 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.4The MAD is 2.4 ÷ 5 = 2.4The MAD is 2.4 ÷ 5 = 2.4The MAD is 2.4 ÷ 5 = 2.4 ÷ 5Worked example: for 2, 4, 6, 8, 10The MAD is 2.4 ÷ 5 = 2.4The MAD is 2.4 ÷ 5Worked example: for 2, 4, 6, 8, 10The MAD is 2.4 ÷ 5 = 2.4Worked example:Worked example: for 2,
よくある質問
MADは標準偏差とどのように異なるのか。
MADは絶対偏差を平均化しますが、標準偏差は二乗偏差を平均化し、二乗根を取ります。二乗しないので、MADは異常値に重みを与えず、説明が容易です。しかし、標準偏差はより便利な数学的性質を持っています。
MAD を手動で計算するにはどうしますか?
平均を求め、それを各値から差し引いて、それぞれの結果の絶対値を取って、距離の平均を求めます。2, 4, 6, 8, 10 の場合、平均は 6 で、MAD は (4+2+0+2+4)/5 = 2.4 です。
平均絶対偏差は平均偏差と同じであるか。
はい、二つの用語は通常同じものを指します。中心点からの絶対距離の平均、通常は平均です。一部の教科書では、全距離を最小化するために、中央値からの距離を測定しますが、この計算機は平均を使用します。
なぜMADは絶対値を使うのか?
平均値以上の偏差は正で、平均値以下の偏差は負で、常にゼロになります。平均値は無意味です。絶対値を取ると符号が消え、距離が全て重要になります。これは分散の真の測定値です。
標準偏差よりもMADを選ぶべき時は?
説明しやすく、異常値に対してロバストな分布測度を求める場合、または二乗法が極端な値を重み付けする場合は MAD を選択します。標準偏差は、正規分布や分散ベーステストのような数学的な性質を必要とする場合に選択します。
平均絶対偏差は0になるか?
すべての値が平均に等しいときのみ、すなわちすべての数が同じでスプレッドがないときにのみ、MAD は常に正の数になります。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信します。 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);
結果は一般的な指導のための推定であり,財務的,医療的または税務的なアドバイスではない。