The Graeco-Latin Square Design (GLSD) allows us to eliminate three nuisance factors (blocking).
Each factor has p levels
We can control the effect of these blocking factors by grouping the experimental units into blocks.
This is an extension of the Latin Square Design.
Rocket Propellant Experiment
An experimenter wanted to study the effects of 5 different formulations of a rocket propellant on the observed burning rate.
Each formulation is mixed from a batch of raw material.
Each formulation is prepared by one operator for each batch.
Each formulation can be assembly tested using 5 different tests.
\(p=5\) levels for each factor
\(p^2= 25\) runs or observations.
Data description
library(tidyverse)library(gtsummary)# enter ERBurnRate=c(24,17,18,26,22,20,24,38,31,30,19,30,26,26,20,24,27,27,23,29,24,36,21,22,31)Bt=gl(n =5, k =1,length =25, labels =c(1:5))Op=gl(n =5, k =5,length =25, labels =c(1:5))Trts=c("A","B","C","D","E","B","C","D","E","A","C","D","E","A","B","D","E","A","B","C","E","A","B","C","D")# ADDITIONAL FACTOR - THAT IS THE TEST ASSEMBLIESTests=c("Aa","Ba","Ca","Da","Ea","Da","Ea","Aa","Ba","Ca","Ba","Ca","Da","Ea","Aa","Ea","Aa","Ba","Ca","Da","Ca","Da","Ea","Aa","Ba")rocket=tibble(BurnRate,Bt,Op,Trts,Tests)head(rocket)
# A tibble: 6 × 5
BurnRate Bt Op Trts Tests
<dbl> <fct> <fct> <chr> <chr>
1 24 1 1 A Aa
2 17 2 1 B Ba
3 18 3 1 C Ca
4 26 4 1 D Da
5 22 5 1 E Ea
6 20 1 2 B Da
The ANOVA was rejected (p-value \(= 0.007\)). Therefore, the data is compatible with the means difference in the burn rate across the 5 formulations. Next, we will diagnose the model.
Model Adequacy
par(mfrow=c(2,2))plot(results)
We could consider a transformation because the Scale-Location plots is showing a trend.
Transformation
Since \(\lambda\) was estimated to be \(0\) we need a \(\log\) transformation.
library(car)l=powerTransform(results)l$roundlam
Y1
0
## do the transofrmationTburn =log(BurnRate)## Refit ANOVArano=aov(Tburn ~ Bt + Op + Trts + Tests, data=rocket)## Summarysummary(rano)
Study: results ~ "Trts"
LSD t Test for BurnRate
Mean Square Error: 10.4
Trts, means and individual ( 95 %) CI
BurnRate std r LCL UCL Min Max
A 28.6 4.669047 5 25.27423 31.92577 24 36
B 20.2 2.167948 5 16.87423 23.52577 17 23
C 22.4 4.393177 5 19.07423 25.72577 18 29
D 29.8 5.403702 5 26.47423 33.12577 24 38
E 26.0 3.391165 5 22.67423 29.32577 22 31
Alpha: 0.05 ; DF Error: 8
Critical Value of t: 2.306004
Comparison between treatments means
difference pvalue signif. LCL UCL
A - B 8.4 0.0034 ** 3.696656 13.103344
A - C 6.2 0.0161 * 1.496656 10.903344
A - D -1.2 0.5725 -5.903344 3.503344
A - E 2.6 0.2382 -2.103344 7.303344
B - C -2.2 0.3122 -6.903344 2.503344
B - D -9.6 0.0015 ** -14.303344 -4.896656
B - E -5.8 0.0217 * -10.503344 -1.096656
C - D -7.4 0.0067 ** -12.103344 -2.696656
C - E -3.6 0.1156 -8.303344 1.103344
D - E 3.8 0.0995 . -0.903344 8.503344
Conclusion:
Tukey’s Test indicates:
Significant differences between:
B and D;
A and B; and
C and D.
Fisher LSD Test indicates:
Significant differences between:
B and D;
A and B;
C and D;
B and E;
A and C.
Formulation D led to the highest mean burning rate and it is statistical significant different from formations B and C.
Formulation D, A, and E resulted in no significant differences.