askvity

How Do You Find the Median Class on a Graph?

Published in Statistics 3 mins read

Finding the median class on a graph involves identifying the class interval containing the median value of the data. Here's a breakdown of the process:

  1. Understand the Graph Type: The method depends on the graph. We'll primarily focus on graphs derived from grouped frequency distributions, specifically cumulative frequency curves (ogives) and histograms (with grouped data).

  2. Calculate the Median Position (n/2): Determine the total number of data points, denoted as 'n'. Divide 'n' by 2. This value (n/2) represents the position of the median value in the dataset.

  3. Ogive Method (Cumulative Frequency Curve):

    • Locate n/2 on the Cumulative Frequency Axis: Find the value corresponding to n/2 on the y-axis (cumulative frequency).
    • Draw a Horizontal Line: Draw a horizontal line from this point on the y-axis until it intersects the cumulative frequency curve (ogive).
    • Drop a Vertical Line: From the point of intersection on the curve, draw a vertical line down to the x-axis (class boundaries).
    • Read the Value: The class interval on the x-axis within which this vertical line falls is the median class.
  4. Histogram Method (Grouped Data):

    • Calculate Cumulative Frequencies: Determine the cumulative frequency for each class interval.

    • Identify the Median Class: Locate the class interval where the cumulative frequency is first greater than or equal to n/2. This is the median class.

    • (Optional) Estimate the Median Within the Class: You can further estimate the median value (not just the class) using interpolation if required:

      Median = L + [ (n/2 - cf) / f ] * h

      Where:

      • L = Lower limit of the median class
      • n = Total frequency
      • cf = Cumulative frequency of the class preceding the median class
      • f = Frequency of the median class
      • h = Class width
  5. Example:

    Let's say you have the following cumulative frequency distribution:

    Class Interval Frequency Cumulative Frequency
    0-10 5 5
    10-20 8 13
    20-30 12 25
    30-40 7 32
    40-50 3 35

    Here, n = 35. Therefore, n/2 = 17.5. The class whose cumulative frequency is just greater than 17.5 is the 20-30 class (cumulative frequency = 25). Therefore, the median class is 20-30.

  6. Key Considerations:

    • Continuity: Ensure the class boundaries are continuous, especially when using histograms.
    • Equal Class Widths (Histogram Method): The histogram method is generally easier to apply when class intervals have equal widths. If not, adjustments might be needed to ensure accurate representation.
    • Approximation: Remember that identifying the median class (and estimating the median value within that class) provides an approximation of the true median when dealing with grouped data.

Related Articles