5 - LSD and Missing Plot
5 - LSD and Missing Plot
Experiments
Experimental Designs and Their Analysis
:::
Lecture 21
Analysis in Latin Square Design and Missing Plot Technique
Shalabh
Department of Mathematics and Statistics
Indian Institute of Technology Kanpur
A B C D
B C D A
C D A B
D A B C
2
Analysis of LSD (one observation per cell):
In designing a LSD of order p,
choose one Latin square at random from the set of all
possible Latin squares of order p.
Select a standard Latin square from the set of all standard
Latin squares with equal probability.
Randomize all the rows and columns as follows:
Choose a random number, less than p, say n1 and then 2nd
row is the n1th row.
Choose another random number less than p, say n2 and
then 3rd row is the n2th row and so on.
Then do the same for column. 3
Analysis of LSD (one observation per cell):
For Latin squares of order less than 5, fix first row and then
randomize rows and then randomize columns.
In Latin squares of order 5 or more, need not to fix even the first
row. Just randomize all rows and columns.
4
Analysis of LSD (one observation per cell): Example
Suppose following Latin square is chosen
A B C D E
B C D E A
D E A B C
E A B C D
C D E A B
Now randomize rows, e.g., 3rd row becomes 5th row and 5th row
becomes 3rd row. The Latin square becomes
A B C D E
B C D E A
C D E A B
E A B C D
D E A B C
5
Analysis of LSD (one observation per cell): Example
Now randomize columns, say 5th column becomes 1st column,
1st column becomes 4th column and 4th column becomes 5th
column
E B C A D
A C D B E
D A B E C
C E A D B
B D E C A
6
Analysis of LSD (one observation per cell):
yijk : Observation on kth treatment in ith row and jth block,
i = 1, 2,...,v, j = 1, 2,...,v, k = 1, 2,...,v.
7
Analysis of LSD (one observation per cell):
Linear model is
yijk i j k ijk , i 1, 2,..., v; j 1, 2,..., v; k 1, 2,..., v
where ijk are random errors which are identically and
independently distributed following N (0, 2 ) with
v v v
i 1
i 0,
j 1
j 0,
k 1
k 0,
8
Analysis of LSD (one observation per cell):
The null hypothesis under consideration are
H 0 R : 1 2 .... v 0
H 0C : 1 2 .... v 0
H 0T : 1 2 .... v 0.
9
Analysis of LSD (one observation per cell):
The analysis of variance can be developed on the same lines as
earlier.
v v v
Minimizing S ijk with respect to , i , j and k given
2
i 1 j 1 k 1
ˆ yooo
ˆi yioo yooo i 1, 2,..., v
10
Analysis of LSD (one observation per cell):
Using the fitted model based on these estimators, the total sum
of squares can be partitioned into the mutually orthogonal sum
of squares SSR, SSC, SSTr and SSE as
v i
R 2
G2
SSR: Sum of squares due to rows = v ( yioo yooo ) i 1
2;
2
i 1 v v
v v
where Ri yijk .
j 1 k 1 11
v
Analysis of LSD (one observation per cell):
v j
C 2
G2
SSC: Sum of squares due to column v ( yojo yooo ) 2 j 1
2 ;
j 1 v v
v v
where C j yijk .
i 1 k 1 v
v k
T 2
G2
SSTr : Sum of squares due to treatment v ( yook yooo )2 k 1
2;
k 1 v v
v v
where Tk yijk .
i 1 j 1
Total v2 ‐ 1 TSS
14
Analysis of LSD (one observation per cell):
The expectations of mean squares are obtained as
SSR v v
E ( MSR ) E
v 1
2
v 1
i 1
i
2
SSC v v 2
E ( MSC ) E
v 1
2
v 1 j 1
j
SSTr v v
E ( MSTr ) E
v 1
2
v 1
k 1
2
k
SSE
E ( MSE ) E 2
.
(v 1)(v 2)
15
Missing plot techniques:
It happens many time in conducting the experiments that some
observation are missed.
This may happen due to several reasons.
For example, in a clinical trial, suppose the readings of blood
pressure are to be recorded after 3 days of giving the medicine to
the patients. Suppose the medicine is given to 20 patients and one
of the patients doesn’t turn up for providing the reading.
Similarly, in an agricultural experiment, the seeds are sown and
yields are to be recorded after few months. Suppose some cattle
destroy the crop of any plot or the crop of any plot is destroyed
due to storm, insects etc.
16
Missing plot techniques:
In such cases, one option is to
‐ somehow estimate the missing value on the basis of available
data,
‐ replace it back in the data and make the data set complete.
18
Missing plot techniques:
• Form as much linear equation as the number of unknown
values (i.e., differentiate the error sum of squares with
respect to each unknown value).
• Solve all the linear equations simultaneously and solutions
will provide the missing values.
• Impute the missing values with the estimated values and
complete the data.
• Apply analysis of variance tools.
• The error sum of squares thus obtained is corrected but the
treatment sum of squares is not corrected.
19
Missing plot techniques:
• The number of degrees of freedom associated with the total
sum of squares is subtracted by the number of missing values
and adjusted in the error sum of squares.
• No change in the degrees of freedom of sum of squares due
to treatment is needed.
20
Missing observations in RBD: One missing observation
Suppose one observation in (i, j)th cell is missing and let this be x.
The arrangement of observations in RBD then will be as follows:
Treatments (Factor B) Block
totals where
1 2 j v '
yoo : total of known
1 y11 y12 … y1j … y1v B1
2 y21 y22 … y2j … y2v B2 observations
Blocks (Factor A)
22
Missing observations in RBD: One missing observation
Find x such that SSE is minimum
or x
(b 1)(v 1)
23
Missing observations in RBD: Two missing observations
If there are two missing observation, then let they be x and y.
‐ Let the corresponding row sums (block totals) are (R1 x) and
(R2 y).
‐ Column sums (treatment totals) are (C1 x) and (C2 y).
‐ Total of known observations is S.
Then
1 1
SSE x y [( R1 x) ( R2 y ) ] [(C1 x) 2 (C2 y ) 2 ]
2 2 2 2
v b
1
( S x y ) 2 terms independent of x and y.
bv
24
Missing observations in RBD: Two missing observations
Now differentiate SSE with respect to x and y, as
( SSE ) R1 x C1 x S x y
0 x 0
x v b bv
( SSE ) R2 y C2 y S x y
0 y 0.
y v b bv
26
Missing observations in LSD:
Let
‐ x be the missing observation in (i, j, k)th cell, i.e.
yijk , i 1, 2,.., v, j 1, 2,.., v, k 1, 2,.., v.
‐ R: Total of known observations in ith row
‐ C: Total of known observations in jth column
‐ T: Total of known observation receiving the kth treatment.
‐ S: Total of known observations
27
Missing observations in LSD:
Now
( S x) 2
Correction factor (CF )
v2
Total sum of squares (TSS ) x2 + term which are constant with respect to x ‐ CF
( R x)2
Row sum of squares (SSR) + term which are constant with respect to x ‐ CF
v
(C x)2
Column sum of squares (SSC) + term which are constant with respect to x ‐ CF
v
(T x)2
Treatment sum of squares(SSTr ) + term which are constant with respect to x ‐ CF
v
Sum of squares due to error (SSE) TSS - SSR - SSC - SSTr
1 2(S x)2
x ( R x) (C x) (T x)
2 2 2 2
v v2
28
Missing observations in LSD:
Choose x such that SSE is minimum. So
d ( SSE )
0
dx
2 4( S x )
2 x R C T 3x 2
0
v v
V ( R C T ) 2S
or x
(v 1)(v 2)
29
Adjustment to be done in analysis of variance:
Do all the steps as in the case of RBD.
To get the correct treatment sum of squares, proceed as follows:
Obtain the error sum of squares from complete data, say SSE1 .
Let SSE2 be the error sum of squares based on LSD obtained earlier.