Types of Data in Statistics: A Complete Guide

    By Oge Nwaozuzu6 min readUpdated: March 8, 2026

    Why Data Types Matter

    Not every number deserves the same statistical treatment. Calculating the mean of jersey numbers or the median of eye colours produces nonsense. Understanding data types prevents these mistakes and determines which summary statistics — including the five number summary — are appropriate for a given dataset.

    The Four Levels of Measurement

    In 1946, psychologist Stanley Smith Stevens proposed four levels of measurement that remain the standard classification in statistics:

    Nominal Data

    Nominal data consists of labels or categories with no inherent order. Values can be compared for equality (same or different) but cannot be ranked, added, or averaged.

    • Examples: Blood type (A, B, AB, O), country of birth, eye colour, marital status.
    • Appropriate statistics: Mode, frequency counts, proportions.
    • Not appropriate: Mean, median, five number summary, standard deviation.

    Ordinal Data

    Ordinal data has a meaningful order, but the intervals between values are not necessarily equal. The difference between "strongly agree" and "agree" is not guaranteed to be the same as the difference between "agree" and "neutral."

    • Examples: Likert scale responses, educational level (primary, secondary, tertiary), pain severity (mild, moderate, severe), race finishing positions (1st, 2nd, 3rd).
    • Appropriate statistics: Median, mode, percentiles, IQR.
    • Debated: Mean (commonly computed on Likert scales in practice, but technically questionable).

    Five Number Summary & Ordinal Data

    The five number summary can be applied to ordinal data when values are numerically coded (1–5 Likert scales, for example). The median and quartiles are meaningful because they rely on ordering, not on equal intervals. However, interpret with caution — a Q1 of 2 does not mean "twice as much" as Q1 of 1.

    Interval Data

    Interval data has a meaningful order and equal intervals between values, but no true zero point. The zero on an interval scale is arbitrary — it does not mean "none."

    • Examples: Temperature in Celsius or Fahrenheit, calendar years, IQ scores, SAT scores.
    • Appropriate statistics: Mean, median, standard deviation, five number summary, all percentiles.
    • Not appropriate: Ratios ("40°C is not twice as hot as 20°C").

    Ratio Data

    Ratio data has all the properties of interval data plus a true zero point. Zero means "none" — zero kilograms is no mass, zero seconds is no time.

    • Examples: Height, weight, income, distance, age, time, count data.
    • Appropriate statistics: All — mean, median, mode, five number summary, standard deviation, geometric mean, coefficient of variation.

    Quantitative vs. Qualitative

    A broader classification divides data into two families:

    • Qualitative (categorical): Nominal and ordinal data. Describes qualities or categories.
    • Quantitative (numerical): Interval and ratio data. Represents measurable quantities.

    Quantitative data splits further into:

    • Discrete: Countable values with gaps between them (number of children, dice rolls, defects per batch).
    • Continuous: Values that can take any number within a range (height, temperature, time). Continuous data is the most natural fit for the five number summary and box plots.

    Which Summary Statistics Apply?

    StatisticNominalOrdinalIntervalRatio
    Mode✓✓✓✓
    Median✗✓✓✓
    Mean✗⚠✓✓
    Five Number Summary✗⚠✓✓
    Standard Deviation✗✗✓✓
    Coefficient of Variation✗✗✗✓

    ✓ = appropriate, ✗ = not appropriate, ⚠ = sometimes used but technically debatable.

    Common Mistakes with Data Types

    • Treating coded categories as numbers. A dataset where 1 = Male, 2 = Female, 3 = Other is nominal, not ratio. Computing a mean of 1.7 is meaningless.
    • Averaging ordinal scales without acknowledgement. Computing the mean of a 1–5 satisfaction scale is common practice, but the result should be interpreted with awareness that intervals may not be equal.
    • Ignoring discrete vs. continuous. A five number summary of "number of children" can produce Q1 = 1.5, which has no real-world meaning. Rounding or acknowledging the discreteness is appropriate.
    • Computing ratios on interval data. Saying "80°F is twice as hot as 40°F" is incorrect because Fahrenheit has no true zero. Converting to Kelvin (which has a true zero) would make the ratio meaningful.

    Decision Rule

    Before calculating any summary statistic, ask: "Can I meaningfully order these values?" If no → nominal (use mode only). If yes → "Are the intervals equal?" If no → ordinal (use median, IQR). If yes → interval or ratio (all statistics apply).

    Practical Implications for the Five Number Summary

    The five number summary is most informative for continuous ratio data — measurements like height, weight, income, or test scores where values are ordered, intervals are meaningful, and the full range of values is interesting.

    For discrete data with few unique values (e.g., a 1–10 rating), the five number summary may produce repeated values (Min = Q1 = 1, for example). In these cases, a frequency table or bar chart often communicates the distribution more effectively than a box plot.

    For ordinal data, the median and IQR from the five number summary are valid, but the min and max are less informative because the scale has defined endpoints. A box plot of Likert responses (1–5) will always have whiskers bounded by 1 and 5, making the box the only meaningful part of the diagram.

    Verify Your Calculations

    Use the free five number summary calculator to check your work.

    Open Calculator

    Written by Oge Nwaozuzu

    Statistics educator and data analyst. Creator of 5numbersummarycalculator.app.