Calculates the weighted mean of an array.
The array
The weights
const result = Chalkboard.stat.meanWeighted([70, 80, 90], [0.2, 0.3, 0.5]); // Returns 83 Copy
const result = Chalkboard.stat.meanWeighted([70, 80, 90], [0.2, 0.3, 0.5]); // Returns 83
Calculates the weighted mean of an array.