Statistics Programs
16–5
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Program Lines:
(In RPN mode)
Description
Stores b in B.
Displays value.
Calculates coefficient m.
Stores m in M.
Displays value.
Checksum and length: 9CC9 36
Defines the beginning of the estimation (projection) loop.
Displays, prompts for, and, if changed, stores x–value in X.
Calls subroutine to compute
y
ˆ
.
Stores
y
ˆ
–value in Y.
Displays, prompts for, and, if changed, stores y–value in Y.
Adjusts index value to address the appropriate subroutine.
Calls subroutine to compute
x
ˆ
.
Stores
x
ˆ
in X for next loop.
Loops for another estimate.
Checksum and length: 9B34 42
This subroutine calculates
y
ˆ
for the straight–line model.
Calculates
y
ˆ
= MX + B.
Returns to the calling routine.
Checksum and length: F321 15
This subroutine calculates
x
ˆ
for the straight–line model.
Restores index value to its original value.
Calculates
x
ˆ
=(Y – B)
÷
M.
Returns to the calling routine.
Checksum and length: 65AB 18
This subroutine calculates
y
ˆ
for the logarithmic model.