![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/6/b4/6b482c5b-16fa-417a-8e80-220f80b9ed92/6b482c5b-16fa-417a-8e80-220f80b9ed92-bg109.png)
Statistics Programs 16–5
Program Lines:
(In RPN mode)
Description
!
Stores b in B.
#$
Displays value.
P
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.
& %1
L2
Calls subroutine to compute
ˆ
.
& ! &
Stores
ˆ
–value in Y.
& "! &
Displays, prompts for, and, if changed, stores y–value in Y.
&
& !- L
Adjusts index value to address the appropriate subroutine.
& %1
L2
Calls subroutine to compute
ˆ
.
& ! %
Stores
ˆ
in X for next loop.
& ! &
Loops for another estimate.
Checksum and length: 9B34 42
This subroutine calculates
ˆ
for the straight–line model.
º %
-
Calculates
ˆ
= MX + B.
!
Returns to the calling routine.
Checksum and length: F321 15
This subroutine calculates
ˆ
for the straight–line model.
!. L
Restores index value to its original value.
&
.
ª
Calculates
ˆ
=(Y – B)
÷
M.
!
Returns to the calling routine.
Checksum and length: 65AB 18
This subroutine calculates
ˆ
for the logarithmic model.