Could I calculate the answer to either
$$\sum\left[ x^{2} y \right ] - \sum xy$$
or
$$\sum \left[ \left ( x - \sum xy \right )^{2} y \right ]$$
If I had any of these variables
$ \sum xy $; $ \sum x $; $ \sum y $; $ \sum x^2 $; $ \sum y^2 $;
and n
( the amount of items in the list )
adding more info:
I need to calculate the variance of a discrete probability distribution on my calculator. There is no function $\sum \left[ \left ( x - \sum xy \right )^{2} y \right ]$ on my model, and I was wondering if I could get there using the other functions. ( those listed above )