We need to start with some data. We will generate a list of data on the calculator using GNRND4 with Key 1=131425002 and Key 2=1100026. That list will be the same numbers that appear in the following table: Thus, our problem will be to generate a frequency table for the data in the list above.
![]() | We begin by getting the data into the calculator.
We could do this by entering each of the 51 values into the calculator.
This, however, is prone to error.
A better way is to take the option of running the GNRND4 program.
We need to start the GNRND4 program. To do this we open the Program Menu by pressing the
![]() ![]() | ||||||||||||||||||||||||||
![]() |
In Figure 2 we have found the GNRND4 program. It is beyond the numbered positions.
However, since it is the program selected by the cursor, we can
press the ![]() | ||||||||||||||||||||||||||
![]() |
Notice that the calculator has automatically placed the characters "prgm"
before the name of the program we want to run. All that remains now is to
press the ![]() | ||||||||||||||||||||||||||
![]() |
The program starts by displaying some vital information.
Then the program prompts for the Key 1 value.
In the example we are using we need to enter 131425002
in response to that prompt. Figure 4 shows the screen after we have
entered that value. Then we press the | ||||||||||||||||||||||||||
![]() |
Now GNRND4 is asking for the second key value: we respond with the value 1100026.
Then we press the | ||||||||||||||||||||||||||
![]() |
As shown in Figure 6, the GNRND4 program then displays some data
about the process it is running. The pargram then waits in a "pause" state,
for us to press the ![]() | ||||||||||||||||||||||||||
![]() |
Continuing, the program displays more data, again waiting for us to
press the ![]() | ||||||||||||||||||||||||||
![]() |
After Figure 7 and before Figure 8, the calculator displays a screen that slowly fills with dots. That screen, which I cannot capture so that I can display it here, just lets you know that the calculator is continuing to work on the task. Once the task is completed, the calculator erases the screen of dots and displays the list of values that has been generated. Figure 8 shows this list. The calcualtor is in a "pause" state (note the pattern of dots in the upper right corner of the screen). This allows us to use the left and right cursor keys to move through the entire list. | ||||||||||||||||||||||||||
![]() |
To move from Figure 8 to Figure 9 we have used the ![]() | ||||||||||||||||||||||||||
![]() |
For Figure 10 we have pressed the ![]() ![]() | ||||||||||||||||||||||||||
![]() |
Figure 11 shows that the program has completed. We can no longer scroll through the values in our list. However, the list that was generated in stored in the calculator in L1. | ||||||||||||||||||||||||||
![]() |
One way to examine the contents of L1 is to
use the STAT
editor. To get to this we press the ![]() ![]() ![]() | ||||||||||||||||||||||||||
![]() |
Figure 13 shows the Editor. We are interested in examining
L1. (The calculator used here had some previous use
for L2 and L3,
but we ae not concerned about those values.) Figure 13 shows the
first 7 items in L1, along with
not only highlighting the first item but also making a specific
reference to it at the bottom of the screen. We can use the
![]() ![]() | ||||||||||||||||||||||||||
![]() |
For Figure 14 we have moved the highlight to the seventh item in L1.
We can continue using the ![]() | ||||||||||||||||||||||||||
![]() |
Here we are at the end of the list. Again we can compare the numbers in the list
to those in the original table of values given above to verify that we have exactly the same
values. To get out of the Editor we use the key sequence
![]() ![]() | ||||||||||||||||||||||||||
![]() |
Having seen the list of values in L1,
we are ready to start working with that list in order to produce a frequency table.
The approach here will be to sort all of the values so that we can
merely move through the list, observing each different value
and counting the number of times each different value is in the list.
To sort the list into ascending order we need to get to the SortA( command. We will
find that command in the LIST menu, and we get to that
menu via the key sequence
| ||||||||||||||||||||||||||
![]() |
Figure 17 shows the LIST menu, or rather, the NAMES
sub-menu of the LIST menu. We could use this sub-menu to select a name of a list that
is defined on this calculator. The option that we want is in a different
sub-menu, in particular, it is in the OPS sub-menu. To get there we
use the ![]() | ||||||||||||||||||||||||||
![]() |
Figure 18 shows the OPS sub-menu. We have the desired SortA(
option here. Since that is the option that is
highlighted, we select that option by pressing the
![]() | ||||||||||||||||||||||||||
![]() |
Having selected the option, the command SortA( has been pasted onto our screen.
We need to give the calculator the name of the list to sort into ascending order.
We can specify the L1 list by using the
key sequence ![]() ![]() | ||||||||||||||||||||||||||
![]() |
Now the command is almost complete. We can press the ![]() | ||||||||||||||||||||||||||
![]() |
Having completed the command, we press the ![]() ![]() | ||||||||||||||||||||||||||
![]() |
To start the Editor we press the ![]() | ||||||||||||||||||||||||||
![]() |
We can see here that the values in
L1 have been sorted.
In fact, we can see that the lowest value is 26. Now
we want to know how many 26's are in the list.
We use the ![]() | ||||||||||||||||||||||||||
![]() |
Figure 24 shows that we have found a new value, namely, 27
at position 9. Therefore, we know that we have 8 26's.
We could start our Frequency table with this information:
| ||||||||||||||||||||||||||
![]() |
We left Figure 24 knowing that the next value is 27.
We move further down the list to see what follows 27.
In Figure 25 we see that the last 27
is in postion 17. Thus, we have 9 such values.
We can modify our table to be:
| ||||||||||||||||||||||||||
![]() |
Moving further down the table we see that we have 6 28's and
2 29. Thus we update the table to
| ||||||||||||||||||||||||||
![]() |
There are 5 30's. | ||||||||||||||||||||||||||
![]() |
There are 2 31's and 1 32. | ||||||||||||||||||||||||||
![]() |
There are 5 33's. Our table has grown to
| ||||||||||||||||||||||||||
![]() |
There are 3 34's. | ||||||||||||||||||||||||||
![]() |
There are 4 35's. | ||||||||||||||||||||||||||
![]() |
There are 3 36's. | ||||||||||||||||||||||||||
![]() |
And there are 3 37's. (We recall that there are 51 items in the list. We saw this in
Figure 6 and in Figure 15. We could move down one more to verify that we are at
the end of the list if we wanted to do that.) Our final table becomes
| ||||||||||||||||||||||||||
![]() |
We created the data in Figures 1 through 16.
We used a brute srength and awkwardness approach to
process the data in Figures 17 through 33.
The next section of this page gives an alternative approach to
that analysis of the data. We will run the COLLATE2 program
to mimic and add to the work we have done above.
First we open the program menu via the
| ||||||||||||||||||||||||||
![]() |
Figure 35 shows that the TOSTR2 program is in fact present.
Even though the COLLATE2 program is not on the screen at the moment
we know that on this calculator the COLLATE2 program is currently
in position 6 in the list of programs. Therefore,
on this calculator, at this time,
we can select that 6thoption
by pressing the ![]() | ||||||||||||||||||||||||||
![]() |
The result of that action is to paste the command prgmCOLLATE2 on the screen, as is shown in Figure 36. | ||||||||||||||||||||||||||
![]() |
We press ![]() | ||||||||||||||||||||||||||
![]() |
The list of values that we want to use is in
L1. We enter that name via the
key sequence ![]() ![]() ![]() | ||||||||||||||||||||||||||
![]() |
Figure 39 shows some of the output for the program. Note that it gives the
number of items in the list, and the number of different items in the list,
as well as some additional data. The program goes into a pause state at this point,
waiting for us to press ![]() | ||||||||||||||||||||||||||
![]() |
Figure 40 gives the rest of the output from the program. This has two
pieces of information that are helpful to our current task,
namely, the low value (in this case 26)
and the high value (in this case 37). Again, noting the dots in the upper right corner, the program is in a paused state.
We can complete the program by using the ![]() | ||||||||||||||||||||||||||
![]() |
The program has finished its work and it displays the Done
in Figure 41. Now, besides producing the output shown in Figures 39 and 40, COLLATE2 also creates some new lists and the program changes the STAT Editor to display these new lists. | ||||||||||||||||||||||||||
![]() |
To get to the STAT Editor we open the STAT menu via the
![]() ![]() | ||||||||||||||||||||||||||
![]() |
Comparing Figure 43 with Figure 23, we see that there are different lists being shown.
These new lists we created by the COLLATE2 program and they were put into the
STAT Editor by that same program.
ITEM, the first list, gives the different values that were in the original data list. In effect, ITEM holds the first column of our frequency table, the column giving the values found. Compare the conents of ITEM with the first column of the frequency table shown above with Figure 33. ICNT, meaning Item Count, holds the number of times each different ITEM value was found. This is the "frequency" column of our frequency table. Aga9n, compare the values under ICNT tot he values in the table to the right of Figure 33. COLLATE2 has done our work for us.
We do recognize that we will need to use the | ||||||||||||||||||||||||||
![]() |
Here we see the remaining values and frequencies that we need to use.
To exit this screen we use the ![]() ![]() One additional activity for us will
be to return the Stat Editor to its default display. To do this we
press the | ||||||||||||||||||||||||||
![]() |
Here we see the STAT menu, and we have moved the highlight down to the
SetUpEditor option. We press the ![]() | ||||||||||||||||||||||||||
![]() |
having pasted the command here, we press ![]() | ||||||||||||||||||||||||||
![]() |
The calculator has let us know that the command has been performed.
We can verify this by first returning to the STAT menu via the
![]() | ||||||||||||||||||||||||||
![]() |
Then, prssing the ![]() | ||||||||||||||||||||||||||
![]() |
We can see that the Editor has been returned to displaying the built-in Lists.
We can exit this via the ![]() ![]() | ||||||||||||||||||||||||||
![]() |
The following Figures demonstrate using the calculator with some degree of finess
to achieve the same results that we found first by brute strength and awkwardness, and tehn via the COLLATE2 program.
In particular, we will use the built-in feature of the calculator that
produces histograms of data, and we will force that display to give us the
frequency of our values. We start by moving to the STAT PLOT
menu via the key sequence
| ||||||||||||||||||||||||||
![]() |
The particular calculator used here already had Plot1 turned on. We want
Plot1 turned on, but we also want to change a different setting for Plot1.
In order to make changes to the Plot1 values we press the
![]() | ||||||||||||||||||||||||||
![]() |
In Figure 52 we see the options for Plot1. In particular, the plot is "On",
the type is set to a "scatter plot", and that scatter plot
will be of x-values stored in L1
and corresponding y-values stored in L2, with
the points of the plot marked by small squares. [Had Plot1 been turned "Off" we could
have turned it "On" by highlighting the "On" and pressing the
![]() | ||||||||||||||||||||||||||
![]() |
In Figure 53 we have moved the highlight to the
desired option. In this case we have captured the screen image as the blinking cursor was in
its all-black mode. To change the selection to this option
we press the ![]() | ||||||||||||||||||||||||||
![]() |
Figure 54 shows that we have indeed changed the Type option. Note that this also changed the
rest of the screen so that the histogram will now be based on
the data in L1 and our grouping for the
height of each bar in the histogram will be 1.
We have set up Plot1 the way we want it. We can jump to the ZOOM
menu by pressing the | ||||||||||||||||||||||||||
![]() |
We have jumped to the ZZOOM menu because we want to use the ZoomStat option. We want to use this option because it will set the WINDOW values according to the data that is in our list. However, as you can see, ZoomStat is not displayed on this screen. Instead we will need to use the cursor keys to move down the menu to find ZoomStat. | ||||||||||||||||||||||||||
![]() |
Here we have found ZoomStat in the menu and we have
left it highlighted. Thus, to perform the option we need only
press the ![]() | ||||||||||||||||||||||||||
![]() |
The result is the accurate histogram shown in Figure 57. This is a correct histogram but it is not the one we want.
We notice that it has 8 classes and we want 12. The problem is that the ZoomStat
option forced the calculator to make some choices on the width of the classes as well as on the
lower and upper limits on those classes. We want to revise that choice.
To do this we press the ![]() | ||||||||||||||||||||||||||
![]() |
Figure 58 shows the WINDOW values established by the data we have and the default attempts of the calculator brought into play by the ZoomStat option. We want to revise these settings so that each class will hold one and only one of our 12 different values. Our changes are shown in Figure 59. | ||||||||||||||||||||||||||
![]() |
Now we have classes that are 1 unit wide, with the first class starting
at 25.5 and therefore ending just before 26.5. That class will hold any
of our values that fall in that range, which means that all of the 26's
will fall in this class, and none of our other values will be in this class.
We return to see a new historgram
by pressing the | ||||||||||||||||||||||||||
![]() |
Figure 60 holds our revised histogram and it does have the 12 classes that we desired.
We would like to know the height of each of the rectangles because that height will be the frequency
of the value that the particular rectangle represents.
To see the height of each rectangle we will move into TRACE mode
by pressing the | ||||||||||||||||||||||||||
![]() |
Now that we are in TRACE mode, the display in Figure 61 shows that for the first rectangle on the graph, the rectangle represents values from 25.5 to 26.5, and that there were 8 values in our original data that fell into that range. Since the only value in our original data that falls into this range is 26, we now know that the frequency of the B26's is 8. | ||||||||||||||||||||||||||
![]() |
In Figure 62 we have used the ![]() We can keep moving across the various rectangles to get a frequency for each of the values in our original table, and from this we could generate the same frequency table that we constructed back in Figure 29. | ||||||||||||||||||||||||||
![]() |
Just to wrap up the display, Figure 63 shows the range and the count (frequency) for the final, rightmost, rectangle on the histogram. |
©Roger M. Palay
Saline, MI 48176
September, 2012