beautypg.com

HP 33s User Manual

Page 278

background image

16–18

Statistics Programs

Program Listing:

Program Lines:

(In ALG mode)

Description

Start grouped standard deviation program.

;

Clears statistics registers (28 through 33).

!

Clears the count N.

Checksum and length: EF85 24

Input statistical data points.

"!%

Stores data point in X.

"!

Stores data–point frequency in F.

Enters increment for N.

!

Recalls data–point frequency f

i

.

Checksum and length: 184C 30

Accumulate summations.

!L

Stores index for register 28.

!-1L2

Updates

¦

i

f in register 28.

h%

i

i

f

x

!

!'

!L

Stores index for register 29.

'

!-1L2

Updates

¦

i

i

f

x

in register 29.

h%

i

2

i

f

x

!

!'

Stores index for register 31.

!L

'