chapter 4: randomized blocks
TRANSCRIPT
![Page 2: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/2.jpg)
Blocking and randomization
• Last time: Comparing the expectations of several populations. several populations.
• Earlier: The idea of blocking: Controlling a • Earlier: The idea of blocking: Controlling a parameter in such a way that its influence on the estimation of the effect of another on the estimation of the effect of another factor is minimized.
• The use of randomization.• The use of randomization.
![Page 3: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/3.jpg)
Example
• The yield in a process for manufacturing penicillin is investigated. penicillin is investigated.
• Yield is influenced by treatment A, B, C, D • Yield is influenced by treatment A, B, C, D (columns) This effect is of interest.
• Yield is also influenced by blend 1,2,..,5 • Yield is also influenced by blend 1,2,..,5 (rows) This effect is not of interest.
• (Example from Box, Hunter, Hunter: • (Example from Box, Hunter, Hunter: Statistics for Experimenters)
![Page 4: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/4.jpg)
94978889 ��
Example, cont. 85878781
7992778494978889
����
����
888081798489928785878781
����
�����
�Original data
���
���
−+−+++−−
���
���
−−−−
���
���
−−−−++++
���
���
−+−−+++
46532231
03120312
33336666
769281123
88808179 ����
�����
�����
−−++−+−
−+−++
�����
�����
−−−−−−
+
�����
�����
++++−−−−−−−−
=
�����
�����
−+++−++−−+−−
42510232
4653
031203120312
222211113333
236111157692
��
���
� +−−−−++
��
���
� −−−−
��
���
� −−−−++++
��
���
� +−−−−+++
65 014251
03120312
44442222
26572361
Data minus Row means ColumnData minusgrand mean
Row meansminus grand mean
Columnmeans minusgrand mean
Residualsmean grand mean
![Page 5: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/5.jpg)
Sums of squares
• The sums of squares for treatments, for blocks, the total sum of squares and the blocks, the total sum of squares and the error sum of squares are defined similarly to before. before.
• They add up, as before. • They add up, as before.
![Page 6: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/6.jpg)
Degrees of freedom
• The degrees of freedom for each sum of squares is defined similarly to beforesquares is defined similarly to before
• They add up, as before! • They add up, as before!
![Page 7: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/7.jpg)
Example, cont. �� ++−−�� −−�� ++++�� +++ 22310312666681123
����
����
−+−−+−+++−−
+����
����
−−−−−−
+����
����
−−−−−−−−++++
=����
����
−++−−+−−
+++
023246532231
031203120312
111133336666
11157692
81123
����
�����
� +−−−−++
−+−+
����
�����
� −−−−−−+
����
�����
� −−−−++++
−−−−=
����
�����
� +−−−−+++−++−
65 014251
0232
031203120312
44442222
1111
26572361
1115
���� +−−���� −−���� −−−−���� +−−− 65 01031244442657
Sums of squares:
560 = 264 + 70 + 226
Degrees of freedom:
19 = 4 + 3 + 1219 = 4 + 3 + 12
![Page 8: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/8.jpg)
Mean squares, and test statistic
• As before, the mean squares are the sums of squares divided by their respective degrees squares divided by their respective degrees of freedom
• The test statistic is as before the mean square for the treatments divided by the square for the treatments divided by the mean square for the errors.
![Page 9: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/9.jpg)
ANOVA table
![Page 10: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/10.jpg)
The hypothesis test
• Assumptions: We have independent random samples from normal distributions with the same samples from normal distributions with the same variance, and each expectation is a sum of a group mean and a block mean. mean and a block mean.
• Null hypothesis: The group means are the same. Alternative hypothesis: At least two are different. Alternative hypothesis: At least two are different.
• Test statistic as abovehas; it has, under the null hypothesis, an F distribution with degrees of hypothesis, an F distribution with degrees of freedom found in the ANOVA table
• Reject for large values of the test statistic. • Reject for large values of the test statistic.
![Page 11: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/11.jpg)
Checking the assumptions
• Check that it is reasonable to assume that the data are independent random samplesthe data are independent random samples
• Check the RESIDUALS to see if the group • Check the RESIDUALS to see if the group variances seem to be similar, if the data seem to be normally distributed, and check seem to be normally distributed, and check for independence of experimental runs.
![Page 12: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/12.jpg)
Table 4.3 (p. 125)Randomized Complete Block Design for the Vascular Graft Experiment
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
Randomized Complete Block Design for the Vascular Graft Experiment
![Page 13: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/13.jpg)
Table 4.4 (p. 125)Analysis of Variance for the Hardness Testing Experiment
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
Analysis of Variance for the Hardness Testing Experiment
![Page 14: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/14.jpg)
Figure 4.4 (p. 129)Normal probability plot of residuals for Example 4-1.for Example 4-1.
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
![Page 15: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/15.jpg)
Figure 4.5 (p. 129)Figure 4.5 (p. 129)Plot of residuals versus yij for Example 4-1.
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
![Page 16: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/16.jpg)
Figure 4.6 (p. 129)Plot of residuals by extrusion pressure (treatment) and by batches of resin (block) for Example 4-1.
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
Example 4-1.
![Page 17: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/17.jpg)
How to conclude –How to conclude –handling multiple testinghandling multiple testing
• If the p-value is small, it is customary to reject the null hypothesis and declare that reject the null hypothesis and declare that there is a difference between some of the group effects. group effects.
• To find which ones, you may need to do • To find which ones, you may need to do pairwise testing, which can lead to problems with multiple testing. with multiple testing.
• Ways to handle this exist: See textbook.
![Page 18: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/18.jpg)
Additivity
• The null hypothesis means that the effects of the blocks and of the treatments are of the blocks and of the treatments are additive!
• Whether there is an effect from the treatments is checked under this assumptiontreatments is checked under this assumption
• If there is an interaction between the treatment and block effects, use factorial treatment and block effects, use factorial designs!
![Page 19: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/19.jpg)
Missing data
• The computational formulas above reqire that there is exactly one observation for that there is exactly one observation for each combination of block and treatment.
• In practice, there may be missing data.• Possible to interpolate, however, it is • Possible to interpolate, however, it is
unnecessary: Use instead a formulation of a linear model, and computer computations! linear model, and computer computations!
![Page 20: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/20.jpg)
Linear models• In general, we can ”explain” our data as a linear
combination of unknown parameters, plus an ”error term” combination of unknown parameters, plus an ”error term” that is normally distributed, with a fixed unknown variance.
• Such models are examples of linear models. • General mathematical solutions make it possible to test
values and equalities of parameters. values and equalities of parameters. • The methods we discuss above and below are special
cases, where the math is simpler. cases, where the math is simpler. • When there is missing data, it is still possible to use the
general framework of linear models. general framework of linear models.
![Page 21: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/21.jpg)
Controlling for more than one Controlling for more than one factorfactor
• Above, we investigated one factor, and controlled for another. controlled for another.
• One may also control for two or more • One may also control for two or more factors.
• The trick is to construct an experiment • The trick is to construct an experiment where each controlled factor has a neutral influence on the estimation of the effect of influence on the estimation of the effect of interest.
![Page 22: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/22.jpg)
Latin squares
• They are squares that indicate how to set various factors when performing an various factors when performing an experiment.
• They are usually written with latin letters, whence the name. whence the name.
• They can fairly easily be constructed for different sizes. different sizes.
![Page 23: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/23.jpg)
Example
• Car pollution of a certain type depend on several factors: Car type, driver, and several factors: Car type, driver, and additives in the fuel. Assume we have 4 different cars, 4 different drivers, and 4 different cars, 4 different drivers, and 4 different additives.
• How can we test if there is an effect from the additives, while neutralizing the the additives, while neutralizing the (additive) effects from the cars and drivers?
![Page 24: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/24.jpg)
Example���
���
BACD
CDBA
���
���
3019242326232419
���
����
� DBAC
ACDB
BACD
���
����
� 1619181916151415Experimental plan Data��
��
��
−−−−
��
��
−−−−
��
��
��
��
−−−−
��
��
−−
22110211
22111122
44443333
21012101
101436341
����
�����
� −−
−−+
����
�����
� −−−−
−−+
����
�����
� −−−−−−−−
+
����
�����
� −−−−−−
=
����
�����
� −−−−−−−−
−
302110012211
12212112
2211
22225555
4444
210121012101
41214565
10143
Sums of squares: 312 = 24 + 216 + 40 + 32312 = 24 + 216 + 40 + 32
Degrees of freedom: 15 = 3 + 3 + 3 + 615 = 3 + 3 + 3 + 6
![Page 25: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/25.jpg)
Table 4.8 (p. 136)Latin Square Design for the Rocket Propellant Problem
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
Latin Square Design for the Rocket Propellant Problem
![Page 26: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/26.jpg)
Table 4.9 (p. 137)Analysis of Variance for the Latin Square Design
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
Analysis of Variance for the Latin Square Design
![Page 27: Chapter 4: Randomized blocks](https://reader030.vdocument.in/reader030/viewer/2022012715/61add32d57ca4167be0c8dd7/html5/thumbnails/27.jpg)
Table 4.11 (p. 139)Analysis of Variance for the Rocket Propellant Experiment
Design and Analysis of Experiments, 6/E by Douglas C. Montgomery
Analysis of Variance for the Rocket Propellant Experiment