Weighted average is the average resulting from the multiplication of each value by a weighted factor. It is calculated as,
Weighted Average=(w1×n1)+(w2×n2)+…+(wl×nl)w1+w2+…+wl,
where
w1,w2,…,wl are weighted factors and
n1,n2,…,nl are data points.
For example, let the average age of
20 cows is
6 years and the average age of
10 goats is
4 years.
This can be represented as,
Here, the number of cows
(w1=20) and the number of goats
(w2=10) are weighted factors and their average age,
n1=6 and
n2=4 are the data points.
Thus, their weighted average age will be calculated as,
Weighted Average age=(w1×n1)+(w2×n2)w1+w2=(20×6)+(10×4)20+10=120+4030=16030=5.33
Thus, the weighted average age of these animals is
5.33 years.