The Museum of HP Calculators


Basic Statistics for 2 Variables for the HP-41C/CV/CX

This program is Copyright © HP and is used here by permission. It was originally printed in the Business Stats Solution Book. This program was entered and uploaded by Tony Duell.

This program is supplied without representation or warranty of any kind. Tony Duell, Hewlett Packard and The Museum of HP Calculators therefore assume no responsibility and shall have no liability, consequential or otherwise, of any kind arising from the use of this program material or any part thereof.

Documentation Information (CD or source code)
How to get this Program to your Calculator (via HP-IL, disk, wand, and fingers)
Download Binary (.raw) program for disk or PC HP-IL Card download
Download Hexadecimal (.dat) program for Serial Port download

Program Listing

LINE  KEYS
 01 LBL "STAT"
 02 CLRG
 03 SF 21
 04 CF 00
 05 CF 01
 06 CLX
 07 RTN
 08 LBL a
 09 X<>Y
 10 S-
 11 RTN
 12 LBL A
 13 X<>Y
 14 S+
 15 RTN
 16 LBL B
 17 STO 05
 18 FS? 01
 19 CHS
 20 ST+ 01
 21 RDN
 22 STO 04
 23 RDN
 24 STO 03
 25 R^
 26 R^
 27 ABS
 28 STO 06
 29 LBL 02
 30 RCL 04
 31 RCL 03
 32 XEQ 03
 33 DSE 06
 34 GTO 02
 35 RCL 01
 36 STO 16
 37 RTN
 38 LBL b
 39 SF 01
 40 XEQ B
 41 CF 01
 42 RTN
 43 LBL 03
 44 FS? 01
 45 GTO 04
 46 S+
 47 RTN
 48 LBL 04
 49 S-
 50 RTN
 51 LBL C
 52 MEAN
 53 STO 00
 54 "MEANX="
 55 XEQ 00
 56 X<>Y
 57 STO 02
 58 "MEANY="
 59 XEQ 00
 60 SDEV
 61 1 E2
 62 *
 63 X<>Y
 64 LASTX
 65 *
 66 X<>Y
 67 RCL 00
 68 /
 69 "VX="
 70 XEQ 00
 71 X<>Y
 72 RCL 02
 73 /
 74 "VY="
 75 XEQ 00
 76 RTN
 77 LBL D
 78 SDEV
 79 "SX="
 80 XEQ 00
 81 X<>Y
 82 "SY="
 83 XEQ 00
 84 X<>Y
 85 LBL 01
 86 RCL 16
 87 ENTER
 88 X<>Y
 89 1
 90 -
 91 /
 92 SQRT
 93 /
 94 FS?C 00
 95 GTO 05
 96 "SX.="
 97 XEQ 00
 98 LASTX
 99 SDEV
100 X<>Y
101 SF 00
102 GTO 01
103 LBL 05
104 "SY.="
105 GTO 00
106 LBL E
107 MEAN
108 X<>Y
109 STO 02
110 RCL 15
111 RCL 11
112 RCL 02
113 *
114 -
115 RCL 16
116 1
117 -
118 /
119 STO 07
120 "SXY="
121 XEQ 00
122 RCL 16
123 ENTER
124 X<>Y
125 1
126 -
127 /
128 /
129 "SXY.="
130 XEQ 00
131 SDEV
132 RCL 07
133 /
134 *
135 1/X
136 "VXY="
137 LBL 00
138 ARCL X
139 AVIEW
140 END

Go back to the HP-41 software library
Go back to the general software library
Go back to the main exhibit hall