Calculate the range, variance, and standard deviation for the following samples.
a. 5, 2, 1, 0, 1
b. 1, 7, 6, 6, 4, 0, 4
c. 5, -2, 3, 1, 7, 6, 6, 3, 1
d. 0, 2, 0, 0, -4, 4, -2, 4, 0, -4, 4, -4, 0, -3, -2, -4, 0, 4
Calculate the variance.
While either technology or the following formula can be used to calculate the sample variance, for the purposes of this explanation, use technology. The sample variance, $s^2$, for a sample of n measurements is equal to the sum of the squared deviations from the mean divided by (n - 1). The formula for calculating $s^2$ is shown below, where $x_i$ is an individual measurement, $\bar{x}$ is the sample mean, and n is the total number of measurements.
$s^2 = \frac{\sum_{i=1}^{n} (x_i - \bar{x})^2}{n - 1}$
Use technology to calculate the variance.
The variance is