# HP 50g User Manual Page 573

Graphing calculator.

Definitions
To understand the meaning of these parameters we present the following
definitions: Given a set of n data values: {x
order, it is often required to group these data into a series of classes by
counting the frequency or number of values corresponding to each class.
(Note: the calculators refers to classes as bins).
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, i.e.,
top
{xB
, xB
, ..., xB
1
2
number 2 by xB
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
The application
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).
}, so that class number 1 is limited by xB
k+1
- xB
, and so on. The last class, class number k, will be limited
2
3
= (xB
i
, j = 1, 2, ..., n, belongs to the i-th class, if xB
j
2. Frequencies..
, x
, ..., x
1
2
+ xB
)/2, for i = 1, 2, ..., k.
i
i+1
max
in the STAT menu will perform this frequency
} listed in no particular
n
-xB
1
2
- x
) / k,
min
= x
+ (i - 1) * x.
i
bot
i
LIST " "
,
bot
, class
x
< xB
j
i+1
Page 18-6