The standard deviation of a sample, use the formula
where s is the standard deviation,
is each data point, X is the mean, and n is the number of data points. In this case, the mean is 14.125 and the standard deviation is approximately 6.56 days.
The standard deviation of a sample, you can use the following formula:

where:
- s is the sample standard deviation
is each individual data point- X is the mean of the sample
- n is the number of data points
Let's calculate it step by step:
- Calculate the mean (X):
- (25 + 12 + 5 + 16 + 21 + 10 + 15 + 9) / 8 = 14.125
Calculate the squared difference from the mean
for each data point:
Sum up the squared differences

- 116.640625 + 4.265625 + 84.765625 + 3.390625 + 47.890625 + 17.015625 + 0.765625 + 26.015625 = 300.750000
Divide the sum by n-1 (7):
- 300.750000 / 7 = 42.9642857
Take the square root:
- sqrt(42.9642857) ≈ 6.559287
So, the standard deviation of the sample is approximately 6.56 days.