A SERVICE OF

logo

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
1
L2
2
Calls subroutine to compute
y
ˆ
.
& ! &
Stores
y
ˆ
–value in Y.
& "! &
Displays, prompts for, and, if changed, stores y–value in Y.
& 
& !- L
Adjusts index value to address the appropriate subroutine.
& %1
1
L2
2
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.
 !. L
Restores index value to its original value.
  &
 .
 ª
Calculates
x
ˆ
=(YB)
÷
M.
 !
Returns to the calling routine.
Checksum and length: 65AB 18
  
This subroutine calculates
y
ˆ
for the logarithmic model.