Median
Definition:
The median is the middle value of a dataset when it is ordered from smallest to largest. If the dataset has an even number of observations, the median is the average of the two middle values.
Steps to Calculate:
- Arrange the data in ascending order.
- If the number of observations (n) is odd, the median is the middle value.
- If is even, the median is the average of the two middle values.
Example: Given the dataset:
- Arrange in ascending order:
- The number of observations (odd), so the median is the middle value: 5