Thiết bị tính toán lệch trung bình tuyệt đối
Tìm độ lệch tuyệt đối trung bình (MAD) của một tập dữ liệu.
Kết quả cập nhật khi bạn gõ.
Về máy tính này
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 MAD is expressed in the original units and is easy to explain to a non-technical audience.The mean absolute deviation (MAD) is the average distance between each value and the mean, using absolute values so distances never cancel out. 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. The MAD is expressed in the original units and is easy to trace.The MAD is expressed in the original units and is easy to trace.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original units.The MAD is expressed in the original
Câu hỏi thường gặp
MAD khác với lệch chuẩn như thế nào?
MAD tính trung bình của các sai số tuyệt đối, trong khi lệch chuẩn tính trung bình của các sai số bình phương và sau đó lấy căn bậc hai. Bởi vì nó không tính bình phương, MAD cho ít trọng lượng cho các sai số và thường dễ giải thích hơn, nhưng lệch chuẩn có các tính chất toán học tiện lợi hơn.
Làm sao để tính toán MAD bằng tay?
Tìm trung bình, trừ nó khỏi mỗi giá trị và lấy giá trị tuyệt đối của mỗi kết quả, sau đó tính trung bình khoảng cách đó. Đối với 2, 4, 6, 8, 10 trung bình là 6 và MAD là (4+2+0+2+4)/ 5 = 2. 4.
Lệch tuyệt đối trung bình có giống với lệch trung bình không?
Có, hai thuật ngữ thường đề cập đến cùng một thứ: trung bình của khoảng cách tuyệt đối từ một điểm trung tâm, thường là trung bình. Một số sách giáo khoa đo khoảng cách từ trung bình thay vì trung bình, điều này làm giảm khoảng cách tổng thể, nhưng máy tính này sử dụng trung bình.
Tại sao MAD sử dụng giá trị tuyệt đối?
Các sai số trên trung bình là dương và dưới trung bình là âm, và chúng luôn luôn tổng bằng 0, vì vậy trung bình đơn giản của chúng là vô dụng. Lấy giá trị tuyệt đối sẽ xóa dấu hiệu để mỗi khoảng cách được tính, cho phép đo lường sự phân tán thật sự.
Khi nào tôi nên chọn MAD thay vì lệch chuẩn?
Chọn MAD khi bạn muốn một phép đo phân tán dễ hiểu và mạnh mẽ đối với các giá trị ngoại lệ, hoặc khi bình phương sẽ tăng trọng lượng một vài giá trị cực. Lệch chuẩn được ưa thích khi bạn cần các tính chất toán học nó cung cấp, như phân phối chuẩn hay thử nghiệm dựa trên biến.
Liệu độ lệch tuyệt đối trung bình có thể bằng 0 không?
Chỉ khi mỗi giá trị bằng trung bình — tức là, khi tất cả các con số là giống nhau và không có sự phân tán. Nếu không thì MAD luôn luôn là một con số dương.
API — dùng máy tính này từ mã
Gọi máy tính này như một điểm cuối JSON miễn phí — không cần chìa khóa. Gửi giá trị trường dưới như tham số yêu cầu hoặc JSON. Đọc toàn bộ tài liệu API →
Điểm kết thúc
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);
Kết quả là ước tính chỉ cho hướng dẫn chung, không phải là tư vấn tài chính, y tế hoặc thuế.