Program Lines:
(In RPN mode)
Checksum and length: 9CC9 36
Checksum and length: 9B34 42
Checksum and length: F321 15
Checksum and length: 65AB 18
Stores b in B .
Displays value.
Calculates coefficient m .
Stores m in M .
Displays value.
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
–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
in X for next loop.
Loops for another estimate.
This subroutine calculates
y ˆ
Calculates
= MX + B .
Returns to the calling routine.
This subroutine calculates
Restores index value to its original value.
x ˆ
Calculates
=( Y – B )
Returns to the calling routine.
This subroutine calculates
Description
y ˆ
.
x ˆ
.
y ˆ
for the straight–line model.
x ˆ
for the straight–line model.
M .
y ˆ
for the logarithmic model.
Statistics Programs
16–5