HP HP12C hp 12c_user's guide_English_E_HDPMBF12E44.pdf - Page 81

Weighted Mean

Page 81 highlights

Section 6: Statistics Functions 81 Example: Compute the slope and intercept of the regression line in the preceding example. Keystrokes 0gR 1 gR~d~- Display 15.55 0.001 y-intercept (A); projected value for x = 0. Slope of the line (B); indicates the change in the projected values caused by an incremental change in the x value. The equation that describes the regression line is: y = 15.55 + 0.001x Weighted Mean You can compute the weighted mean of a set of numbers if you know the corresponding weights of the items in question. 1. Press fCLEAR². 2. Key in the value of the item and press \, then key in its weight and press _. Key in the second item's value, press \, key in the second weight, and press _. Continue until you have entered all the values of the items and their corresponding weights. The rule for entering the data is "item \ weight _." 3. Press g to calculate the weighted mean of the items. Example: Suppose that you stop during a vacation drive to purchase gasoline at four stations as follows: 15 gallons at $1.16 per gallon, 7 gallons at $1.24 per gallon, 10 gallons at $1.20 per gallon, and 17 gallons at $1.18 per gallon. You want to find the average cost per gallon of gasoline purchased. If you purchased the same quantity at each station, you could determine the simple arithmetic average or mean using the Ö key. But since you know the value of the item (gasoline) and its corresponding weight (number of gallons purchased), use the  key to find the weighted mean: Keystrokes fCLEAR² 1.16\15_ 1.24\7_ 1.20\10_ 1.18\17_ Display 0.00 1.00 2.00 3.00 4.00 Clears statistics registers. First item and weight. Second item and weight. Third item and weight. Fourth item and weight. File name: hp 12c_user's guide_English_HDPMBF12E44 Printered Date: 2005/7/29 Page: 81 of 209 Dimension: 14.8 cm x 21 cm

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211

Section 6: Statistics Functions
81
File name: hp 12c_user's guide_English_HDPMBF12E44
Page: 81 of 209
Printered Date: 2005/7/29
Dimension: 14.8 cm x 21 cm
Example:
Compute the slope and intercept of the regression line in the preceding
example.
Keystrokes
Display
0
gR
15.55
y-intercept (A); projected value for
x
= 0.
1
gR~d~-
0.001
Slope of the line (
B);
indicates the
change in the projected values
caused by an incremental change in
the
x
value.
The equation that describes the regression line is:
y = 15.55 + 0.001x
Weighted Mean
You can compute the weighted mean of a set of numbers if you know the
corresponding weights of the items in question.
1. Press
f
CLEAR
²
.
2. Key in the value of the item and press
\
, then key in its weight and press
_
. Key in the second item’s value, press
\
, key in the second weight,
and press
_
. Continue until you have entered all the values of the items and
their corresponding weights. The rule for entering the data is “item
\
weight
_
.”
3. Press
g
to calculate the weighted mean of the items.
Example:
Suppose that you stop during a vacation drive to purchase gasoline at
four stations as follows: 15 gallons at $1.16 per gallon, 7 gallons at $1.24 per
gallon, 10 gallons at $1.20 per gallon, and 17 gallons at $1.18 per gallon. You
want to find the average cost per gallon of gasoline purchased. If you purchased
the same quantity at each station, you could determine the simple arithmetic
average or mean using the
Ö
key. But since you know the value of the item
(gasoline) and its corresponding weight (number of gallons purchased), use the
key to find the weighted mean:
Keystrokes
Display
f
CLEAR
²
0.00
Clears statistics registers.
1.16
\
15
_
1.00
First item and weight.
1.24
\
7
_
2.00
Second item and weight.
1.20
\
10
_
3.00
Third item and weight.
1.18
\
17
_
4.00
Fourth item and weight.