Relative & Cumulative Frequency Calculator
Calculate the relative and cumulative relative frequency of values in your dataset and visualize the results.
Understanding Relative and Cumulative Relative Frequency
The Relative Frequency of a value in a dataset is the proportion of times that value occurs compared to the total number of data points. It shows how often a particular value appears relative to the total number of observations.
Formula for Relative Frequency
The Cumulative Relative Frequency is the accumulation of the relative frequencies. It is the running total of relative frequencies, showing the proportion of values that are less than or equal to a certain value in the dataset.
Example Calculation
Let's calculate the relative and cumulative relative frequencies for the following dataset:
- Data: [1, 2, 2, 3, 3, 3, 4, 4, 4, 4]
Step-by-step:
- Find the frequency of each value:
- 1 appears 1 time
- 2 appears 2 times
- 3 appears 3 times
- 4 appears 4 times
- Calculate the relative frequency for each value:
- \( \text{Relative Frequency of 1} = \frac{1}{10} = 0.10 \)
- \( \text{Relative Frequency of 2} = \frac{2}{10} = 0.20 \)
- \( \text{Relative Frequency of 3} = \frac{3}{10} = 0.30 \)
- \( \text{Relative Frequency of 4} = \frac{4}{10} = 0.40 \)
- Calculate the cumulative relative frequency:
- Cumulative relative frequency for 1 = 0.10
- Cumulative relative frequency for 2 = \( 0.10 + 0.20 = 0.30 \)
- Cumulative relative frequency for 3 = \( 0.30 + 0.30 = 0.60 \)
- Cumulative relative frequency for 4 = \( 0.60 + 0.40 = 1.00 \)
Therefore, the relative and cumulative relative frequencies for this dataset are calculated as shown.
Further Reading
Suf is a senior advisor in data science with deep expertise in Natural Language Processing, Complex Networks, and Anomaly Detection. Formerly a postdoctoral research fellow, he applied advanced physics techniques to tackle real-world, data-heavy industry challenges. Before that, he was a particle physicist at the ATLAS Experiment of the Large Hadron Collider. Now, he’s focused on bringing more fun and curiosity to the world of science and research online.