Hi. Please help. I have a graph of the probability distribution function of a scalar random variable X and I need to compute E(X). The answer should be 0,1666, but I don't understand how to get that. As far as I know, for discrete variable we mutiply values and probabilities and then sum up, but it results into (-1)*(1/3)+(1/2)*(2/3)+1*1 = 1. What am I doing wrong?