For the frequency distribution:
$$x_{i} : x_{1}, x_{2}, x_{3}, x_{4}, x_{5}$$ $$f_{i} : f_{1}, f_{2}, f_{3}, f_{4}, f_{5}$$
Show that:
$$\Sigma^{n}_{r=1}(x_{r}-x_{mean})f_{r}=0$$
My understanding is that: $$\Sigma^{n}_{r=1}(x_{r}-x_{mean})=0$$ But when one introduces the weighted values how is it still equal to zero?
I can't find a proof anywhere.
$\sum_{i=1}^{5} (x_i-m)f_i= \sum_{i=1}^{5}x_if_i- m\sum_{i=1}^{5}f_i=*$. Now, $m=\frac{\sum_{i=1}^{5}x_if_i}{\sum_{i=1}^{5}f_i}\to *= \sum_{i=1}^{5}x_if_i- \sum_{i=1}^{5}x_if_i=0$