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:

  1. Arrange the data in ascending order.
  2. If the number of observations (n) is odd, the median is the middle value.
  3. If n is even, the median is the average of the two middle values.

Example: Given the dataset: [7,3,1,5,9]

  1. Arrange in ascending order: [1,3,5,7,9]
  2. The number of observations n=5 (odd), so the median is the middle value: 5

Popular posts from this blog

Standard Deviation

Range