
Page 8-17
Weighted average
Suppose that the data in list S, defined above, namely:
S = {1,5,3,1,2,1,3,4,2,1}
is affected by the weights,
W = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
If we define the weight list as W = {w
1
,w
2
,…,w
n
}, we notice that the
k
-th
element in list W, above, can be defined by w
k
= k. Thus we can use function
SEQ to generate this list, and then store it into variable
@@@W@@@
as follows:
Given the data list {s
1
, s
2
, …, s
n
}, and the weight list {w
1
, w
2
, …, w
n
}, the
weighted average of the data in S is defined as
∑
∑
=
=
⋅
=
n
k
k
n
k
k
k
w
w
s
w
s
1
1
.
To calculate the weighted average of the data in list S with the weights in list
W, we can use th e following steps:
1. Multiply lists S and W:
2. Use
function
Σ
LIST in this result to calculate the numerator of s
w
:
Содержание 49g+
Страница 1: ...hp 49g graphing calculator user s guide H Edition 4 HP part number F2228 90006 ...
Страница 197: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 377: ...Page 11 55 Function KER Function MKISOM ...
Страница 457: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 775: ...Page 26 10 the location of the backup battery in the top compartment at the back of the calculator ...
Страница 838: ...Page L 5 ...