Median (EN)
ConceptMiddle value in an ordered data collection
Median Calculation
flowchart TD A[Data collection] --> B{Number of values} B -->|odd| C[Sort the data] B -->|even| D[Sort the data] C --> E[Select the middle value] D --> F[Select the two middle values] F --> G[Calculate average] E --> H[Median] G --> H In Context
- Typically used together with mean, mode, and quantiles
- Related to: Boxplot, Quartile, Percentile
- Example use: Salary distribution in companies, where extreme salaries distort the mean