x P(X)
8 0.27
4 0.34
2 0.16
0 0.23
mean is the sum of x* P(x) for all values of x.
variance is the sum of x^2*P(x) for all values of x minus the square of the above computed mean
the standard deviation is the square root of the above computed variance