Difference between revisions of "Weighted average"
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
A weighted average is weighted based on the number of times each value occurs. To calculate a weighted average, you first multiply each value by the number of times it occurs, and then add the products together. After that, you divide by the sum of the number of '''all''' the occurrences. For example: | A weighted average is weighted based on the number of times each value occurs. To calculate a weighted average, you first multiply each value by the number of times it occurs, and then add the products together. After that, you divide by the sum of the number of '''all''' the occurrences. For example: | ||
− | Value: | + | Value: | Number of occurrences: |
2 | 1 | 2 | 1 | ||
3 | 6 | 3 | 6 | ||
Line 10: | Line 10: | ||
− | Step 1: 2 | + | Step 1: <math>2 \cdot 1+3 \cdot 6+4 \cdot 1+9 \cdot 7+12 \cdot 2+16 \cdot 10=271</math> |
− | Step 2: 271 | + | Step 2: <math>\frac{271}{1 + 6 + 1 + 7 + 2 + 10} = \frac{271}{27}</math> |
Weighted averages can also be calculated if each value has a weight expressed as a percentile, and all the weights add up to 100%. To calculate, you multiply each value by its weight, then add the products up. For example: | Weighted averages can also be calculated if each value has a weight expressed as a percentile, and all the weights add up to 100%. To calculate, you multiply each value by its weight, then add the products up. For example: | ||
− | Value: | + | Value: | Percentage: |
2 | 10% | 2 | 10% | ||
3 | 60% | 3 | 60% | ||
Line 24: | Line 24: | ||
16 | 10% | 16 | 10% | ||
− | Step 1: 2 | + | Step 1: <math>2 \cdot 0.1+3\cdot 0.6+4 \cdot 0.05+9 \cdot 0.1+12 \cdot 0.05+16 \cdot 0.1=5.3</math> |
Latest revision as of 05:27, 19 November 2017
A weighted average is weighted based on the number of times each value occurs. To calculate a weighted average, you first multiply each value by the number of times it occurs, and then add the products together. After that, you divide by the sum of the number of all the occurrences. For example:
Value: | Number of occurrences: 2 | 1 3 | 6 4 | 1 9 | 7 12 | 2 16 | 10
Step 1:
Step 2:
Weighted averages can also be calculated if each value has a weight expressed as a percentile, and all the weights add up to 100%. To calculate, you multiply each value by its weight, then add the products up. For example:
Value: | Percentage: 2 | 10% 3 | 60% 4 | 5% 9 | 10% 12 | 5% 16 | 10%
Step 1: