2082 2

STA154 · 2082 · 10 marks

Build System Consistency Analysis A software development team is tracking the build sizes (in MB) produced by two different automated build systems during nightly integrations over 10 days. Which build system is more consistent? Justify your answer.

Build System Consistency Analysis

A software development team is tracking the build sizes (in MB) produced by two different automated build systems during nightly integrations over 10 days. Which build system is more consistent? Justify your answer.

$$\begin{array}{|c|cccccccccc|}\hline \text{Build System A} & 88 & 92 & 94 & 85 & 90 & 95 & 89 & 87 & 91 & 86 \ \hline \text{Build System B} & 130 & 135 & 132 & 140 & 128 & 133 & 137 & 131 & 129 & 138 \ \hline \end{array}$$

[10]

Basic StatisticsChapter 4: Measures of Central Tendency and DispersionComparison of consistency between datasetsNumerical: Coefficient of variation comparison

Model Answer: Build System Consistency Analysis

Given Data

Build System A (MB): 88, 92, 94, 85, 90, 95, 89, 87, 91, 86 Build System B (MB): 130, 135, 132, 140, 128, 133, 137, 131, 129, 138 $n = 10$ for each

Method

Since the two data sets have different means (different units/scale of build sizes), the correct measure of relative consistency is the Coefficient of Variation (CV). The lower the CV, the more consistent.

Step 1: Means

System A: $$\bar{x}_A = \frac{88+92+94+85+90+95+89+87+91+86}{10} = \frac{897}{10} = 89.7 \text{ MB}$$

System B: $$\bar{x}_B = \frac{130+135+132+140+128+133+137+131+129+138}{10} = \frac{1333}{10} = 133.3 \text{ MB}$$

Step 2: Variance and Standard Deviation

System A - squared deviations from 89.7:

$x$$x-\bar{x}$$(x-\bar{x})^2$
88-1.72.89
922.35.29
944.318.49
85-4.722.09
900.30.09
955.328.09
89-0.70.49
87-2.77.29
911.31.69
86-3.713.69

$$\sum (x-\bar{x})^2 = 100.10$$ $$\sigma_A^2 = \frac{100.10}{10} = 10.01, \qquad \sigma_A = \sqrt{10.01} \approx 3.164 \text{ MB}$$

System B - squared deviations from 133.3:

$x$$x-\bar{x}$$(x-\bar{x})^2$
130-3.310.89
1351.72.89
132-1.31.69
1406.744.89
128-5.328.09
133-0.30.09
1373.713.69
131-2.35.29
129-4.318.49
1384.722.09

$$\sum (x-\bar{x})^2 = 148.10$$ $$\sigma_B^2 = \frac{148.10}{10} = 14.81, \qquad \sigma_B = \sqrt{14.81} \approx 3.849 \text{ MB}$$

Step 3: Coefficient of Variation

$$CV_A = \frac{\sigma_A}{\bar{x}_A}\times 100 = \frac{3.164}{89.7}\times 100 \approx 3.53%$$

$$CV_B = \frac{\sigma_B}{\bar{x}_B}\times 100 = \frac{3.849}{133.3}\times 100 \approx 2.89%$$

Conclusion

Consistency between two data sets with different means must be judged by the coefficient of variation, not the raw standard deviation.

  • $CV_B \approx 2.89% < CV_A \approx 3.53%$

Therefore Build System B is more consistent, because relative to its own average build size its build sizes vary less. Although System A has a smaller absolute standard deviation, its builds are much smaller in magnitude, so a fair (relative) comparison shows System B fluctuates proportionally less around its mean.

Compare with the coefficient of variation, not the raw standard deviation: when the means differ substantially (89.7 against 133.3), the CV is the statistically correct basis, and it points to System B as the more consistent system.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.