16–4 Statistics
Programs
File name 32sii-Manual-E-0424
Printed Date : 2003/4/24 Size : 17.7 x 25.2 cm
Program Lines:
Description
'
!
L
Stores the index value in
i
for indirect addressing.
'
Sets the loop counter to zero for the first input.
Checksum and length: 8C2F 006.0
$
$
Defines the beginning of the input loop.
$
Adjusts the loop counter by one to prompt for input.
$
-
$
!
%
Stores loop counter in
X
so that it will appear with the
prompt for
X
.
$
"!
%
Displays counter with prompt and stores
X
input.
$
@
If flag 0 is set . . .
$
. . . takes the natural log of the X–input.
$
!
Stores that value for the correction routine.
$
"!
Prompts for and stores
Y
.
$
@
If flag 1 is set . . .
$
. . . takes the natural log of the Y–input.
$
!
$
$
´-
Accumulates
B
and
R
as
x
,
y
–data pair in statistics
registers.
$
!
$
Loops for another
X
,
Y
pair.
Checksum and length: AAD5 022.5
"
"
Defines the beginning of the "undo" routine.
"
Recalls the most recent data pair.
"
"
´.
Deletes this pair from the statistical accumulation.
"
!
$
Loops for another
X
,
Y
pair.
Checksum and length: AFAA 007.5
Defines the start f the output routine
T
Calculates the correlation coefficient.
!
Stores it in
R
.
#$
Displays the correlation coefficient.
E
Calculates the coefficient
b
.