We need to start with some data. We will generate a list of data on the calculator using GNRND4 with Key 1=111475102 and Key 2=900023. That list will be the same numbers that appear in the following table: Thus, our problem will be to generate a relative frequency table for the data in the list above.
![]() | We start the GNRND4 program. [See the Frequency Table page for more details on these steps.] | ||||||||||||||||||||||||||||||
![]() |
We enter the specified keys. | ||||||||||||||||||||||||||||||
![]() |
The program responds with two screens of information, this being the first. | ||||||||||||||||||||||||||||||
![]() |
Here is the second information screen. | ||||||||||||||||||||||||||||||
![]() |
Figure 5 shows the resulting list.
This is really the contents of the list L1.
We can only see part of the list here, although we could use the
![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
Now the program has finished. Note the Done message displayed when the program completes. | ||||||||||||||||||||||||||||||
![]() |
Our next step is to use the COLLATE2 program to build a frequency table, among other things. To do this we select the COLLATE2 program from the list of programs, abd paste the command onto the main screen, as shown in Figure 7. [If you need more instruction on this, see Figure 34 in on the Frequency Table page.] | ||||||||||||||||||||||||||||||
![]() |
We start running that program. It clears the screen. Then it asks us for the list of values to use.
In Figure 8 we have responded with L1 by pressing the sequence
![]() ![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
COLLATE2 process the information in L1 and then it starts its display of results.
The program is in a "Pause" mode in Figure 9 so that we can read the values before they scroll off the screen.
On this screen we do note that there were 9 different values found
and that there were 52 values in our original list.
We press the ![]() | ||||||||||||||||||||||||||||||
![]() |
Figure 10 shows the rest of the out put from the program. Again, the progam is in "Pause" mode, so we press the
![]() | ||||||||||||||||||||||||||||||
![]() |
Now the program is done. One of the tasks that the program accomplihes behind the scenes is taht it creates some new lists, namely LITEM, LICNT, and LLINP, to hold, respectively, the different ITEMs found in the original list, the COUNT of the different items found in the original list, amd the values in the original list sorted into ascending order. COLLATE2 also modifies the STAT Editor to display these lists. | ||||||||||||||||||||||||||||||
![]() |
We use the ![]() ![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
Figure 13 shows the data in the first 7 rows of the specified lists.
What we want is a new list with values that are 1/52 of same values that are in
LICNT.
We will exit the STAT Editor to do this.
We exit via the ![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
We are returned to the main screen. The command that we want to produce is
![]() ![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
We can see the LIST menu in Figure 15. we have moved the highlight down tot he desired list.
We can select taht list by pressing wither the
![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
The desired list name has been placed on the screen. Now we will need to complete the command. | ||||||||||||||||||||||||||||||
![]() |
We press ![]() ![]() ![]() ![]() ![]() ![]()
Then we press | ||||||||||||||||||||||||||||||
![]() |
The result new values placed into L2. The first value,
0.2307692308, is the first value in LICNT, 12, divided by 52.
We cannot see more values on Figure 18, although we could have scrolled across to see them.
It would be easier to see them if we used the STAT Editor. We can set up the STAT Editor to display these
lists by using the SetUpEditor command. We find that command on the STAT menu,
which we open by pressing the | ||||||||||||||||||||||||||||||
![]() |
Figure 19 shows the STAT menu with item 5 hghlighted.
We select that item by pressing the ![]() | ||||||||||||||||||||||||||||||
![]() |
All that has happened is that we have pasted the SetUpEditor command onto the main screen. Now we want to append the names of the lists that we want in the editor, separated by commas. | ||||||||||||||||||||||||||||||
![]() |
We return to the LIST menu, via ![]() ![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
The result is to have the name LITEM pasted
to the end of the command we are building. We followed that by pressing he
![]() | ||||||||||||||||||||||||||||||
![]() |
This is the alternative image for Figure 22 from an older calculator or from one using the CLASSIC display. | ||||||||||||||||||||||||||||||
![]() |
We return to the LIST menu to find the LICNT
name. Press ![]() | ||||||||||||||||||||||||||||||
![]() |
Figure 24 shows the command after we pasted LICNT
and followed that by
![]() ![]() ![]() We still need to press | ||||||||||||||||||||||||||||||
![]() |
This is the alternative image for Figure 24 from an older calculator or from one using the CLASSSIC display. | ||||||||||||||||||||||||||||||
![]() |
From Figure 25 we can see that the command was indeed executed. | ||||||||||||||||||||||||||||||
![]() |
This is the alternative image for Figure 25 from an older calculator or from one using the CLASSSIC display. | ||||||||||||||||||||||||||||||
![]() |
We return to the STAT menu (not shown) and press ![]() | ||||||||||||||||||||||||||||||
![]() |
We can use the ![]() | ||||||||||||||||||||||||||||||
![]() |
If we move the highlight to the third column, we see, as demonstrated in Figure 28, that although only
5 digits of the values are displayed on the table, the calculator actually carries many more than that.
Were we asked to produce the table rounded to 2 decimal places, then we could do this by hand for each of the values in L2. On the other hand, we might as well let the calculator do this for us. | ||||||||||||||||||||||||||||||
![]() |
we will exit the STAT Editor by pressing
![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
We open the MATH menu by pressing ![]() ![]() ![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
Figure 31 has the pasted command round( which we followed by pressing
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
We press | ||||||||||||||||||||||||||||||
![]() |
The resulting new list is displayed. | ||||||||||||||||||||||||||||||
![]() |
We could use ![]() ![]() | ||||||||||||||||||||||||||||||
![]() |
Using the ![]() Thus, our desired ralative frequency table is:
| ||||||||||||||||||||||||||||||
![]() |
Figure 35 merely recalls Figure 13. As noted above, this screen image is from a run of Version 2 of the COLLATE2 program. Version 2 generates even more lists than did the earlier versions. In particular, version 2 of the program generates LRFREQ, a list of the relative frequencies associated with the data in LICNT. To verify this, merely compare Figure 35 with the contents of Figure 26. Therefore, we really could have stopped this right at Figure 13, relying on the program to generate the correct relative frequencies. |
©Roger M. Palay
Saline, MI 48176
September, 2012