
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
:
Содержание 48GII
Страница 1: ...hp 48gII graphing calculator user s guide H Edition 4 HP part number F2226 90020 ...
Страница 162: ...Page 3 37 Define this function by any of the means presented above and check that g 3 3 g 1 0 g 1 0 g 3 9 ...
Страница 201: ...Page 5 30 LIN LNCOLLECT POWEREXPAND SIMPLIFY ...
Страница 381: ...Page 11 55 Function KER Function MKISOM ...
Страница 461: ...Page 13 26 In the right hand side figure above we are using the line editor to see the series expansion in detail ...
Страница 777: ...Page 26 8 ...
Страница 840: ...Page L 5 ...