# HP F2226A - 48GII Graphic Calculator User Manual Page 577

Graphing calculator.

Suppose that the classes, or bins, will be selected by dividing the interval (x
x
), into k = Bin Count classes by selecting a number of class boundaries,
top
i.e., {xB
, xB
, ..., xB
1
2
k+1
number 2 by xB
- xB
, and so on. The last class, class number k, will be
2
3
limited by xB
- xB
.
k
k +1
The value of x corresponding to the middle of each class is known as the class
mark, and is defined as xM
If the classes are chosen such that the class size is the same, then we can
define the class size as the value Bin Width = ∆x = (x
and the class boundaries can be calculated as xB
Any data point, x
, j = 1, 2, ..., n, belongs to the i-th class, if xB
j
The application
2. Frequencies..
count, and will keep track of those values that may be below the minimum
and above the maximum class boundaries (i.e., the outliers).
Example 1 -- In order to better illustrate obtaining frequency distributions, we
want to generate a relatively large data set, say 200 points, by using the
following:
First, seed the random number generator using: RDZ(25) in ALG mode,
or 25 ` RDZ in RPN mode (see Chapter 17).
Type in the following program in RPN mode:
«
n « 1 n FOR j RAND 100 * 2 RND NEXT n
and save it under the name RDLIST (RanDom number LIST generator).
Generate the list of 200 number by using RDLIST(200) in ALG mode, or
200 ` @RDLIST@ in RPN mode.
Use program LXC (see above) to convert the list thus generated into a
column vector.
Store the column vector into ΣDAT, by using function STOΣ.
}, so that class number 1 is limited by xB
= (xB
+ xB
)/2, for i = 1, 2, ..., k.
i
i
i+1
in the STAT menu will perform this frequency
-xB
, class
1
2
- x
) / k,
max
min
+ (i - 1) * ∆x.
= x
i
bot
≤ x
< xB
i
j
LIST " "
Page 18-6
,
bot
i+1