October 2019
Beginner to intermediate
498 pages
14h 13m
English
As we worked through the steps required to compute the mode of a data set, we actually solved the basic statistics problem of finding the frequency distribution—a representation of the number of times each value occurs in the data.
One way to display a frequency distribution is to show a two-column table. The first column gives the data item, and the second gives the associated count. This appears to be similar to our count dictionary. In fact, the only difference is that the table will need to show the items in order. Recall that the dictionary maintains items in the order they were inserted. Our challenge, then, is to sort the data in key order.
To write ...
Read now
Unlock full access