4.2 C
London
Friday, December 20, 2024
HomeExcelDescriptive Statistics in ExcelHow to Calculate Relative Frequency in Excel

How to Calculate Relative Frequency in Excel

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

frequency table is a table that displays information about frequencies. Frequencies simply tell us how many times a certain event has occurred. 

For example, the following table shows how many items a shop sold in different price ranges in a given week:

Item Price Frequency
$1 – $10 20
$11 – $20 21
$21 – $30 13
$31 – $40 8
$41 – $50 4

The first column displays the price class and the second column displays the frequency of that class.

It’s also possible to calculate the relative frequency for each class, which is simply the frequency of each class as a percentage of the whole.

Item Price Frequency Relative Frequency
$1 – $10 20 0.303
$11 – $20 21 0.318
$21 – $30 13 0.197
$31 – $40 8 0.121
$41 – $50 4 0.061

In total, there were 66 items sold. Thus, we found the relative frequency of each class by taking the frequency of each class and dividing by the total items sold.

For example, there were 20 items sold in the price range of $1 – $10. Thus, the relative frequency of the class $1 – $10 is 20 / 66 = 0.303.

Next, there were 21 items sold in the price range of $11 – $20. Thus, the relative frequency of the class $11 – $20 is 21 / 66 = 0.318.

The following example illustrates how to find relative frequencies in Excel.

Example: Relative Frequencies in Excel

First, we will enter the class and the frequency in columns A and B:

Frequency table in Excel

Next, we will calculate the relative frequency of each class in column C. Column D shows the formulas we used:

Relative frequency calculation in Excel

We can verify that our calculations are correct by making sure the sum of the relative frequencies adds up to 1:

Relative frequency calculation in Excel

We can also create a relative frequency histogram to visualize the relative frequencies.

Simply highlight the relative frequencies:

Relative frequency histogram in Excel

Then go to the Charts group in the Insert tab and click the first chart type in Insert Column or Bar Chart:

Relative frequency histogram in Excel

A relative frequency histogram will automatically appear:

Relative frequencies in Excel

Modify the x-axis labels by right-clicking on the chart and clicking Select Data. Under Horizontal (Category) Axis Labels click Edit and type in the cell range that contains the item prices. Click OK and the new axis labels will automatically appear:

Relative frequency histogram in Excel

Additional Resources

Relative Frequency Calculator
Relative Frequency Histogram: Definition + Example

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories