Statistics II · Unit 5 · 10 hrs
Design of experiment
Exam-focused notes for Design of experiment (Statistics II, STA215): what the TU syllabus asks and how it has actually been tested, with 10 solved past questions from this unit.
Design of experiment in short
Design of experiments is the discipline of planning how treatments are assigned to experimental material so that genuine treatment differences can be separated cleanly from chance variation, using the smallest workable amount of data.
What this unit covers
- Experimental design
- Basic principles of experimental designs
- Completely Randomized Design (CRD)
- Randomized Block Design (RBD)
- ANOVA table
- Efficiency of RBD relative to CRD
- Estimations of missing value (one observation only)
- Advantages and disadvantages
- Latin Square Design (LSD): Statistical analysis of m × m LSD for one observation per experimental unit, ANOVA table, Estimation of missing value in LSD (one observation only), Efficiency of LSD relative to RBD, Advantage and disadvantages
- Problems and illustrative examples related to computer Science and IT
Completely Randomized Design
2081 · 10 marks
One-Way ANOVA: Seminar Evaluation Scores by Manager Level
A management consulting company presents a 3-day seminar on project management to various clients. The seminar is basically the same each time it is given. However, sometimes it is presented to high-level managers, sometimes to mid-level managers, and sometimes to low-level managers. The seminar facilitators believe evaluations of the seminar may vary with the audience. Suppose the following data are some randomly selected evaluation scores from different levels of managers after they have attended the seminar. The ratings are on a scale from 1 to 100, with 100 being the highest score. Use a one-way ANOVA to determine whether there is a significant difference in the evaluation according to manager level. The following table gives the scores to the various clients due to different manager levels.
$$\begin{array}{|c|c|c|c|} \hline & \text{High Level} & \text{Mid Level} & \text{Low Level} \ \hline & 85 & 90 & 55 \ & 75 & 100 & 75 \ & 85 & 95 & 80 \ & 60 & 85 & 75 \ & 70 & 90 & \ & & 75 & \ \hline \end{array}$$
[10]
2079 · 10 marks
Design of Experiments Question
What do you understand by 'Design of an Experiment'? Physicians depend on laboratory test results when managing medical problems such as diabetes or epilepsy. In a uniformity test of glucose tolerance, three different laboratories were sent $n_t = 5$ identical blood samples from a person who had drunk 50 mg of glucose dissolved in water. The laboratory results are listed below: Do data indicate a difference in the average readings for three laboratories? Use $\alpha = 0.05$.
| Lab 1 | Lab 2 | Lab 3 |
|---|---|---|
| 12.1 | 9.3 | 10.0 |
| 11.7 | 11.1 | 10.5 |
| 10.9 | 10.7 | 10.1 |
| 10.2 | 10.9 | 11.0 |
| 10.6 | 9.0 | 10.4 |
[10]
2078 · 10 marks
Statistical Test for Computer Lifetime Across Brands
There are three brands of computers namely Dell, Lenovo, and HP. The following are the lifetime of 15 computers in years. Apply appropriate statistical tests to identify whether the average lifetime (in years) is significantly different across three brands of computers at a 5% level of significance. You can again tabulate the data initially in the required format for statistical analysis.
$$\begin{array}{|c|c|c|} \hline \text{Serial Number} & \text{Computer Brand} & \text{Lifetime in years} \ \hline 1 & \text{Dell} & 15 \ 2 & \text{Lenovo} & 10 \ 3 & \text{HP} & 9 \ 4 & \text{Dell} & 12 \ 5 & \text{Lenovo} & 6 \ 6 & \text{HP} & 7 \ 7 & \text{Dell} & 4 \ 8 & \text{Lenovo} & 8 \ 9 & \text{HP} & 13 \ 10 & \text{Dell} & 11 \ 11 & \text{HP} & 5 \ 12 & \text{Lenovo} & 7 \ 13 & \text{Dell} & 3 \ 14 & \text{HP} & 5 \ 15 & \text{Lenovo} & 4 \ \hline \end{array}$$
[10]
Latin Square Design
2081 · 5 marks
What do you understand by design of experiments? Give the layout of a Latin Square Design. Explain why the number of treatments tested in a Latin Square Design should not be less than 3? [5]
Show solved answerHide answer
Design of Experiments and Latin Square Design
Design of Experiments
Design of experiments refers to the systematic planning and arrangement of experimental conditions so that valid, unbiased, and reliable conclusions can be drawn from the experimental data with minimum experimental error.
According to R.A. Fisher, the design of experiments is based on three fundamental principles:
Three Principles of Design of Experiments
| Principle | Description |
|---|---|
| Replication | Execution of an experiment more than once. It provides a more reliable estimate and helps minimize experimental error (maximize accuracy). |
| Randomization | Treatments are allocated to various plots in a random manner, giving each treatment an equal chance of being assigned to any experimental unit. It reduces bias. |
| Local Control | Converts a heterogeneous experimental field into homogeneous blocks (row-wise or column-wise), thereby reducing experimental error. |
Latin Square Design (LSD)
LSD is a design used for non-homogeneous experimental material. It applies local control simultaneously along both rows and columns, making it more efficient than RBD. The experimental layout is always square (equal number of rows and columns).
Mathematical Model
$$Y_{ijk} = \mu + \alpha_i + \beta_j + T_k + e_{ijk}$$
Where:
- $Y_{ijk}$ = observation in $i^{th}$ row and $j^{th}$ column receiving $k^{th}$ treatment
- $\mu$ = general mean effect
- $\alpha_i$ = effect due to $i^{th}$ row
- $\beta_j$ = effect due to $j^{th}$ column
- $T_k$ = effect due to $k^{th}$ treatment
- $e_{ijk}$ = random error due to chance
Layout of a Latin Square Design (4x4 Example)
In an LSD with 4 treatments (A, B, C, D), each treatment appears exactly once in each row and exactly once in each column:
$$ \begin{array}{|c|c|c|c|} \hline \textbf{Col 1} & \textbf{Col 2} & \textbf{Col 3} & \textbf{Col 4} \ \hline A & B & C & D \ \hline B & C & D & A \ \hline C & D & A & B \ \hline D & A & B & C \ \hline \end{array} $$
Here, 4 rows, 4 columns, and 4 treatments -- each appearing exactly once per row and per column.
Why the Number of Treatments Should NOT Be Less Than 3
In an LSD with $m$ treatments, the degrees of freedom for error is given by:
$$df_{error} = (m-1)(m-2)$$
If $m = 2$ (only 2 treatments):
$$df_{error} = (2-1)(2-2) = 1 \times 0 = 0$$
- With zero degrees of freedom for error, it is impossible to estimate the experimental error.
- Without an error estimate, no F-test can be performed, and no valid statistical conclusions can be drawn.
If $m = 3$ (minimum acceptable):
$$df_{error} = (3-1)(3-2) = 2 \times 1 = 2$$
- This gives at least 2 degrees of freedom for error, which allows estimation of experimental error and valid hypothesis testing.
Summary Table
| Treatments ($m$) | $df_{error} = (m-1)(m-2)$ | Valid? |
|---|---|---|
| 2 | 0 | No -- error cannot be estimated |
| 3 | 2 | Yes -- minimum acceptable |
| 4 | 6 | Yes |
| 5 | 12 | Yes |
Conclusion: The number of treatments in an LSD must be at least 3 so that the degrees of freedom for error is greater than zero, enabling estimation of experimental error and valid F-tests in the ANOVA table.
2080 · 10 marks
What is Latin Square Design? Under what conditions can this be used? Give lay out and analysis of Latin Square Design.[10]
Show solved answerHide answer
Latin Square Design (LSD)
Definition
Latin Square Design (LSD) is a design of experiment used for non-homogeneous experimental material where local control is applied simultaneously in two directions (row-wise and column-wise), thereby converting non-homogeneous material into homogeneous. It is more efficient than Randomized Block Design (RBD) because it controls experimental error in two directions at the same time.
The shape of LSD is always a square since it contains an equal number of rows, columns, and treatments. If there are m treatments, the layout is an m x m square.
LSD is based on all three principles of experimental design: Randomization, Replication, and Local Control.
Conditions for Use of LSD
LSD can be used under the following conditions:
- The experimental material is non-homogeneous in two directions (rows and columns).
- The number of rows = number of columns = number of treatments (i.e., the layout must be a square).
- The number of treatments is neither too small (less than 4) nor too large (more than 8), as a very large square becomes difficult to manage.
- When it is desired to control variation in two directions simultaneously.
- When local control needs to be applied both row-wise and column-wise.
Layout of Latin Square Design
For a 4 x 4 LSD with treatments A, B, C, D, a typical layout is:
| Col 1 | Col 2 | Col 3 | Col 4 | |
|---|---|---|---|---|
| Row 1 | A | B | C | D |
| Row 2 | B | C | D | A |
| Row 3 | C | D | A | B |
| Row 4 | D | A | B | C |
Key property: Each treatment appears exactly once in each row and exactly once in each column.
Mathematical Model
The mathematical model for LSD is:
$$Y_{ijk} = \mu + \alpha_i + \beta_j + \tau_k + e_{ijk}$$
Where:
- $Y_{ijk}$ = observation in the $i$-th row and $j$-th column receiving the $k$-th treatment
- $\mu$ = general mean effect
- $\alpha_i$ = effect due to $i$-th row $(i = 1, 2, \ldots, m)$
- $\beta_j$ = effect due to $j$-th column $(j = 1, 2, \ldots, m)$
- $\tau_k$ = effect due to $k$-th treatment $(k = 1, 2, \ldots, m)$
- $e_{ijk}$ = random error (chance variation), assumed $\sim N(0, \sigma^2)$
Analysis of Latin Square Design
Hypotheses
- For Rows: $H_0$: There is no significant difference among rows vs $H_1$: There is significant difference among rows.
- For Columns: $H_0$: There is no significant difference among columns vs $H_1$: There is significant difference among columns.
- For Treatments: $H_0$: There is no significant difference among treatments vs $H_1$: There is significant difference among treatments.
Notation
Let:
- $m$ = number of treatments (also number of rows and columns)
- $N = m^2$ = total number of observations
- $T$ = Grand total of all observations
- $R_i$ = Total of $i$-th row
- $C_j$ = Total of $j$-th column
- $T_k$ = Total of $k$-th treatment
Correction Factor and Sums of Squares
Correction Factor (CF): $$CF = \frac{T^2}{N} = \frac{T^2}{m^2}$$
Total Sum of Squares (TSS): $$TSS = \sum_{i}\sum_{j} Y_{ij}^2 - CF$$
Sum of Squares for Rows (SSR): $$SSR = \frac{1}{m}\sum_{i=1}^{m} R_i^2 - CF$$
Sum of Squares for Columns (SSC): $$SSC = \frac{1}{m}\sum_{j=1}^{m} C_j^2 - CF$$
Sum of Squares for Treatments (SSTr): $$SSTr = \frac{1}{m}\sum_{k=1}^{m} T_k^2 - CF$$
Error Sum of Squares (SSE): $$SSE = TSS - SSR - SSC - SSTr$$
Degrees of Freedom
| Source | Degrees of Freedom (df) |
|---|---|
| Rows | $m - 1$ |
| Columns | $m - 1$ |
| Treatments | $m - 1$ |
| Error | $(m-1)(m-2)$ |
| Total | $m^2 - 1$ |
Mean Squares
$$MSR = \frac{SSR}{m-1}, \quad MSC = \frac{SSC}{m-1}, \quad MSTr = \frac{SSTr}{m-1}, \quad MSE = \frac{SSE}{(m-1)(m-2)}$$
ANOVA Table for LSD
| Source of Variation | SS | df | MS | F-ratio |
|---|---|---|---|---|
| Rows | SSR | $m-1$ | MSR | $F_R = \dfrac{MSR}{MSE}$ |
| Columns | SSC | $m-1$ | MSC | $F_C = \dfrac{MSC}{MSE}$ |
| Treatments | SSTr | $m-1$ | MSTr | $F_{Tr} = \dfrac{MSTr}{MSE}$ |
| Error | SSE |
2078 · 5 marks
State the mathematical model for Statistical analysis for m x m LSD for one observation per experimental unit. Also prepare a dummy ANOVA table for this. [5]
2077 · 10 marks
Latin Square Design (LSD) - Concepts, Conditions, and Analysis
ANOVA table
2080 · 5 marks
What do you understand by Design of Experiment? Prepare one way analysis of variance table and carry out the test for the significance of difference in the average yields between different varieties of seed. Given: Total sum of squares = 258, Sum of square between varieties of seed = 50, Total number of observations = 20 [5]
Make Unit 5 stick
Practice STA215 with flashcards & quizzes