Calculate the population variance and the standard deviation of X as defined in Exercise R.1, using the definition given by equation (R.8).
Exercise R.1
A random variable X is defined to be the difference between the higher value and the lower value when two dice are thrown. If they have the same value, X is defined to be 0. Find the probability distribution for X