This article is a continuation of Completely Randomized Design Material . The following is an example of a Completely Randomized Design case with Equal Replication.
In this case example, the same case example is used again with the example in total variance decomposition. It's just that, using a slightly different calculation step. The following are the results of estrogen testing of several solutions that have undergone certain treatments. Uterine weight of rats was used as a measure of estrogen activity. Uterine weights in milligrams of four mice for each control and six different solutions are listed in the following table.
Table 1. Uterine Weight Data (mg) of 7 Treatments Of Four Rats
| Control | P1 | P2 | P3 | P4 | P5 | P6 | ||
| 89.8 | 84.4 | 64.4 | 75.2 | 88.4 | 56.4 | 65.6 | ||
| 93.8 | 116.0 | 79.8 | 62.4 | 90.2 | 83.2 | 79.4 | ||
| 88.4 | 84.0 | 88.0 | 62.4 | 73.2 | 90.4 | 65.6 | ||
| 112.6 | 68.6 | 69.4 | 73.8 | 87.8 | 85.6 | 70.2 | ||
| Total treatment | 384.6 | 353 | 301.6 | 273.8 | 339.6 | 315.6 | 280.8 | 2249 |
| Y1. | Y2. | Y3. | Y4. | Y5. | Y6. | Y7. | Y.. |
A full discussion of the Example of Implementing Completely Randomized Design (CRD) can be read in the following document and a tutorial on data processing using several statistical software can be studied at the following link:
How to analyze the Completely Randomized Design - Single Factor Experiment
SPSS Tutorial: Completely Randomized Design (CRD)
Excel Tutorial: Anova for Completely Randomized Design (CRD)
Examples of Applying a Completely Randomized Design:
Case example 1 : Completely Randomized Design with Same Test
In this case example, the same case example is reused as the example on the decomposition of total variance. It's just that, using a slightly different calculation step. (The following are the results of estrogen testing of some solutions that have undergone certain treatments. The weight of uterine in rats is used as a measure of estrogen activity. The weight of uterine in milligrams of four mice for each control and six different solutions are listed in the following table)
Table 4. Uterine Weight Data (mg) of 7 Treatments Against Four Mice
| control | P1 | P2 | P3 | P4 | P5 | P6 |
|
| 89.8 | 84.4 | 64.4 | 75.2 | 88.4 | 56.4 | 65.6 |
|
| 93.8 | 116.0 | 79.8 | 62.4 | 90.2 | 83.2 | 79.4 |
|
| 88.4 | 84.0 | 88.0 | 62.4 | 73.2 | 90.4 | 65.6 |
|
| 112.6 | 68.6 | 69.4 | 73.8 | 87.8 | 85.6 | 70.2 |
|
Total treatment | 384.6 | 353 | 301.6 | 273.8 | 339.6 | 315.6 | 280.8 | 2249 |
Y1. | Y2. | Y3. | Y4. | Y5. | Y6. | Y7. | Y.. |
Analysis of variance
Hypothesis Testing Steps:
- Since there are only 7 treatments available, the suitable model is a fixed model. Such models are:
Yij = μ + τi + εij ; i =1, 2, ..., 7 and j = 1,2,3,4
with:
Yij = uterine weight of the j-th rat that obtained the i-th treatment
μ = uterine heavy population mean
τi = i-th treatment effect
εij = random effect on j-th mice obtaining i-th treatment.
- Assumptions: see assumptions for fixed models
- Hypothesis to be tested:
- H0 : All τj = 0 (or no effect of treatment on uterine weight of rats)
- H1 : Not all τj = 0; or there is at least one treatment that affects the uterine weight of rats.
Analysis of variance calculation steps:
Step 1: Calculate the Correction Factor
$$\begin{matrix}CF=\frac{Y..^2}{rt}=\frac{2249^2}{28}=180642.89\\\\\end{matrix}$$
Step 2: Calculate the Sum of The Total Squares
$$\begin{matrix}SSTOT=\sum_{i=1}^{t}\sum_{j=1}^{r}{Y_{ij}}^2-CF\\=(89.8^2+93.8^2+....+65.6^2+70.2^2)-180642.89\ \\=5478.51\\\end{matrix}$$
Step 3: Calculate the Sum of Squares of Treatment
$$\begin{matrix}SST=\sum_{i=1}^{t}\frac{{Y_{i.}}^2}{r}-CF\\=\frac{(384.6^2+353^2+301.6^2+\ 273.8^2+339.6^2+315.6^2+280.8^2)}{4}-180642.89\ \\=2415.94\\\end{matrix}$$
Step 4: Calculate the Sum of Squares of Errors
$$ SSE=SSTOT-\ SST=3062.57$$
Step 5: Create an Analysis of variance Table with its F-Values table
Table 5. Analysis of variance of Uterine Weight of Rats
Sources of variance (SV) | Degree of freedom (df) | Sum of squares (SS) | Mean square (MS) | F-stat | Ftable | |
5% | 1% | |||||
Treatment | 6 | 2415.94 | 402.66 | 2.76 | 2.573 | 3.812 |
Error | 21 | 3062.57 | 145.84 |
|
|
|
Total | 27 | 5478.51 |
|
|
|
|
F(0.05,6,21) = 2,573
F(0.01,6,21) = 3,812
Step 6: Make a Conclusion
Since Fstat (2.76) > 2,573 then we reject H0: μ1 = μ2 = μ3 = μ4 = μ5 = μ6 at a confidence level of 95%
Since Fstat (2.76) ≤ 3,812 then we fail to reject H0:μ1 = μ2 = μ3 = μ4 = μ5 = μ6 at a confidence level of 99%
This means that at the level of 95% confidence, there is at least one treatment that is different from the others. But at the level of 99% confidence, all the average treatment is no different from others.
Information:
Usually, a one-asterisk (*) is given, when the F-stat value is greater than F(0.05) and a two-asterisk (**) is given when the F-stat value is greater than F(0.01)
Step 7: Calculate the Coefficient of Variance (CV)
$$\begin{matrix}CV=\frac{\sqrt{MSE}}{\bar{Y}..}\times100\%\\ =\frac{\sqrt{145.84}}{80.32}\times100\%\\ =15.03\%\\ \end{matrix}$$
- From the table above we can guess some parameters of the experiment:
- E(MSE) = σ2 is suspected with MSE = 145.84
- E(MST) = $\sigma^2+\left [\frac{r}{(t-1)} \right ]\sum_{i=1}^{t}\tau_i^2$ allegedly with MST = 402.66
- So that if Fstat greater than 1 then the conclusion will be more inclined to reject the null hypothesis and vice versa.
- Estimators of variance of treatment $\left [\frac{r}{(t-1)} \right ]\sum_{i=1}^{t}\tau_i^2$ effects are suspected through $\frac{E(MST)-\sigma^2}{r}=\frac{402.66-145.84}{4}=64.20$
Average Comparison (by using the LSD Test)
In this example, testing the difference in average pairs between treatments was carried out using one of the post hoc tests, namely LSD. In this case, it is not actually appropriate to use LSD as a further testing procedure, why? (See discussion on treatment mean difference testing)
Table 6. Table of Average Uterine Weight of Rats
Treatment (T) | Average |
control | 96.15 |
P1 | 88.25 |
P2 | 75.40 |
P3 | 68.45 |
P4 | 84.90 |
P5 | 78.90 |
P6 | 70.20 |
- Calculate LSD Value0.05
- $\begin{matrix}LSD=t_{0.05/2;21}\sqrt{\frac{2MSE}{r}}\\=2.08\times\sqrt{\frac{2(145.84)}{4}}\\=17.76\ \ \\\end{matrix}$
- Sort Average Treatment (in this example the average is sorted from small to large)
- Test criteria:
- Compare the absolute value of the difference between the two averages that we will see the difference with the LSD value with the following test criteria:
- $ if\ \ \left|\mu_i-\mu_j\right|\ \ \left\langle\ \ \begin{matrix}>LSD_{0.05}\ reject\ H_0,\ two\ means\ are\ significantly\ different\\\le LSD_{0.05}\ accept\ H_0,\ two\ means\ are\ not\ significantly\ different.\\\end{matrix}\right.$
- The results of the test of the difference in average pairs (pair wise comparisons) at a significant level of 5%
P3 | P6 | P2 | P5 | P4 | P1 | control | Notation | ||
Treatment (T) | Average | 68.45 | 70.20 | 75.40 | 78.90 | 84.90 | 88.25 | 96.15 |
|
P3 | 68.45 | 0.00 | a | ||||||
P6 | 70.20 | 1.75 ns | 0.00 | a | |||||
P2 | 75.40 | 6.95 ns | 5.20 ns | 0.00 | ab | ||||
P5 | 78.90 | 10.45 ns | 8.70 ns | 3.50 ns | 0.00 | abc | |||
P4 | 84.90 | 16.45 ns | 14.70 ns | 9.50 ns | 6.00 ns | 0.00 | abc | ||
P1 | 88.25 | 19.80 * | 18.05 * | 12.85 ns | 9.35 ns | 3.35 ns | 0.00 | bc | |
control | 96.15 | 27.70 * | 25.95 * | 20.75 * | 17.25 ns | 11.25 ns | 7.90 ns | 0.00 | c |
Calculation with SmartstatXL Excel Add-In



