Part a.
The mean is the average of all numbers. From the given table, we can see that the number 1 ocurrs 42 times, the number 2 ocurrs 60 times and so on. Then, the mean of the given numbers is
which gives
so the mean is 3.2
Part b.
The sample variance formula is given by:
where f is the frequency and n-1=299
So, by substituting the given values, we have
then, the variance is 2.1003