Professional Documents
Culture Documents
yij i ij(CR)
The error term, ij( RB,) for the Completely Block Design models
variability in the reponse, y, between experimental units in the
same block (hopefully the is considerably smaller than ij(CR).
2 102 72 100 82 70 94 7 56 70 72 64 62 63
(1) (2) (3) (4) (5) (6) (1) (2) (3) (4) (5) (6)
3 102 76 102 85 95 86 8 97 91 92 80 72 82
(1) (2) (3) (4) (5) (6) (1) (2) (3) (4) (5) (6)
4 93 70 93 63 71 63 9 80 63 87 82 81 63
(1) (2) (3) (4) (5) (6) (1) (2) (3) (4) (5) (6)
2 102 72 100 82 70 94 7 56 70 72 64 62 63
(1) (2) (3) (4) (5) (6) (1) (2) (3) (4) (5) (6)
3 102 76 102 85 95 86 8 97 91 92 80 72 82
(1) (2) (3) (4) (5) (6) (1) (2) (3) (4) (5) (6)
4 93 70 93 63 71 63 9 80 63 87 82 81 63
(1) (2) (3) (4) (5) (6) (1) (2) (3) (4) (5) (6)
Select Model.
Select a Custom model.
Put in the model only the main effects.
Obtain the ANOVA table
Subject Day 0 Day 1 Day 2 Day 7 Subject Day 0 Day 1 Day 2 Day 7
1 108 63 45 42 9 106 65 49 49
2 112 75 56 52 10 110 70 46 47
3 114 75 51 46 11 120 85 60 62
4 129 87 69 69 12 118 78 51 56
5 115 71 52 54 13 110 65 46 47
6 122 80 68 68 14 132 92 73 63
7 105 71 52 54 15 127 90 73 68
8 117 77 54 61
• The subjects are not grouped (single group).
• There is one repeated measures factor -Time
– with levels
– Day 0,
– Day 1,
– Day 2,
– Day 7
• This design is the same as a randomized
block design with
– Blocks = subjects
The Anova Table for Enzyme Experiment
Source SS df MS F p-value
Subject 4221.100 14 301.507 32.45 0.0000
Day 36282.267 3 12094.089 1301.66 0.0000
ERROR 390.233 42 9.291
Measure: MEASURE_1
Type III
Sum of Mean
Source Squares df Square F Sig.
TIME Sphericity As sumed 36282.267 3 12094.089 1301.662 .000
Greenhouse-Geis ser 36282.267 2.588 14021.994 1301.662 .000
Huynh-Feldt 36282.267 3.000 12094.089 1301.662 .000
Lower-bound 36282.267 1.000 36282.267 1301.662 .000
Error(TIME) Sphericity As sumed 390.233 42 9.291
Greenhouse-Geis ser 390.233 36.225 10.772
Huynh-Feldt 390.233 42.000 9.291
Lower-bound 390.233 14.000 27.874
Example :
(Repeated Measures Design - Grouping Factor)
Group
Control Drug A Drug B
Day Day Day
0 1 2 7 0 1 2 7 0 1 2 7
122 87 68 58 93 56 36 37 86 46 30 31
112 75 55 48 78 51 33 34 100 67 50 50
129 80 66 64 109 73 58 49 122 97 80 72
115 71 54 52 104 75 57 60 101 58 45 43
126 89 70 71 108 71 57 65 112 78 67 66
118 81 62 60 116 76 58 58 106 74 54 54
115 73 56 49 108 64 54 47 90 59 43 38
112 67 53 44 110 80 63 62 110 76 64 58
• The subjects are grouped by treatment
– control,
– Drug A,
– Drug B
• There is one repeated measures factor -Time
– with levels
– Day 0,
– Day 1,
– Day 2,
– Day 7
The Anova Table
Source SS df MS F p-value
Drug 1745.396 2 872.698 1.78 0.1929
Error1 10287.844 21 489.897
Time 47067.031 3 15689.010 1479.58 0.0000
Time x Drug 357.688 6 59.615 5.62 0.0001
Error2 668.031 63 10.604
100
Control
Drug A
Enzyme Level
Drug B
80
60
40
0 1 2 3 4 5 6 7
Day
Example :
Repeated Measures Design - Two Grouping Factors
Anxiety
Low High
Tension
None High None High
subject subject subject subject
1 2 3 1 2 3 1 2 3 1 2 3
18 19 14 16 12 18 16 18 16 19 16 16
14 12 10 12 8 10 10 8 12 16 14 12
12 8 6 10 6 5 8 4 6 10 10 8
6 4 2 4 2 1 4 1 2 8 9 8
The Anova Table
Source SS df MS F p-value
Anxiety 10.08333 1 10.08333 0.98 0.3517
Tension 8.33333 1 8.33333 0.81 0.3949
AT 80.08333 1 80.08333 7.77 0.0237
Error1 82.85 8 10.3125
B 991.5 3 330.5 152.05 0
BA 8.41667 3 2.80556 1.29 0.3003
BT 12.16667 3 4.05556 1.87 0.1624
BAT 12.75 3 4.25 1.96 0.1477
Error2 52.16667 24 2.17361
Latin Square Designs
Latin Square Designs
Selected Latin Squares
3x3 4x4
ABC ABCD ABCD ABCD ABC D
BCA BADC BCDA BDAC BADC
CAB CDBA CDAB CADB CDAB
DCAB DABC DCBA DCBA
5x5 6x6
ABCDE ABCDEF
BAECD BFDCAE
CDAEB CDEFBA
D EBAC DAFECB
ECDBA ECABFD
FEBADC
A Latin Square
Definition
ABCD
BCDA
CDAB
DABC
In a Latin square You have three factors:
• Treatments (t) (letters A, B, C, …)
• Rows (t)
• Columns (t)
The number of treatments = the number of rows =
the number of colums = t.
The row-column treatments are represented by cells
in a t x t array.
The treatments are assigned to row-column
combinations using a Latin-square arrangement
Example
Total 201.09267 24
Example
In this Experiment the we are again interested in how
weight gain (Y) in rats is affected by Source of
protein (Beef, Cereal, and Pork) and by Level of
Protein (High or Low).
There are a total of t = 3 X 2 = 6 treatment
combinations of the two factors.
• Beef -High Protein
• Cereal-High Protein
• Pork-High Protein
• Beef -Low Protein
• Cereal-Low Protein and
• Pork-Low Protein
In this example we will consider using a Latin Square
design
Appetite Category
1 2 3 4 5 6
1 62.1 84.3 61.5 66.3 73.0 104.7
A B C D E F
2 86.2 91.9 69.2 64.5 80.8 83.9
B F D C A E
Initial 3 63.9 71.1 69.6 90.4 100.7 93.2
Weight C D E F B A
Category 4 68.9 77.2 97.3 72.1 81.7 114.7
D A F E C B
5 73.8 73.3 78.6 101.9 111.5 95.3
E C A B F D
6 101.8 83.8 110.6 87.9 93.5 103.8
F E B A D C
The Anova Table for Example
Total 8210.0499 35
Diet SS partioned into main effects for Source and
Level of Protein
Total 8210.0499 35
Graeco-Latin Square Designs
i = 1,2,…, t j = 1,2,…, t
k = 1,2,…, t l = 1,2,…, t