beautypg.com

HP 33s User Manual

Page 264

background image

16–4

Statistics

Programs

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

T

Calculates the correlation coefficient.

!

Stores it in R.

#$

Displays the correlation coefficient.

E

Calculates the coefficient b.

@

If flag 1 is set takes the natural antilog of b.

H

%