A SERVICE OF

logo

Statistics Programs 16–7
Program Lines:
(In RPN mode)
Description

!

!


!
¸
%

!
º
!
Calculates Y= B(X
M
).

!
!
Returns to the calling routine.
Checksum and length: 018C 18
  
This subroutine calculates
x
ˆ
for the power model.
 !. L
Restores index value to its original value.
  &
 ª
  
 +º
 ¸
%
Calculates
x
ˆ
= (Y/B)
1/M
 !
Returns to the calling routine.
Checksum and length: 3040 24
Flags Used:
Flag 0 is set if a natural log is required of the X input. Flag 1 is set if a natural log
is required of the
Y input.
Program instructions:
1.
Key in the program routines; press
when done.
2. Press
X
and select the type of curve you wish to fit by pressing:

S for a straight line;

L for a logarithmic curve;

E for an exponential curve; or

P for a power curve.
3. Key in x–value and press
g
.
4. Key in y–value and press
g
.