Given the values and probabilities of a discrete random variable, compute its first two moments, variance, and standard deviation.