Save the program
in
a RAM file
by
entering the command:
SAVE
"STAT"
You
may
wish
to
save the descriptive statistics program on a separate cassette to make
loading faster in the future. Use the command
CSAVE
"STAT"
to
write the program
to
a blank cassette.
This program computes a variety
of
common statistical measures on a set
of
data.
The
data must be in the form of a file either
in
RAM or on cassette. You can use TEXT to
create the data file.
Go
to
the Menu by pressing
(lID.
Move the cursor over the word T
EXT
and press
(ENTER).
You will see the prompt
File
to
edit?
Enter a name for the data file
to
be created. For example, enter a file name of DATA:
File
to
edit?
DATA
Type a list of data values separated with either commas or carriage returns. You can
speed up this process by pressing
(NUM)
and then using the appropriate keys
as
a
ten-key number pad.
For example, type:
23.5,35.7t45.Z,4Gt1Z,G7,30,44,ZZ,33,45<
lG
,37,5G
,74
t82
,13
t28
,74
tGG
,91
t43
,32
t55<
4G
,77
t31,8G
t58,59
tGZ
,43
,71,38
tG9
,Z3
t77<
48,39t4Z,3Gt4S,30t37,43t47,41<
Save the data
as
a RAM file by pressing
CEID.
You will return
to
the Menu.
If
you
want to make any changes
to
your data file, simply move the cursor over the file
name DATA.DO and press
(ENTERl.
Use the standard Editor commands
to
make your
changes.
After your data file
is
created, you can use the descriptive statistics program
to
list it,
sort it, compute the number of values, the maximum and minimum, the mean,
median, variance and standard deviation. You can also plot a histogram of the data
to
give
an
indication of its distribution.
From the Menu, place the cursor over the file name
STAT.
BA
and press
(ENTER).
This will load and execute the descriptive statistics program. You should see the
prompt:
RAM
or
CASSETTE
FILE
(R
or
C)?
If
you have saved your data in the
RAM
file DATA.DO
as
described above, enter an
R.
You
will see:
RAM
or
CASSETTE
FILE
(R
or
C)?
R
FILE
NAME?
Enter the name of your data file. For the example, enter a file name of DATA. The
display will clear and another prompt
is
displayed:
OUTPUT
DATA
(Y
or
N)?
198