Take 4 / 1,4 / 1,4 / 1,4 / 1 as the weight to calculate the average number of this group of data, and 0.1,0.2,0.3,0.4 as the weight to calculate the average number of this group of data This set of data is 21, 32, 43, 54

Take 4 / 1,4 / 1,4 / 1,4 / 1 as the weight to calculate the average number of this group of data, and 0.1,0.2,0.3,0.4 as the weight to calculate the average number of this group of data This set of data is 21, 32, 43, 54

The first, since the weighted sample, is the arithmetic mean
(21+32+43+54)/4=37.5
The second is:
21*0.1+32*0.2+43*0.3+54*0.4=43