Case example 2 : Completely Randomized Design with Unequal Test
In a biological experiment 4 concentrations of chemicals were used to stimulate the growth of a certain type of plant over a period of time. The following growth data, in centimeters, are recorded from living plants.
Table 7. Plant growth data (cm)
| Concentration |
| |||
| 1 | 2 | 3 | 4 |
|
| 8.2 8.8 9.3 9.1 9.4 | 7.8 8.3 8.4 8.6 8.1 8.0 | 6.8 5.8 6.7 7.2 6.8 7.4 6.2 | 6.8 7.2 6.4 6.8 7.0 6.5 |
|
Total Treatment | 44.8 | 49.2 | 46.9 | 40.7 | 181.6 |
Y1. | Y2. | Y3. | Y4. | Y.. | |
Analysis of Variance
The hypothesis testing steps for the above case are as follows:
- The model for the above case is:
Yij = μ + τi + εij
i =1,2,3,4 and j = 1, 2, ..., ri; where ri is the multiplicity of replications for the i-th treatment
with
Yij = jth plant growth (cm) that obtained the i-th treatment
μ = population mean
τi = i-th treatment effect
εij = random effect on the j-th plant that obtained the i-th treatment. - Assumptions: see assumptions for fixed models
- Hypothesis to be tested :
- H0 : All τj = 0 or no effect of treatment on plant growth.
- H1 : Not all τj = 0; or there is at least one treatment that affects plant growth.
Analysis of variance calculation steps:
Step 1: Calculate the Correction Factor
$$ CF=\frac{Y..^2}{\sum_{i=1}^{t}r_i}=\frac{181.6^2}{24}=1374.11$$
Step 2: Calculate the Sum of The Total Squares
$$\begin{matrix}SSTOT=\sum_{i=1}^{t}\sum_{j=1}^{r_i}{Y_{ij}}^2-CF\\=8.2^2+8.8^2+...+7.0^2+6.5^2-1374.11\\=24.673\\\end{matrix}$$
Step 3: Calculate the Sum of Squares of Treatment
$$\begin{matrix}SST=\sum_{i=1}^{t}\frac{{Y_{i.}}^2}{r_i}-CF\\=\frac{44.8^2}{5}+\frac{49.2^2}{6}+\frac{46.9^2}{7}+\frac{40.7^2}{6}-1374.11\\=21.053\\\\\end{matrix}$$
Step 4: Calculate the Sum of Squares of Errors
$$\begin{matrix}SSE=SSTOT-SST=24.673-21.053\\=3.620\\\end{matrix}$$
Step 5: Create an Anova Table
Table 8. Anova Table of Plant Growth
Sources of variance (SK) | Degree of freedom (df) | Sum of squares (SS) | Mean square (MS) | Fstat | Ftable | |
5% | 1% | |||||
Treatment | 3 | 21.053 | 7.018 | 38.768 ** | 3.098 | 4.938 |
Error | 20 | 3.620 | 0.181 |
|
|
|
Total | 23 | 24.673 |
|
|
|
|
F(0.05,3,2 0) = 3,098
F(0.01,3,2 0) = 4,938
Step 6: Make a Conclusion
Since Fstat (38,768) > 3,098 then we reject H0: μ1 = μ2 = μ3 = μ4 at a confidence level of 95%
Since Fstat (38,768) > 4,938 then we reject H0: μ1 = μ2 = μ3 = μ4 at a confidence level of 99%
This means that at the level of 99% confidence, there is at least one treatment that is different from the others.
Information:
Usually, a one-asterisk (*) is given, when the F-stat value is greater than F(0.05) and a two-asterisk (**) is given when the F-stat value is greater than F(0.01)
Step 7: Calculate the Coefficient of Variance (CV)
$$\begin{matrix} CV=\frac{\sqrt{MSE}}{\bar{Y}..}\times100\% =\frac{\sqrt{0.181}}{7.567}\times100\%\\ =5.62\%\\ \end{matrix}$$
Average Comparison (by using the LSD Test)
In this example, testing the difference in average pairs between treatments was carried out using one of the post-hoc tests, namely LSD. In this case, it is not actually appropriate to use LSD as a further testing procedure, why? (See discussion on treatment mean difference testing)
Table 9. Anova Table of Plant Growth
Sources of variance (SK) | Degree of freedom (df) | Sum of squares (JK) | Mean square (KT) | Fstat | Ftable | |
5% | 1% | |||||
Treatment | 3 | 21.053 | 7.018 | 38.768 ** | 3.098 | 4.938 |
Error | 20 | 3.620 | 0.181 |
|
|
|
Total | 23 | 24.673 |
|
|
|
|
Table 10. Table of Average Plant Growth
Concentration (K) | ri | Average |
k1 | 5 | 8.96 |
k2 | 6 | 8.20 |
k3 | 7 | 6.70 |
k4 | 6 | 6.78 |
- Calculate LSD Value (α = 0.05)
- $\begin{matrix}LSD=t_{0.05/2;20}\sqrt{MSE(\frac{1}{r_i}+\frac{1}{r_j})}\\LSD\ \ 1:\ \ (k_1\ \ vs\ \ k_2\ or \ k_4)=2.09\times\sqrt{0.181(\frac{1}{5}+\frac{1}{6})}\\=0.538\\LSD\ \ 2:\ \ (k_1\ \ vs\ \ k_3)=2.09\times\sqrt{0.181(\frac{1}{5}+\frac{1}{7})}\\=0.521\\LSD\ \ 3:\ \ (k_2\ or\ k_4\ \ vs\ \ k_3)=2.09\times\sqrt{0.181(\frac{1}{6}+\frac{1}{7})}\\=0.495\\LSD\ \ 4:\ \ (k_2\ vs\ k_4)=2.09\times\sqrt{0.181(\frac{1}{6}+\frac{1}{6})}\\=0.513\\\end{matrix}$
- Sort Average Treatment (in this example the average is sorted from small to large)
- Test criteria:
- Compare the absolute value of the difference between the two averages that we will see the difference with the LSD value with the following test criteria:
- $ if\ \ \left|\mu_i-\mu_j\right|\ \ \left\langle\ \ \begin{matrix}>LSD_{0.05}\ reject\ H_0,\ two\ means\ are\ significantly\ different\\\le LSD_{0.05}\ accept\ H_0,\ two\ means\ are\ not\ significantly\ different.\\\end{matrix}\right.$
- The results of the test of the difference in average pairs (pair wise comparisons) at a significant level of 5%
k3 | k4 | k2 | k1 | Notation | ||
Concentration (K) | Average | 6.70 | 6.78 | 8.20 | 8.96 | |
k3 | 6.70 | 0.00 | a | |||
k4 | 6.78 | 0.08 ns | 0.00 | a | ||
k2 | 8.20 | 1.50 * | 1.42 * | 0.00 | b | |
k1 | 8.96 | 2.26 * | 2.18 * | 0.76 * | 0.00 | c |

