Program Lines:

Description

(In RPN mode)

 

  

Displays, prompts for, and, if changed, stores x–value in X.

 

If flag 0 is set . . .

  

Branches to K001

  

Branches to M001

  

Stores yˆ–value in Y.

  

Displays, prompts for, and, if changed, stores y–value in Y.

 

If flag 0 is set . . .

  

Branches to O001

  

Branches to N001

  

Stores xˆ in X for next loop.

  

Loops for another estimate.

Checksum and length: C3B7 36

  

This subroutine calculates yˆ for the straight–line model.

  

 

  

 

  

Calculates yˆ = MX + B.

 

Returns to the calling routine.

Checksum and length: 9688 15

  

This subroutine calculates xˆ for the straight–line model.

  

 

  

 

  

Calculates xˆ =(Y B) M.

 

Returns to the calling routine.

Checksum and length: 9C0F 15

  

This subroutine calculates yˆ for the logarithmic model.

  

 

 

 

  

 

  

Calculates yˆ = M In X + B.

 

Returns to the calling routine.

Statistics Programs 16-5