The following frequency table summarizes the distances in miles of 100 patients from a regional hospital.
Distance Frequency
0-2 30
2-4 35
4-6 20
6-8 10
8-10 5
Calculate the sample variance and standard deviation for this data (since it is a case of grouped data- use group or class midpoints in the formula in place of X values, and first calculate the sample mean).