Frequency tables and relative frequency

    Understanding Frequency Tables

    A frequency table is a statistical tool used to organize and summarize categorical or quantitative data. It displays the number of times each category or value appears in a dataset. This organization makes it easier to see patterns, distributions, and outliers in the data. When constructing a frequency table, the first step is to list all the distinct categories or values observed in the data.

    Components of a Frequency Table

    • Category/Class Interval: This column lists the distinct values or ranges (for quantitative data) being observed. For example, if we're looking at hair colors, categories might be "blonde," "brunette," "red," "black." For exam scores, class intervals might be "0-59," "60-69," etc.
    • Tally: An optional column where you can make a mark (like a hash mark) for each occurrence of a value, useful for manual data counting.
    • Frequency: This column, often denoted as f, represents the count of observations that fall into each category or class interval. It's the numerical value derived from the tally marks. For example, if 15 students have blonde hair, the frequency for "blonde" is 15.

    Relative Frequency

    Relative frequency extends the utility of a basic frequency table by showing the proportion or percentage of observations within each category relative to the total number of observations. It's particularly useful when comparing distributions of different sizes or when you want to understand the share of each category within the whole dataset.

    Calculating Relative Frequency

    The formula for relative frequency is:

    Relative Frequency = (Frequency of Category) / (Total Number of Observations)

    Relative frequencies are typically expressed as decimals between 0 and 1, or as percentages (by multiplying the decimal by 100). The sum of all relative frequencies in a table should always be 1 (or 100% if expressed as percentages), though minor discrepancies due to rounding may occur.

    Cumulative Relative Frequency

    For quantitative data, especially when ordered, cumulative relative frequency can be very informative. It represents the proportion of observations that fall within a particular category or any preceding category. It's calculated by adding the relative frequencies of categories sequentially.

    • For the first category, cumulative relative frequency is simply its relative frequency.
    • For subsequent categories, it's the sum of its relative frequency and the cumulative relative frequency of the previous category.

    The last cumulative relative frequency in the table should always be 1 (or 100%). This is especially useful for creating ogives (cumulative frequency graphs) or determining percentiles.

    Why Use Frequency and Relative Frequency Tables?

    These tables are fundamental for exploratory data analysis (EDA). They help us:

    • Quickly grasp the distribution of a single variable.
    • Identify the most and least common categories.
    • Compare proportions across different groups or samples.
    • Serve as a foundation for creating visual displays like bar charts (for categorical data) and histograms (for quantitative data).

    For instance, if a survey on favorite ice cream flavors collects data from 200 people, a frequency table would show the raw counts for each flavor (e.g., vanilla: 70, chocolate: 90, strawberry: 40). A relative frequency table would then show that vanilla accounts for 35% of preferences, chocolate 45%, and strawberry 20%. This provides a clearer picture of flavor popularity.

    Practice questions

    1

    What is the primary purpose of a frequency table in statistics?

    2

    How is relative frequency calculated for a specific category in a dataset?

    3

    When would cumulative relative frequency be most useful?

    4

    If a frequency table shows 30 students prefer apples out of a total of 150 students, what is the relative frequency for apples?

    Practice more free →

    Free AP4U account — unlimited practice, AI grader, and progress tracking.

    Canonical: https://apforu.com/ap/statistics/unit-1-exploring-one-variable-data/frequency-tables-and-relative-frequency