HP (Hewlett-Packard) HP 33s Calculator User Manual


 
16–4 Statistics Programs
File name 33s-English-Manual-040130-Publication(Edition 2).doc Page : 388
Printed Date : 2004/1/30 Size : 13.7 x 21.2 cm
Program Lines:
(In RPN mode)
Description


Sets the loop counter to zero for the first input.
Checksum and length: 5AB9 24



Defines the beginning of the input loop.


Adjusts the loop counter by one to prompt for input.





Stores loop counter in X so that it will appear with the
prompt for
X.


Displays counter with prompt and stores X input.



If flag 0 is set . . .


. . . takes the natural log of the X–input.



Stores that value for the correction routine.


Prompts for and stores Y.



If flag 1 is set . . .


. . . takes the natural log of the Y–input.








Accumulates B and R as x,y–data pair in statistics registers.



Loops for another X, Y pair.
Checksum and length: C95E 57



Defines the beginning of the "undo" routine.



Recalls the most recent data pair.





Deletes this pair from the statistical accumulation.



Loops for another X, Y pair.
Checksum and length: AB71 15



Defines the start of the output routine


Calculates the correlation coefficient.



Stores it in R.


Displays the correlation coefficient.


Calculates the coefficient b.



If flag 1 is set takes the natural antilog of b.
