Problem 46657. Grouped Frequency Distributions
One input is a dataset. The other input is the number of groups (classes). Create grouped frequency distribution by following steps:
- Find the range: max - min. range = 40 - 2 = 38
- Find the group (class) width by dividing the range by the number of groups. Round up if the width has decimal point. 38/4 = 9.5. round up. width = 10
- Start with the minimum value of the dataset and add class width.
- Count the number of occurrences in each group. For the first class you will count occurences greater than or equal to 2 and less than 12. For the second class you will count occurences greater than or equal to 12 and less than 22 and so on.
Solution CommentsShow comments
Problem Recent Solvers7