freeCodeCamp/guide/chinese/mathematics/statistics/median/index.md

21 lines
778 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
title: Median
localeTitle: 中位数
---
## 中位数
#### 定义:
中位数是数据集集中趋势的度量之一。为了找到中值,我们按照从最小值到最大值的顺序排列观察值。如果存在奇数个观测值,则中位数为中间值。如果存在偶数个观测值,则中位数是两个中间值的(平均值)平均值。
#### 例1
在数据集\[3,4,8,6,34,22,5\]中,为了找到中值,我们将该集合排序为\[3,4,5,6,8,22,34\]。中间值即6是中位数。
#### 例1
在数据集\[3,4,8,6,22,5\]中,为了找到中值,我们将集合排序为\[3,4,5,6,8,22\]。平均值为5和6即5.5是中位数。
#### 更多信息:
可在[此处](https://en.wikipedia.org/wiki/Median)找到更详细和严谨的评论