Data file
Data file
Function: FACTOR
Variable 4: PH
T A B L E O F M E A N S
1 3 2 4 Total
-------------------------------------------------------
1 * * 94.353 2830.600
2 * * 91.423 2742.700
3 * * 96.567 2897.000
-------------------------------------------------------
* * 1 97.211 874.900
* * 2 95.522 859.700
* * 3 94.000 846.000
* * 4 90.322 812.900
* * 5 95.411 858.700
* * 6 91.256 821.300
* * 7 96.233 866.100
* * 8 88.867 799.800
* * 9 93.811 844.300
* * 10 98.511 886.600
-------------------------------------------------------
1 * 1 99.467 298.400
1 * 2 97.833 293.500
1 * 3 96.133 288.400
1 * 4 90.600 271.800
1 * 5 95.133 285.400
1 * 6 87.167 261.500
1 * 7 98.600 295.800
1 * 8 85.100 255.300
1 * 9 95.700 287.100
1 * 10 97.800 293.400
2 * 1 91.133 273.400
2 * 2 93.500 280.500
2 * 3 88.133 264.400
2 * 4 88.733 266.200
2 * 5 94.467 283.400
2 * 6 92.633 277.900
2 * 7 91.933 275.800
2 * 8 86.433 259.300
2 * 9 89.000 267.000
2 * 10 98.267 294.800
3 * 1 101.033 303.100
3 * 2 95.233 285.700
3 * 3 97.733 293.200
3 * 4 91.633 274.900
3 * 5 96.633 289.900
3 * 6 93.967 281.900
3 * 7 98.167 294.500
3 * 8 95.067 285.200
3 * 9 96.733 290.200
3 * 10 99.467 298.400
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
Variable 5: PDL
T A B L E O F M E A N S
1 3 2 5 Total
-------------------------------------------------------
1 * * 19.037 571.100
2 * * 18.060 541.800
3 * * 20.183 605.500
-------------------------------------------------------
* * 1 19.356 174.200
* * 2 20.544 184.900
* * 3 19.611 176.500
* * 4 18.867 169.800
* * 5 19.922 179.300
* * 6 18.489 166.400
* * 7 17.722 159.500
* * 8 18.178 163.600
* * 9 18.589 167.300
* * 10 19.656 176.900
-------------------------------------------------------
1 * 1 19.700 59.100
1 * 2 19.333 58.000
1 * 3 21.133 63.400
1 * 4 14.933 44.800
1 * 5 20.600 61.800
1 * 6 18.233 54.700
1 * 7 16.600 49.800
1 * 8 20.900 62.700
1 * 9 20.767 62.300
1 * 10 18.167 54.500
2 * 1 18.833 56.500
2 * 2 20.933 62.800
2 * 3 18.633 55.900
2 * 4 19.100 57.300
2 * 5 15.433 46.300
2 * 6 17.300 51.900
2 * 7 20.167 60.500
2 * 8 16.100 48.300
2 * 9 16.433 49.300
2 * 10 17.667 53.000
3 * 1 19.533 58.600
3 * 2 21.367 64.100
3 * 3 19.067 57.200
3 * 4 22.567 67.700
3 * 5 23.733 71.200
3 * 6 19.933 59.800
3 * 7 16.400 49.200
3 * 8 17.533 52.600
3 * 9 18.567 55.700
3 * 10 23.133 69.400
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 6: NTPP
T A B L E O F M E A N S
1 3 2 6 Total
-------------------------------------------------------
1 * * 5.389 161.680
2 * * 5.525 165.740
3 * * 5.798 173.930
-------------------------------------------------------
* * 1 6.481 58.330
* * 2 5.778 52.000
* * 3 5.683 51.150
* * 4 5.567 50.100
* * 5 5.284 47.560
* * 6 5.281 47.530
* * 7 5.288 47.590
* * 8 5.343 48.090
* * 9 5.307 47.760
* * 10 5.693 51.240
-------------------------------------------------------
1 * 1 6.313 18.940
1 * 2 7.257 21.770
1 * 3 6.170 18.510
1 * 4 6.567 19.700
1 * 5 4.587 13.760
1 * 6 4.377 13.130
1 * 7 4.733 14.200
1 * 8 4.333 13.000
1 * 9 4.300 12.900
1 * 10 5.257 15.770
2 * 1 7.253 21.760
2 * 2 5.733 17.200
2 * 3 5.867 17.600
2 * 4 4.810 14.430
2 * 5 4.710 14.130
2 * 6 5.567 16.700
2 * 7 4.477 13.430
2 * 8 5.520 16.560
2 * 9 4.910 14.730
2 * 10 6.400 19.200
3 * 1 5.877 17.630
3 * 2 4.343 13.030
3 * 3 5.013 15.040
3 * 4 5.323 15.970
3 * 5 6.557 19.670
3 * 6 5.900 17.700
3 * 7 6.653 19.960
3 * 8 6.177 18.530
3 * 9 6.710 20.130
3 * 10 5.423 16.270
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 7: LAI
T A B L E O F M E A N S
1 3 2 7 Total
-------------------------------------------------------
1 * * 24.552 736.560
2 * * 24.638 739.130
3 * * 24.379 731.370
-------------------------------------------------------
* * 1 25.437 228.930
* * 2 24.773 222.960
* * 3 25.107 225.960
* * 4 24.348 219.130
* * 5 24.377 219.390
* * 6 23.107 207.960
* * 7 23.677 213.090
* * 8 25.089 225.800
* * 9 25.016 225.140
* * 10 24.300 218.700
-------------------------------------------------------
1 * 1 25.400 76.200
1 * 2 25.117 75.350
1 * 3 25.500 76.500
1 * 4 24.610 73.830
1 * 5 25.453 76.360
1 * 6 22.303 66.910
1 * 7 23.350 70.050
1 * 8 24.957 74.870
1 * 9 24.610 73.830
1 * 10 24.220 72.660
2 * 1 24.577 73.730
2 * 2 25.200 75.600
2 * 3 24.790 74.370
2 * 4 24.663 73.990
2 * 5 23.023 69.070
2 * 6 22.573 67.720
2 * 7 25.123 75.370
2 * 8 25.510 76.530
2 * 9 25.627 76.880
2 * 10 25.290 75.870
3 * 1 26.333 79.000
3 * 2 24.003 72.010
3 * 3 25.030 75.090
3 * 4 23.770 71.310
3 * 5 24.653 73.960
3 * 6 24.443 73.330
3 * 7 22.557 67.670
3 * 8 24.800 74.400
3 * 9 24.810 74.430
3 * 10 23.390 70.170
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
Department of Statistics
Sr # Name Designation
1 Mr. Niyyar Munir Lecturer Convener
2 Mr. Mujahid Hussain Assistant Professor Member
3 Mr. Muhammad Ali Lecturer (Adhoc) Member
Classes/Groups Tally f
36 39 38
36-38 //
41 42 43
39-41 ////
43 45 47
42-44 //// //
47 49 47
45-47 //// //// //
44 46 45
48-50 ////
39 42 39
51-53 //
44 47 45
Total 45
46 49 48
51 52 49
46 47 47
40 43 39
43 45 43
48 49 47
45 51 47
46 48 45
What is science?
What is nature?
Rain
Mountains
Plants
Human
Y = a +bx
What is experiment?
A planned inquiry
Random experiment
This is unpredictable.
Essentials of scientific methods are examination of what is already known and formulation of hypothesis
which may be put to experimental test, examination, and objective verification. In short, we can say that
a theory is such only based on the facts, or a fact is such only based on theory
What is theory
This table shows the speed of two machines for the time required in seconds for computing the sum of
square
x 1=21.6 , x 2=13.8
n1 = 10, n2 = 10
α= 0.05
Test Statistics:
√
s p= (n¿¿ 1−1)s 1 +
(n¿¿ 2−1)s 22
2
n1+ n2−2
2
¿ ¿, s p=
√
10(229.6)+10(36.6) s =5.75
18
, p ,
2 (Σ x 1)
2
2 1 1 (216) ¿ 1 (4932−4665.6)
s1 = (Σ x1 − ),¿ (4932− ),
n1−1 n1 10−1 10 9
2
s1 =29.6
2
2 (Σ x 2)
2
2 1 1 (138) ¿ 1 (2234−1904.4)
s2 = (Σ x2 − ) ,¿ (2234− ),
n2−1 n2 10−1 10 9
2
s2 =36.6
Critical Region
Experimental unit
What is Treatment
A unit may be a human, animal, plant, test tube, dish, pot field of som specific size etc.
Replication
How many experimental units should be use (No of treatments X No. of replications)
r x t= no of experimental units = n
n=rxt
Deductive reasoning:- in this consequences in the premises deduced and verified by observations and
experimentatioin.
Indective reasoning:- it is a process of drawing general conclusions from a particular set of instances,
depends upon a fair sample of the the population about which make statements.
1. Description
2. Analysis
3. Prediction
Descriptive statistics reduce the mass of the data and concise the information, it is a deductive
procedure, if we generalize it for the whole population then it is inductive.
Analysis is more frequently used method to tell about a particular distribution or two compare two
samples whether they come from same population
The general purpose of scientific research is to formulate the hypothesis and to verify them. Collection
of data in design of experiment is essential. The consideration of the design of experiment to provide
evidence for a hypothesis, whether the hypothesis is capable of being verified or not. As we discussed
earlier in the example of machine A and machine B.
The word experiment means “a trial made to confirm or disprove something doubtful under
some conditions”. There are two types of experiments, absolute experiments and comparative
experiments, sample survey is an absolute experiment and on the other hand comparative experiment is
an experiment in which two or more treatments are compared in their effects.
1. Randomization
2. Replication
3. Local control
Before starting an experiment after formation of hypothesis the next step is to design an experiment
which has following different phases
1. Select appropriate and homogeneous material to test (e.g. Laboratory equipments, Green
housebmaterial, Field experiment etc)
2. Decide no of factors and their treatments along with their characters/parameters/variables (e.g.
Fertilizer is a factor and different doses of fertilizer such as 50 kg, 100 kg, 150 kg per acer, are
the treatments of a factor) in other words treatments of a factor are also called levels. If an
experiment based on a sigle factor it is called as siangle factor experiment.
3. Decide the no parameters for aaalysis (e.g. if we want to check the effect of fertilizer on wheat
or on rice then the grain yield, no of grains per plant plant height, no of straws etc are the
parameters).
4. Select the procedure/scale to measure those characters
5. Specify the statistical methods to determine whether the measurements support the hypothesis
or not.
Now to design the experiment we have to follow basic principles of experimental designs
1. Randomization:- Let we have three treatments namely T1, T2, T3 and we have to determine
which experimental unit receive T1, which experimental unit receive T2, and which experimental
unit receive T3 without any personal interest. It means the allocation of the treatments to the
experimental units independently to avoid bias. For this purpose (avoid from bias)
randomization is very important way to achieve this goal. For three treatments we need three
experimental units and we choose one unit or one treatment randomly. Through the
randomization procedure the reliability of the experiment increase. There are number of ways
that randomization can be achieved. Romdom no table, calculator, tags, gold fish bowl method,
statistical software.
2. Replication:- To find the effect of treatment between to experimental units which are treated
alike we repeat the treatments more than one. The repetition of the treatments is used to
measure the experimental error. There are following uses of replications
i. To secure more accurate estimates of experimental error
ii. To increase the precision and decrease the experimental error
2
σ
iii. To obtain more precise estimates of the mean effect of a treatment σ x 2=
n
3. Local control:- It is very important for a researcher that he use all the possible methods to
minimize the experimental error. As we know that the experimental error produced due to
extraneous factors other than treatments. For this purpose we use local control, a term used for
blocking, grouping, and balancing the homogenous experimental units. The most commonly
used technique of local control is blocking.
Blocking:- There is two types of blocking, one-way blocking and two-ways blocking based on the
circumstances and atmosphere and situations where the experiment is going to be conducted.
Blocking means that like experimental units or homogenous experimental units should be
collected together. Which form a homogenous group. The main purpose of the local control is
to increase the efficiency of the experiment by decreasing the experimental error. In blocking
we put homogenous units together and the size of the block depends upon the treatments. A
block should contain all the treatments. In other word we can say that if there are three
treatment then a block should consists of three experimental units. And assign the treatments
to the units randomly. The important point is that it is not necessary that the units in a block are
adjacent but it is necessary that they should be homogenous.
There are basically two types of designs
Randomized designs
Systematic designs
Randomized designs are those type of designs in which all treatments are applied to the
experimental units completely at random without any personal interest.
There are different types of experiments
i. Single factor experiments
ii. Two factor experiments
iii. Multi factor experiments
In single factor experiments only one factor is involved or more than one factors with only one
level of treatment
For example we want to compare different irrigation levels (Flood irrigation, sprinkle, and drip
irrigation)
Or we want to compare different doses of fertilizers on a specific crop (what is the effect of 50
kg urea on one acre 100 kg urea on one acre 150 kg urea on one acre
Completely randomized designs (CRD) is defined as iin which the treatments are assigned to the
experimental units completely at random. Randomization is done without any restriction. It is a most
flexible design as any number treatments and any number replications can be used. The total number of
experimental units in this desn is multiple of no of treatments and no of replications (n = rxt). If we have
three treatments T1, T2, T3 and four replications R1, R2, R3, R4 then total no experimental units will be
12. (n = 4 x 3 = 12)
Application of CR-Designs
The most appropriate situations for CR-Designs are laboratory experiments, pot experiments and green
house experiments
Layout plan for CR-Designs
Let we have four treatments with three replications for each treatment
It means we repeat each treatment three times so we need twelve experimental units
CF = (GT)2/n = 92050.1
t r
Total SS=∑ ❑ ∑ y ij 2−CF = 348.917
j=1 i=1
∑ T j2 = 282.25
Treatment SS= j=1 −CF
r
Unbiased variance
t n
2
∑ xj
1 j =1
2
( ∑ x i)
s2= [ − i=1
]
n−1 ❑ n
Error SS = Total SS- Treatment SS = 66.67
Tuckey’s test
Schefe’s test
Contrast
What is p-value, How it can be calculated for z-test, t-test, chisquare-test, and F-test
If there are unequal replications in CR-Designs then only treatment SS will be calculated as follow
2 2 2
T 1 T2 T 3
Treatment SS=[ + + ]−CF = 282.25
r1 r2 r 3
All other SS will be calculated in the same manners as in the equal replication case
Let we have four treatments with three replications for T1, two replications for T2 and three replications
for T3, and three replications for T4.
It is the design in which hpmpgeneous experimental units are combined I a group called as Block, in such
a wat that a block contains complete set of treatments, these designs are not flexible as that of CR-
Dsigns. The restriction in these design is that a single treatment occurs only once in a single block. These
designs are most frequently used designs.
Application
Mostly these designs are applied in field experiments, A field is ditrbuted in block x treatment
experimental units (N = B x T)
CF = (GT)2/n
t r
Total SS=∑ ❑ ∑ y ij 2−CF
j=1 i=1
∑ T j2
Treatment SS= j=1 −CF
r
b
∑ Bi2
Block SS= r =1 −CF
t
Error SS = Total SS- Treatment SS – Block SS
Y ij =μ+ α j +∈ij
k
E(Total SS )=r ∑ α j2 + ( rk −1 ) σ 2
j=1
r k
Total SS=∑ ∑ Y ij 2−CF
i=1 j=1
r k r k
r k r k
r k k r k k r k r k
2
∑∑ Y ij
2
=r . k μ +r ∑ ❑α j + ∑ ∑ ∈ij +2 μr ∑ α j +2 μ ∑ ∑ ∈ij +2 ∑ ∑ α j ∈ij
2 2
r k k
E(∑ ∑ Y ij ¿=r . k μ +r ∑ α j +r . k . σ
2 2 2
So
k
E(Total SS )=r . k μ 2+ r ∑ α j2❑+ r . k . σ 2 −(r . k . μ 2+ σ 2 )
j=1
k
E(Total SS )=r . k μ 2+ r ∑ α j2❑+ r . k . σ 2 −r . k . μ2−σ 2 ¿
j=1
k
E(Total SS )=r ∑ α j2❑+r . k . σ 2−σ 2 ¿
j=1
k
E(Total SS )=r ∑ α j2❑+(r . k .−1)σ 2
j=1
N2 N2 N3 N4 N5
R1 88.4 92.4 96.8 101.2 97.3
R2 83.4 96.7 97.1 99.8 96.5
R3 85.3 93.6 98.3 103.4 94.7
Total 257.1 282.7 292.2 304.4 288.5
Y ij =μ+ α j +∈ij
k
E(Treatment SS)=r ∑ α j2+ ( k−1 ) σ 2
j=1
∑ Y . j2
Treatment SS= j=1 −CF
r
r r
Y . j=∑ Y ij=∑ (μ+ α j+∈ij )
i=1 i=1
r
Y . j=rμ +rα j + ∑ ∈ij
i=1
∑ Y . j 2= ∑ ¿ ¿
j=1 j=1
k k
∑ Y . j =r 2 2 2
k μ +r 2
∑ α 2 j +¿
j=1 j=1
∑ Y . j2 1
j =1
= ¿
r r
k
∑ Y . j2 k
1
j =1
=rk μ + r ∑ α 2 j+ ¿
2
r j=1 r
As we know that
¿
So
k
∑ Y . j2 1
k
2
❑ ❑ r k k r k k r k
j =1
=rk μ + r ∑ α j+ ( ∑ ∑ ∈ij + ∑ ∑ ∈ij ∈gh)+2 rμ ∑ α j +2 μ ∑ ∑ ∈ij +2 ∑ α j ∑ ∑ ∈ij
2 2
r j=1 r i=1 j=1 i ≠ g j≠ h j=1 i=1 j=1 j=1 i=1 j=1
∑ Y . j2 1
k
2
❑ ❑ r k k r k k r k
E [ j=1 ]=E[rk μ2 +r ∑ α 2 j + ( ∑ ∑ ∈ij +∑ ∑ ∈ij ∈gh )+2 rμ ∑ α j +2 μ ∑ ∑ ∈ij +2 ∑ α j ∑ ∑ ∈ij ]
r j=1 r i=1 j=1 i ≠ g j ≠h j=1 i=1 j=1 j=1 i =1 j=1
∑ Y . j2 1
k
E[ j=1
]=rk μ +r ∑ α 2 j + (rk σ 2+ 0)+ 2rμ (0)+2 μ (0)+2(0)
2
r j =1 r
k
∑ Y . j2 k
E[ j=1
]=rk μ +r ∑ α 2 j +(k σ 2)
2
r j =1
E(Treatment SS)=E ¿
2 2
E(CF )=rk μ +σ
k
E ( Treatment SS )=rk μ 2+ r ∑ α 2 j+ ( k σ 2 ) −(rk μ 2+ σ 2)
j=1
k
E(Treatment SS)=r ∑ α j2+ ( k−1 ) σ 2
j=1
k
E(Treatment SS)=r ∑ α j2+ ( k−1 ) σ 2
j=1
k k
E ( Error SS )=r ∑ α 2
j ❑ + r . k . σ −σ −(r ∑ α j2 +k σ 2−σ 2)
2 2
j =1 j=1
k k
E ( Error SS )=r ∑ α j2❑+ r . k . σ 2−σ 2−r ∑ α j2−k σ 2+ σ 2
j =1 j=1
2 2
E ( Error SS )=r . k . σ −k σ ¿
2
E ( Error SS )=(r . k .−k )σ
2
(r . k .−k )σ
E ( Error MS )=
rk −k
2
E ( Error MS )=σ
What is the difference between fixed effect models random effect models and mixed effect models
Explain with examples and write down their applications in different fields of study
Random Effect Model
As we know that treatments are the samples of a populationfrom which we make inferences about a
population. If a researcher randomly select a set of treatments from a large number of treatments then
we can say that the factor is random for example there are a number of pain killers then researcher
wants to test the effectiveness of of any three of them which are selected randomly then the model
applied is random effect model
Statistical Model
Y ij =μ+ α j +∈ij
I = 1, 2 , …, r (Replications))
J = 1, 2, …, k (Treatments)
Prove that
E(MSE) = σ 2
Correction Factor
C.F = G2/rk
r k
G = ∑ ∑ Y ij
i=1 j=1
r k
G = ∑ ∑ (μ+ α j +∈ij )
i=1 j=1
k r k
G = rk μ+r ∑ α j+ ∑ ∑ ∈ij
j=1 i=1 j=1
Squaring both sides
k r k
2
G2 ¿(rk μ+r ∑ α j+ ∑ ∑ ∈ij )
j=1 i=1 j=1
( ) ( )
k r k k r k k r k
2 2
G2=(rk μ)2+(r ∑ α j ) +( ∑ ∑ ∈ij ) +2(rk μ ¿ r ∑ α j +2 ( rk μ ) ∑ ∑ ∈ij +2(r ∑ α j )(∑ ∑ ∈ij)
j=1 i=1 j=1 j=1 i=1 j =1 j=1 i=1 j=1
r k r k r k
2
( ∑ ∑ ∈ij ) =∑ ∑ ∈ + ∑ ∑ ∈ij ∈ gh 2
ij
i=1 j=1 i=1 j =1 i≠g j≠h
( ) ( )
k r k k r k
r μ¿ E ∑ α j +2 ( μ ) E ∑ ∑ ∈ij + 2k E(∑ α j )(∑ ∑ ∈ij )
j=1 i=1 j=1 j=1 i=1 j=1
[ ]
2
G 2 2 2
E(CF )=E =rk μ + r σ α +σ
rk
Total Sum of Square
E(Total SS) = ?
r k
Total SS = ∑ ∑ Y ij −CF
2
i=1 j=1
r k
∑ ∑ Y 2ij=?
i=1 j=1
We know that
Y ij =μ+ α j +∈ij
2 2
Y ij ¿ ( μ+α j +∈ij )
2 2 2 2
Y ij =μ +(α ¿¿ j) +(∈ij ) +2 μ α j +2 μ ∈ij +2 α j ∈ij ¿
r k r k
∑ ∑ Y =∑ ∑ ¿ ¿ ¿ 2
ij
i=1 j=1 i=1 j=1
r k k
∑∑ Y 2
ij =rk μ +r ∑ (α ¿¿ j)2 (¿❑)❑ ¿ ¿
2
Y ij =μ+ α j + β i +∈ij
I = 1, 2 , …, r (Blocks)
J = 1, 2, …, k (Treatments)
In case of fixed effect models the treatment effect and block effect are fixed such that
E ( α j ) =0, E ( β i )=0
k r
∑ α j=0, ∑ β i=0
i=1 j=1
Correction factor
2
G
CF=
rk
r k r k k r k
G=∑ ∑ Y ij = ∑ ∑ (μ+ α j + β i +∈ij ) = rk μ+r ∑ α j+ k ∑ r β i +∑ ∑ ∈ij
i=1 j=1 i=1 j=1 j=1 i =¿ ¿ i=1 j=1
r k
, G=rk μ+ ∑ ∑ ∈ij
i=1 j=1
i=1 j=1
r k r k
2
G2=r 2 k 2 μ2 +( ∑ ∑ ∈ij ) +2 rk μ ∑ ∑ ∈ij
i =1 j=1 i=1 j=1
As we know that
r k r k r k
2
( ∑ ∑ ∈ij ) =∑ ∑ ∈ + ∑ ∑ ∈ij ∈ gh 2
ij
i=1 j=1 i=1 j =1 i≠g j≠h
So,
r k r k
G =r k μ + ∑ ∑ ∈ + ∑ ∑ ∈ij ∈gh
2 2 2 2 2
ij
i=1 j=1 i≠ g j ≠h
[ ]
2 r k r k
G 1
E [ CF ] =E = E [r k μ + ∑ ∑ ∈ij +∑ ∑ ∈ij ∈gh ]
2 2 2 2
rk rk i=1 j=1 i ≠ g j ≠h
[ ]
2
G 1 2 2 2
E [ CF ] =E = [ r k μ +rk σ ] =rk μ +σ
2 2 2
rk rk
Hence,
E [ CF ] =rk μ + σ
2 2
E(Total SS)
r k
Total SS = ∑ ∑ Y ij −CF
2
i=1 j=1
r k
∑ ∑ Y 2ij=?
i=1 j=1
We know that
Y ij =μ+ α j + β i +∈ij
2 2
Y ij ¿ ( μ+α j + β i +∈ij )
2 2 2
Y ij =μ +(α ¿¿ j) +¿ ¿
r k r k
∑ ∑ Y =∑ ∑ ¿ ¿ ¿ 2
ij
i=1 j=1 i=1 j=1
[∑ ∑ ]
r k k r
E Y =rk μ +r ∑ (α ¿¿ j) +k ∑ (β¿¿ i)2 ¿ ¿
2
ij
2 2
r k
E[Total SS] =E[ ∑ ∑ Y ij ¿−E[CF]
2
i=1 j=1
k r
E[Total SS] = r ∑ ( α ¿¿ j) +k ∑ ( β ¿¿ i) +(rk −1)σ ¿ ¿
2 2 2
j=1 i=1
Treatment Sum of Squares
E[Treatment SS]
k
∑ Y . j2
Treatment SS= j=1 −CF
r
r r
Y . j=∑ Y ij=∑ (μ+ α j+ βi +∈ij )
i=1 i=1
r r
Y . j=rμ +rα j + ∑ β i + ∑ ∈ij
i=1 i=1
∑ β i=0
j=1
So,
r
Y . j=rμ +rα j + ∑ ∈ij
i=1
∑ Y . j 2= ∑ ¿ ¿
j=1 j=1
k k
∑ Y . j =r 2 2 2
k μ +r 2
∑ α 2 j +¿
j=1 j=1
∑ Y . j2 1
j =1
= ¿
r r
k
∑ Y . j2 1
k
j =1
=rk μ + r ∑ α 2 j+ ¿
2
r j=1 r
As we know that
¿,
So
k
∑ Y . j2 1
k
2
❑ ❑ r k k r k k r k
j =1
=rk μ + r ∑ α j+ ( ∑ ∑ ∈ij + ∑ ∑ ∈ij ∈gh)+2 rμ ∑ α j +2 μ ∑ ∑ ∈ij +2 ∑ α j ∑ ∑ ∈ij
2 2
r j=1 r i=1 j=1 i ≠ g j≠ h j=1 i=1 j=1 j=1 i=1 j=1
∑ Y . j2 1
k
2
❑ ❑ r k k r k k r k
E [ j=1 ]=E[rk μ2 +r ∑ α 2 j + ( ∑ ∑ ∈ij +∑ ∑ ∈ij ∈gh )+2 rμ ∑ α j +2 μ ∑ ∑ ∈ij +2 ∑ α j ∑ ∑ ∈ij ]
r j=1 r i=1 j=1 i ≠ g j ≠h j=1 i=1 j=1 j=1 i =1 j=1
∑ Y . j2 1
k
E[ j=1
]=rk μ +r ∑ α 2 j + (rk σ 2+ 0)+ 2rμ (0)+2 μ (0)+2(0)
2
r j =1 r
k
∑ Y . j2 k
E[ j=1
]=rk μ +r ∑ α 2 j +(k σ 2)
2
r j =1
E(Treatment SS)=E ¿
2 2
E(CF )=rk μ +σ
k
E ( Treatment SS )=rk μ 2+ r ∑ α 2 j+ ( k σ 2 ) −(rk μ 2+ σ 2)
j=1
k
E(Treatment SS)=r ∑ α j2+ ( k−1 ) σ 2
j=1
E[Block SS]
r
∑ Y i .2
Block SS= i=1 −CF
k
k k
Y i . =∑ Y ij =∑ (μ +α j + β i+ ∈ij )
j=1 j=1
k k
Y i . =kμ+ ∑ α j +k β i+ ∑ ∈ij
j=1 j=1
∑ α j=0
j=1
So,
k
Y i . =kμ+ k βi + ∑ ∈ij
j=1
∑ Y i. =∑ ¿ ¿ 2
i=1 i=1
r r r k r k r r k r
2
∑ Y i.2=r k 2 μ2 +k 2 ∑ β 2i +(∑ ∑ ∈ij) +2 k 2 μ ∑ βi +2 kμ ∑ ∑ ∈ij +2 k ∑ βi ∑ ∑ ∈ij
i=1 i=1 i=1 j=1 i =1 j=1 i=1 i=1 j=1 i=1
∑ Y . j2 1 2
r r k r k r r k r
j =1
= [r k 2 μ 2+ k 2 ∑ βi2+( ∑ ∑ ∈ij ) +2 k 2 μ ∑ β i +2 kμ ∑ ∑ ∈ij + 2 k ∑ βi ∑ ∑ ∈ij ]
k k i=1 i=1 j=1 i=1 j=1 i=1 i=1 j=1 i=1
As we know that
¿,
So
r
∑ Y i .2 r
E[ i=1
]=rk μ + k ∑ β2i +(r σ 2 )
2
r i =1
E(Block SS)=E ¿
2 2
E(CF )=rk μ +σ
r
E ( Block SS )=rk μ + k ∑ β2i +(r σ 2 )−(rk μ 2+ σ 2 )
2
i=1
r
E(Block SS)=k ∑ β2i + ( r −1 ) σ 2
i=1
Error Sum of square
E(Error SS) = ?
j=1 i=1
k
E(Treatment SS)=r ∑ α j2+ ( k−1 ) σ 2
j=1
r
E(Block SS)=k ∑ β2i + ( r −1 ) σ 2
i=1
( )
k r k r
E(Error SS) = r ∑ ( α ¿¿ j) +k ∑ ( β ¿¿ i) + ( rk −1 ) σ − r ∑ α j + ( k−1 ) σ −(k ∑ β i + ( r−1 ) σ )¿ ¿
2 2 2 2 2 2 2
E(MSE) = σ 2
N2 N2 N3 N4 N5 Total
B1 88.4 92.4 96.8 101.2 97.3 476.1
B2 83.4 96.7 97.1 99.8 96.5 473.5
B3 85.3 93.6 98.3 103.4 94.7 475.3
Total 257.1 282.7 292.2 304.4 288.5 1424.9
X and Y
Var (X)
Var (Y)
Cov (X, Y)
X 1 and X 2
Var ( X 1 ) = S11
Var ( X 2 )= S22
Cov ( X 1 , X 2 ¿
)
RANDOMIZED COMPLETE BLOCK
DESIGNS WITH RANDOM EFFECT
MODELS
Statistical Model
Y ij =μ+ α j + β i +∈ij
I = 1, 2 , …, r (Blocks)
J = 1, 2, …, k (Treatments)
In case of fixed effect models the treatment effect and block effect are fixed such that
E ( α j ) =0, E ( β i )=0
k r
∑ α j=0, ∑ β i=0
i=1 j=1
Correction factor
2
G
CF=
rk
r k r k k r k
G=∑ ∑ Y ij = ∑ ∑ (μ+ α j + β i +∈ij ) = rk μ+r ∑ α j+ k ∑ r β i +∑ ∑ ∈ij
i=1 j=1 i=1 j=1 j=1 i =¿ ¿ i=1 j=1
r k
, G=rk μ+ ∑ ∑ ∈ij
i=1 j=1
i=1 j=1
r k r k
2
G2=r 2 k 2 μ2 +( ∑ ∑ ∈ij ) +2 rk μ ∑ ∑ ∈ij
i =1 j=1 i=1 j=1
As we know that
r k r k r k
2
( ∑ ∑ ∈ij ) =∑ ∑ ∈ + ∑ ∑ ∈ij ∈ gh 2
ij
i=1 j=1 i=1 j =1 i≠g j≠h
So,
r k r k
G =r k μ + ∑ ∑ ∈ + ∑ ∑ ∈ij ∈gh
2 2 2 2 2
ij
i=1 j=1 i≠ g j ≠h
[ ]
2 r k r k
G 1
E [ CF ] =E = E [r k μ + ∑ ∑ ∈ij +∑ ∑ ∈ij ∈gh ]
2 2 2 2
rk rk i=1 j=1 i ≠ g j ≠h
[ ]
2
G 1 2 2 2
E [ CF ] =E = [ r k μ +rk σ ] =rk μ +σ
2 2 2
rk rk
Hence,
E [ CF ] =rk μ + σ
2 2
E(Total SS)
r k
Total SS = ∑ ∑ Y ij −CF
2
i=1 j=1
r k
∑ ∑ Y 2ij=?
i=1 j=1
We know that
Y ij =μ+ α j + β i +∈ij
2 2
Y ij ¿ ( μ+α j + β i +∈ij )
2 2 2
Y ij =μ +(α ¿¿ j) +¿ ¿
r k r k
∑ ∑ Y =∑ ∑ ¿ ¿ ¿ 2
ij
i=1 j=1 i=1 j=1
[∑ ∑ ]
r k k r
E Y =rk μ +r ∑ (α ¿¿ j) +k ∑ (β¿¿ i)2 ¿ ¿
2
ij
2 2
r k
E[Total SS] =E[ ∑ ∑ Y ij ¿−E[CF]
2
i=1 j=1
k r
E[Total SS] = r ∑ ( α ¿¿ j) +k ∑ ( β ¿¿ i) +(rk −1)σ ¿ ¿
2 2 2
j=1 i=1
Treatment Sum of Squares
E[Treatment SS]
k
∑ Y . j2
Treatment SS= j=1 −CF
r
r r
Y . j=∑ Y ij=∑ (μ+ α j+ βi +∈ij )
i=1 i=1
r r
Y . j=rμ +rα j + ∑ β i + ∑ ∈ij
i=1 i=1
∑ β i=0
j=1
So,
r
Y . j=rμ +rα j + ∑ ∈ij
i=1
∑ Y . j 2= ∑ ¿ ¿
j=1 j=1
k k
∑ Y . j =r 2 2 2
k μ +r 2
∑ α 2 j +¿
j=1 j=1
∑ Y . j2 1
j =1
= ¿
r r
k
∑ Y . j2 1
k
j =1
=rk μ + r ∑ α 2 j+ ¿
2
r j=1 r
As we know that
¿,
So
k
∑ Y . j2 1
k
2
❑ ❑ r k k r k k r k
j =1
=rk μ + r ∑ α j+ ( ∑ ∑ ∈ij + ∑ ∑ ∈ij ∈gh)+2 rμ ∑ α j +2 μ ∑ ∑ ∈ij +2 ∑ α j ∑ ∑ ∈ij
2 2
r j=1 r i=1 j=1 i ≠ g j≠ h j=1 i=1 j=1 j=1 i=1 j=1
∑ Y . j2 1
k
2
❑ ❑ r k k r k k r k
E [ j=1 ]=E[rk μ2 +r ∑ α 2 j + ( ∑ ∑ ∈ij +∑ ∑ ∈ij ∈gh )+2 rμ ∑ α j +2 μ ∑ ∑ ∈ij +2 ∑ α j ∑ ∑ ∈ij ]
r j=1 r i=1 j=1 i ≠ g j ≠h j=1 i=1 j=1 j=1 i =1 j=1
∑ Y . j2 1
k
E[ j=1
]=rk μ +r ∑ α 2 j + (rk σ 2+ 0)+ 2rμ (0)+2 μ (0)+2(0)
2
r j =1 r
k
∑ Y . j2 k
E[ j=1
]=rk μ +r ∑ α 2 j +(k σ 2)
2
r j =1
E(Treatment SS)=E ¿
2 2
E(CF )=rk μ +σ
k
E ( Treatment SS )=rk μ 2+ r ∑ α 2 j+ ( k σ 2 ) −(rk μ 2+ σ 2)
j=1
k
E(Treatment SS)=r ∑ α j2+ ( k−1 ) σ 2
j=1
E[Block SS]
r
∑ Y i .2
Block SS= i=1 −CF
k
k k
Y i . =∑ Y ij =∑ (μ +α j + β i+ ∈ij )
j=1 j=1
k k
Y i . =kμ+ ∑ α j +k β i+ ∑ ∈ij
j=1 j=1
∑ α j=0
j=1
So,
k
Y i . =kμ+ k βi + ∑ ∈ij
j=1
∑ Y i. =∑ ¿ ¿ 2
i=1 i=1
r r r k r k r r k r
2
∑ Y i.2=r k 2 μ2 +k 2 ∑ β 2i +(∑ ∑ ∈ij) +2 k 2 μ ∑ βi +2 kμ ∑ ∑ ∈ij +2 k ∑ βi ∑ ∑ ∈ij
i=1 i=1 i=1 j=1 i =1 j=1 i=1 i=1 j=1 i=1
∑ Y . j2 1 2
r r k r k r r k r
j =1
= [r k 2 μ 2+ k 2 ∑ βi2+( ∑ ∑ ∈ij ) +2 k 2 μ ∑ β i +2 kμ ∑ ∑ ∈ij + 2 k ∑ βi ∑ ∑ ∈ij ]
k k i=1 i=1 j=1 i=1 j=1 i=1 i=1 j=1 i=1
As we know that
¿,
So
r
∑ Y i .2 r
E[ i=1
]=rk μ + k ∑ β2i +(r σ 2 )
2
r i =1
E(Block SS)=E ¿
2 2
E(CF )=rk μ +σ
r
E ( Block SS )=rk μ + k ∑ β2i +(r σ 2 )−(rk μ 2+ σ 2 )
2
i=1
r
E(Block SS)=k ∑ β2i + ( r −1 ) σ 2
i=1
Error Sum of square
E(Error SS) = ?
j=1 i=1
k
E(Treatment SS)=r ∑ α j2+ ( k−1 ) σ 2
j=1
r
E(Block SS)=k ∑ β2i + ( r −1 ) σ 2
i=1
( )
k r k r
E(Error SS) = r ∑ ( α ¿¿ j) +k ∑ ( β ¿¿ i) + ( rk −1 ) σ − r ∑ α j + ( k−1 ) σ −(k ∑ β i + ( r−1 ) σ )¿ ¿
2 2 2 2 2 2 2
E(MSE) = σ 2
Latin square designs (TxT)
The major feature of Latin Square Designs is its capacity to handle two sources of variation
simultaneously among the treatments. Which are treated as two independent blocking criteria. These
blocks are known as row-block and column-block. This is called as double blocking. Both source of
variations are perpendicular to each other. These designs are applied in field trials, where the
experimental area has two fertility gradients running perpendicular to each other, or in the green house
experiments in which the experimental pots are arranged in straight line perpendicular to the sheets or
walls of the green house such that the difference among rows and the distance from the wall are
expected to be two major extrenous sources of variation, or in laboratory experiments where the trial
are replicated over time such that the difference among the experimental units conducted at the same
time and those conducted over different time period constitute the two known sources of variations
Rows of tree
Water A B C
Channel B C A
C A B
Suppose we have five treatments (A, B, C, D, E) for this we need 5x5 LS-Designs, which means we should
layout the experiment with five rows and five columns
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
First of all randomize row arrangement by using random numbers then randomize column arrangement
by using random numbers. Generate five random numbers on your calculator
C D A E B
D E B A C
B A E C D
E C D B A
A B C D E
Generate random numbers for the columns
Statistical analysis
Example: -
An experiment was conducted with three maize varieties and a check variety, the experiment was
laidout under LS-Designs, Analyse the data given below
A B C D
1670 1640 1475 1565
1185 1290 710 1210
1655 1665 1425 1400
1345 1290 660 1180
Find correction factor
CF = (GT)2/n
t r
Total SS=∑ ❑ ∑ y ij 2−CF
j=1 i=1
∑ T j2
Treatment SS= j=1 −CF
r
b
∑ Ri2
Rows SS= r=1 −CF
t
b
∑ C j2
Columns SS= r =1 −CF
t
Error SS = Total SS- Treatment SS – Rows SS – Columns SS
ANOVA
In planned pair comparison a specific pair of treatments to be compared was identified before the start
of the experiment. For example a control is compared with other treatments
In unplanned pair comparison is that in which no specific comparison is chosen in advance, instead
every possible treatment means is compared to identify pairs of treatments that are significantly
different
For this there are two commonly used test named least significant difference test (LSD-Test) and
Duncan’s multiple range test (DMRT)
The LSD-Test is a most commonly used procedure for making pair comparison. This procedure provides
a single LSD-Value, which serves as a boundary between significant and nonsignificant difference among
the treatment pairs for a given level of significance such as if the difference between pair means exceeds
LSD-Value then the difference is significant otherwise it is nosignificant.
The procedure for applying LSD_Test is as follow
N2 N2 N3 N4 N5
85.7 94.2 97.4 101.5 96.2
N4 N3 N5 N2 N2
101.5 97.4 96.2 94.2 85.7
N4 N3 N5 N2 N2
101.5 97.4 96.2 94.2 85.7
a b bc c d
LSD α =(t α )( sd ),
sd =
√ 2 MSE ,
r
sd =
√
2(3.398) s =1.5051
3
, d ,
t 0.05 ,10=1.8125 ,
LSD 0.05=( 1.8125 )( 1.5051 )=2.733.
N2 N2 N3 N4 N5
R1 88.4 92.4 96.8 101.2 97.3
R2 83.4 96.7 97.1 99.8 96.5
R3 85.3 93.6 98.3 103.4 94.7
Total 257.1 282.7 292.2 304.4 288.5
Averag
e 85.7 94.2 97.4 101.5 96.2
ANOVA
SOV SS df MS F P-value F crit
Treatments 408.0493 4 102.0123 30.02** 0.000 3.4781
Error 33.98 10 3.398
Total 442.0293 14
G 1424.9
Grand Mean= = = 94.99,
n 15
C.V=
σ
x 100=
√ MSE X 100= √3.40 X 100=1.94 %,
x Grand Mean 94.99
C.V tells about the degree of precision in the experiment. 1.94% C.V tells about the best index of
reliability in the experiment. Which shows that the experimental error is very low. Higher the C.V lower
the reliability/precision. In general for lab experiments, green house experiments pot experiments or
where the experimental material is homogeneous and the environmental variations can be controlled
the range of C.V should upto 5%, in the field experiments the C.V should be 5% to 10 %. Whaich are
good degree of reliability. As the C.V increases the reliability of the experiment decreases.
Duncan’s Multiple Range Test
(DMRT)
As the number of treatments increase the no of pairs of treatments also increase, if there are six
treatments then we have (62)=15, no of pairs. If there are 10 treatments then we have (102)=45, no of
pairs and if we we have 15 treatments then there are ( )=105 , no of pairs. As the treatment
15
2
combinations increase the precision decreases and the level of significane also increase as the difference
between the largest and smallest value increased by 29% for five treatments, 63 % for 10 treatments
and 83 % for 15 treatments. So to overcome this we use DMRT which gives diffent LSD-values for each
set of difference.
(r p )(s d )
Rp= , for p = 2,3,4,…
√2
Where t α is table value of t and,
sd =
√ 2 MSE ,
r
sd =
√
2(3.398) s =1.5051
3
, d ,
And, known as
r p, is the table value for Duncan’s known as significant studentized range obtained from appendix B
page 542 and 543 of the book Introduction to Statistical Theory part-II by Sher Muhammad Chaudhary
At 5% SL
P 2 3 4 5
rp 3.15 3.30 3.37 3.43
(r p )(sd ) 4.74 4.97 5.07 5.16
(r p )( sd )
√2 3.35 3.51 3.59 3.65
P 2 3 4 5
rp 4.48 4.73 4.88 4.96
(r p )(sd ) 6.74 7.12 7.34 7.47
(r p )( sd )
√2 4.77 5.03 5.19 5.28
Mean pairs Difference 5% 1%
N4-N2 101.5-85.7 15.8** >3.35 >4.77
N4-N2 101.5-94.2 7.3** >3.35 >4.77
N4-N5 101.5-96.2 5.3** >3.35 >4.77
N4-N3 101.5-97.4 4.1* >3.35 <4.77
N3-N2 97.4-85.7 11.7** >3.51 >5.03
N3-N2 97.4-94.2 3.2 NS <3.51 <5.03
N3-N5 97.4-96.2 1.2NS <3.51 <5.03
N5-N2 96.2-85.7 10.5** >3.59 >5.19
N5-N2 96.2-94.2 2.0 NS <3.59 <5.19
N2-N2 94.2-85.7 8.5** >3.65 >5.28
N4 N3 N5 N2 N2
101.5 97.4 96.2 94.2 85.7
a bc bc c d
N2 N2 N3 N4 N5 Total
R1 88.4 92.4 96.8 101.2 97.3
R2 83.4 96.7 97.1 99.8 96.5
R3 85.3 93.6 98.3 103.4 94.7
Total 257.1 282.7 292.2 304.4 288.5
Average 85.7 94.2 97.4 101.5 96.2
ANOVA (RCBD)
SOV SS df MS F P-value F crit
0.70933 0.35466
Block 2 0.08528NS 0.9191
3 7
408.049 102.012 24.52907*
Treatments 4 0.0002
3 3 *
33.2706
Error 8 4.159
7
442.029 1
Total
3 4
ANOVA (CRD)
SOV SS df MS F P-value F crit
Treatments 408.0493 4 102.0123 30.02** 0.000 3.4781
Error 33.98 10 3.398
Total 442.0293 14
G 1424.9
Grand Mean= = = 94.99,
n 15
x 100= √ X 100= √
σ MSE 4.159
C.V= X 100=2.15 %,
x Grand Mean 94.99
Relative Efficiency Of Randomized Complete Block Designs Over Completely Randomized Designs
k=
[ ( r−1 ) ( t−1 )+ 1 ] [t ( r−1 ) +3] = [ ( 2 ) ( 4 ) +1 ] [5 (2 )+3 ] = [ 9 ] [13] = 117 =0.9669
[ ( r−1 ) ( t−1 )+ 3 ] [t ( r−1 )+1] [ ( 2 ) ( 4 ) +3 ] [5 ( 2 )+ 1] [ 11 ] [11] 121
Adjustef RE = RE * k = 0.869 * 0.9669 = 0.841 = 84.1
Now the relative efficiency of LS-Designs as compared to RCB-Designs with row blocking and coloumn
blocking
k=
[ (t−1 )( t−2 ) +1 ] [ ( t−1 )2 +3] = [ ( 4−1 ) ( 4−2 ) +1 ] [ ( 4−1 )2 +3] = [ ( 3 ) ( 2 ) +1 ] [9+3]
,
[ (t−1 )( t−2 ) +3 ] [( t−1 )2 +1] [ ( 4−1 ) ( 4−2 ) +3 ][ ( 4−1 )2+1] [ ( 3 ) ( 2 ) +3 ] [9+1]
[ 7 ] [12] 84
k= = = 0.93
[ 9 ] [10] 90
275780.73+ ( 4−1 ) 21597.40
ℜ ( RCBD , col , Adjusted )=3.94∗0.93=3.66 = =3.94
( 4 ) 21597.40
Latin Square Designs
Random Effect Models
μ=overall mean ,
α i=row effect ,
β j =coloumn effect ,
γ k =treatment effect ,
∈ij(k)=randomerror NII ¿ ,
E [ ( α i ) ( β j ) ]=0, E [ ( α i ) ( γ k ) ] =0,
E [ ( β j )( γ k ) ]=0 ,
Correction factor
2
G
CF= 2,
p
p p
G=∑ ∑ (μ+ α i + β j + γ k +∈ij (k )),
j=1 i=1
p p p p p
G= p 2 μ+ p ∑ α i+ p ∑ β j+ p ∑ γ k + ∑ ∑ (∈ij (k )),
i=1 j=1 k=1 j=1 i=1
( ) ( ) (
p p p p p p p p
G2= p 4 μ 2+ p2 ( ∑ α i ) + p 2 (∑ β j ) + p2 ( ∑ γ k ) +( ∑ ∑ ( ∈ij ( k ) ) ) + ( p2 μ ) p ∑ α i +2 ( p2 μ ) p ∑ β j + 2 ( p 2 μ ) p ∑ γ
2 2 2 2
We know that
p p ❑
2
( ∑ α i ) =∑ α 2i + ∑ α i α g,
i=1 i=1 i≠ g
p p ❑
2
( ∑ β j) =∑ β + ∑ β j β h, 2
j
i=1 j=1 j ≠h
p p ❑
2
( ∑ γ k ) =∑ γ 2k + ∑ γ k γ n,
i=1 i=1 k≠ n
p p p p p p
2
( ∑ ∑ ( ∈ij ( k ) ) ) =∑ ∑ ( ∈2ij (k ) ) + ∑ ∑ ∈(¿ ij(k) ∈ gh(n))¿,
j=1 i=1 j=1 i=1 i=1 j=1
( ) ( )
p p p p p p p
1
E [ p 4 μ 2+ p 2( ∑ α i) + p 2 ( ∑ β j ) + p 2 (∑ γ k ) +(∑ ∑ ( ∈ij (k )) ) + ( p2 μ ) p ∑ α i +2 ( p2 μ ) p ∑ β j +2 ( p 2
2 2 2 2
E ( CF ) = 2
p i=1 i=1 i=1 j=1 i=1 i=1 j=1
1
E ( CF ) = 2
E ¿,
p
1 4 2 2
[ p μ + p [ pσ α +0]+ p [ pσ β +0 ]+ p [ pσ γ +0 ]+ p [ σ e + 0 ] +0 ],
2 2 2 2 2 2 2
E ( CF ) = 2
p
2 2 2 2 2 2
E ( CF ) =p μ + pσ α + pσ β + pσ γ + σ e ,
[ ]
n n n
E ∑ x i =∑ E[ x¿ ¿i¿]=∑ μ=nμ ¿ ¿,
i=1 i=1 i=1
[∑ ] ∑
p p p
E[α i ]=∑ σ α = p σ α ,
2 2 2 2
E αi =
i=1 i=1 i=1
[∑ ] ∑
p p p
E[ β j ]=∑ σ β = p σ β,
2 2 2 2
E βj =
j=1 i=1 i=1
Hence,
2 2 2 2 2 2
E ( CF ) =p μ + pσ α + pσ β + pσ γ + σ e ,
Total Sum of Square
p p
Total SS=∑ ∑ y 2ij(k )−CF ,
i=1 j=1
y ij(k) =μ +α i+ β j+ γ k + ∈ij (k ),
[ ]
p p
E ∑ ∑ y 2ij( k ) = p 2 μ2 + p2 σ 2α + p 2 σ 2β + p 2 σ 2γ + p 2 σ 2e,
i=1 j=1
As
2 2 2 2 2 2
E ( CF ) =p μ + pσ α + pσ β + pσ γ + σ e
2 2 2 2
E [Total SS ]= p ( p−1 ) σ α + p ( p−1 ) σ β + p ( p−1 ) σ γ +( p−1)( p+1)σ e ,
Treatment SS
p
∑ T 2k ,
Treatment SS= k=1 −CF
p
p
T k =∑ y ij(k ),
i= j
❑
T k =∑ (μ+α i+ β j +γ k +∈ij(k)) ,
i= j
p p p
T k = p μ+ ∑ α i+ ∑ β j + pγ k + ∑ ∈ij(k)
i=1 j =1 i= j
Row SS
p
∑ R2j ,
Row SS= j=1 −CF
p
p
R j=∑ y ij(k) ,
j=1
p
R j=∑ ¿ ¿ ,
j=1
2 2
E ( Row SS )= p ( p−1 ) σ α +(p−1)σ
Coloumn SS
p
∑ C2j ,
Column SS= i=1 −CF
p
p
C i=∑ y ij(k),
I=1
p
C i=∑ ¿ ¿
I=1
2 2
E ( Column SS )= p ( p−1 ) σ β +( p−1)σ
Error SS
μ=overall mean ,
α i=row effect ,
β j =coloumn effect ,
γ k =treatment effect ,
∈ij(k)=randomerror NII (0 , σ 2 ),
E [ ( α i ) ( β j ) ]=0, E [ ( α i ) ( γ k ) ] =0,
E [ ( β j )( γ k ) ]=0 ,
Least square estimates for CR-Designs, RCB-Designs, and LS-Designs
Y ij =μ+ α j +∈ij ,
We know that
r k
S=∑ ∑ (Y ij −Y^ ij )2,
i=1 j=1
r k
S=∑ ∑ (Y ij − μ^ −α^ j )2,
i=1 j=1
∂S
=−2 ¿,
∂ μ^
∂S
Now put =0, so
∂ μ^
−2 ¿,
r k k
^ 1, α^ 2, …, α^ k ,
Now differentiate S partially with respect to α
r
∂S
=−2 ∑ (Y ij −^μ −α^ 1) ,
∂ α^ 1 i=1
r
∂S
=−2 ∑ (Y ij −^μ −α^ 2) ,
∂ α^ 2 i=1
.
r
∂S
=−2 ∑ (Y ij −^μ− α^ k ),
∂ α^ k i=1
∂S
=0,
∂ α^ j
r
−2 ∑ ( Y ij −^μ −α^ j )=0,
i=1
Apply summation
r
Y . j=r ^μ +r α^ j
k
As we know that ∑ α
^ j=0 , so equation (A) becomes
j=1
r k
Y .. ¿
^μ= = =Y ..,
rk rk
Now from equation (B)
Y . j=r ^μ +r α^ j ,
Y.j
= μ^ + α^ j,
r
Put the value of ^μ
Y.j
=Y ..+ α^ j,
r
Y.j
α^ j = −Y ..,
r
α^ j =Y . j−Y ..,
^μ=Y ..,
α^ j =Y . j−Y ..
Randomized Complete Block Designs
Y ij =μ+ α j + β i +∈ij,
We know that
r k
S=∑ ∑ (Y ij −Y^ ij )2,
i=1 j=1
r k
S=∑ ∑ (Y ij − μ^ −α^ j− ^βi )2,
i=1 j=1
^ j,
To find estimates for unknown parameters μ, α j , and β i, differentiate S partially with respect to ^μ, α
and ^β iand equate them equal to zero
r k
∂S
=∑ ∑ (Y ij− μ^ −α^ j − ^βi )2=0 ,
∂ μ^ i=1 j=1
r k
k
∂S
=−2 ∑ (Y ij −^μ −α^ j − ^β 2),
∂ ^β2 j=1
.
k
∂S
=−2 ∑ (Y ij −^μ −α^ j− β^ r ),
∂ ^βr j=1
put
∂S
=0 ,
∂ ^βi
k
−2 ∑ (Y ij− μ^ −α^ j− ^βi )=0 ,
j=1
∑ (Y ij−^μ− α^ j− ^β i)=0,
j=1
Applying summation
k k
For treatments
r r r
S=∑ ( Y ij −^μ −α^ 1 − ^βi ) + ∑ (Y ij − μ^ −α^ 2− ^β i)2 +…+ ∑ (Y ij −^μ− α^ k − ^β i)2
2
^ 1, α^ 2, …, α^ k ,
Now differentiate S partially with respect to α
r
∂S
=−2 ∑ (Y ij −^μ −α^ 1− ^β i),
∂ α^ 1 i=1
r
∂S
=−2 ∑ (Y ij −^μ −α^ 2− β^ i) ,
∂ α^ 2 i=1
.
k
∂S
=−2 ∑ (Y ij −^μ− α^ k − ^βi ),
∂ α^ k j=1
put
∂S
=0,
∂ α^ j
r
−2 ∑ (Y ij− μ^ −α^ j− ^βi )=0 ,
i=1
∑ (Y ij−^μ− α^ j− ^β i)=0,
i=1
Applying summation
r r
r k k r
k k
r r
J = 1 to 3
k r
use the assumption ∑ α
^ j=0∧∑ ^β i=0, so equation (A) becomes
j=1 i=1
r k
∑ ∑ Y ij=rk ^μ,
i=1 j=1
Y ..=rk μ^ ,
Y ..
^μ= ,
rk
^μ=Y .., N
∑ Y ij=k μ^ +k ^β i,
j=1
Y i . =k ^μ +k ^β i,
Y i.
^β = − ^μ,
i
k
^β =Y −Y ,
i i. ..
∑ Y ij=r μ^ + r α^ j,
i=1
α^ j =Y . j−Y ..
Y ij =μ+ α j + β i +∈ij,
Where i = 1, 2, …, r
And j = 1, 2, …, k
^ id,
Ith block Total is Bc = B́c + Y
^ id
Jth treatment total is T d=T´ d + Y
i=1 j=1
∑ Y i .2
Block SS= i=1 −CF
k
k
∑ Y . j2
Treatment SS= j=1 −CF
r
After one missing observation in ith block and jth treatment
( Ǵ+ Y^ id )
2
CF=
rk
r ´k
Total SS=∑ ∑ Ý ij + Y^ id −CF ,
2 2
i=1 j=1
r
1
Block SS= [ ∑ B 2i + ( B́c + Y^ id ) ]−CF ,
2
k i=1
k
1
Treatment SS= [ ∑ T 2j + ( T´ d + Y^ id ) ]−CF ,
2
r j=1
[ ] [∑ ]
r ´k r k
1 1
Error SS=∑ ∑ Ý ij + Y^ id − ∑ Bi + ( B́c + Y^ id ) − T j + ( T´ d + Y^ id ) +CF , ….(A)
2 2 2 2 2 2
To estimate the missing observation apply method of least square and take the partial derivative of
^ ) and euate it to zero
equation (A) with respect to the missing observation (i.e. Y id
[ ] [ ]
r ´k r k
( Ǵ+ Y^ id )
2
∂ ESS ∂ 1
[ ∑ ∑ Ý 2ij + Y^ 2id − ∑ B + ( B́c + Y^ id ) − 1r ∑ T +(T´ d +Y^ id ) +
2 2 2 2
= ],
∂ Y^ id ∂ Y^ id i=1 j=1
i j
k i=1 j=1 rk
Case II: - two missing observations
now we proceed for first situation i.e. in different blocks and different treatments
Y ij =μ+ α j + β i +∈ij,
Where i = 1, 2, …, r
And j = 1, 2, …, k
Y^ ij = ^μ + α^ j + β^ i,
Let the two missing observation are in denoted by M ∧N , suppose they are in block 3 treatment 2 and
block 4 treatment 5, respectively
block Total is BN = B́ N + N ,
i=1 j=1
∑ Y i .2
Block SS= i=1 −CF
k
k
∑ Y . j2
Treatment SS= j=1 −CF
r
After two missing observations we have,
2
( Ǵ+ M + N )
CF=
rk
r ´k
Total SS=∑ ∑ Ý ij + M + N −CF ,
2 2 2
i=1 j=1
r
1
Block SS= [ ∑ B 2i + ( B´M + M ) + ( B´N + N ) ]−CF ,
2 2
k i=1
k
1
Treatment SS= [ ∑ T 2j + ( T´M + M ) + ( T´N + N ) ]−CF ,
2 2
r j=1
r ´k
1
Error SS=∑ ∑ Ý ij + M + N − ¿ , ….(A)
2 2 2
i=1 j=1 k
To estimate the missing observation apply method of least square and take the partial derivative of
equation (A) with respect to the missing observation (i.e. M ∧N ) respectively and euate it to zero
r ´k r k
( Ǵ+ M + N)
∂ ESS ∂ 1 1
[ ∑ ∑ Ý ij + M + N − [ ∑ Bi + ( B´M + M ) + ( B́N + N ) ]− [ ∑ T j + ( T´M + M ) + ( T´N + N ) ]+
2 2 2 2 2 2 2 2 2
=
∂M ∂ Y^ id i=1 j=1 k i=1 r j=1 rk
,,
∂ ESS 1 1 1
=0+2 M + 0− [ 0+2 ( B´M + M ) ( 1 ) +0 ]− [ 0+ 2 ( T´M + M ) ( 1 )+ 0 ] + ¿,
∂M k r rk
∂ ESS 2 2 2
=2 M − [ ( B´M + M ) ] − [ ( T´M + M ) ] + ¿,
∂M k r rk
∂ ESS
Put =0, so
∂M
2 ´ 2 2
2 M−
k
[ ( B M + M ) ] − [ ( T´M + M ) ] + ¿,
r rk
rk
Multiply by on both sides
2
∂ ESS 2 2 2
=2 N − [ ( B´N + N ) ] − [ ( T´N + N ) ] + ¿,
∂N k r rk
Equate it to zero
2 2 2
2 N−
k
[ ( B́N + N ) ] − [ ( T´N + N ) ] + ¿,
r rk
rk
Multiply by on both sides
2
BIBD: In this type of designse every pair of treatments occur same number of times in an experiment.
Thus a BIBD is an arrangement of treatments (t) in blocks (b) each of size k (where k<t). the BIBD has
following requirements
Example
(I) 1 2 3 4
(II) 1 2 3 5
(III) 1 2 4 5
(IV) 1 3 4 5
(V) 2 3 4 5
In other words we can say that if there are “t” treatments and each block can hold (k<t) treatments then
t
a BIBD can be constructed by taking ( ) blocksand assigning a different combination of treatments to
k
each block. For the above given example t=5 and k=4, so the number of blocks are ( 54)=5. The symbols
t, b, r, k, and λ are called as parameter of designs and satisfy the following relation
tr = bk…………………………………..(1)
r (k −1)
λ= ,
(t−1)
The above given relations represent the total number of experimental units in the design. The equation
(2) can be established by noting that a given treatment occur with (k-1) other treatments to each of “r”
blocks and also occur with each of the other (t-1) treatments in λ blocks. Also it is important to note that
for every treatments design will be incomplete. For example if we have t=b=6 and r=k=3 then
r (k −1) 3(3−1) 6
λ= , λ= = , which not an integer, so for this situation BIBD does not exist. Also it is
(t−1) (6−1) 5
not necessary if the above given relation exist (i.e. λ is an integer) it is a BIBD. For example if we have
r (k −1) 7(5−1)
t=15, b =21, r=7, and k=5 then λ= , λ= =2, is not satisfied the conditions for BIBD.
(t−1) (15−1)
Construction of Balanced Incomplete Block Design
r (k −1) 3(3−1)
Consider t=4, b=4, k=3, and r=3, then λ= , λ= =2,
(t−1) ( 4−1)
Treatments Blocks
I II III IV
1 Y Y Y N
2 N Y Y Y
3 Y N Y Y
4 Y Y N Y
So the pairs in each block is given as
I II III IV
(1,3) (1,2) (1,2) (2,3)
(1,4) (1,4) (1,3) (2,4)
(3,4) (2,4) (2,3) (3,4)
An engineer is studying the milage performance characteristics of five types of gasoline additives. In the
road test he wishes to use cars as blocks. However because of a time constraint he must use incomplete
block design with the five blocks
In these designs the allocation of treatments is laid out in the Latin Square structure. So to eliminate the
variations arisimg from two types of grouping the appropriate arrange is given below for 9-treatments in
3-units per block for 4-lattice square
Statistical Model
Where
μ = overall mean
α i = effect of ith treatment
i j
Where Trt SS Adj, is to separate the block effect and treatment effect. This adjustment is necessary
because every treatment is represent in a different set of “r” block. Difference between unadjusted
treatment total are also effected by the difference between blocks.
1
Block SS= ∑ T 2 −CF
k j .j
1
Treatment SS= ∑ T 2 −CF
r i i.
k
Trt SS Adj= ∑
λt i
2
Qi
Where
1
Q i=Y i − ∑n Y ,
k j j j
Where
SOV Df SS MS F
Trt Adj t-1
Block b-1
Error n-t-b+1
Total n-1
Note: if t = b (i.e. no of treatments is equal to the number of blocks) then the design is claaed as
symmetric which means symmetric balanced incomplete block design.
Example
Treatments Blocks Y i.
1 2 3 4 5
1 - 17 14 13 12 56
2 14 14 - 13 10 51
3 12 - 13 12 9 46
4 13 11 11 12 - 47
5 11 12 10 - 8 41
Y.j 50 54 48 50 39 241
t = 5, b = 5, k = 4, r = 4, n = bk = 5 X 4 = 20
r (k −1) 4 (4−1)
λ= = 3 , which Is an integer.
(t−1) (5−1)
2 2
G 241
CF= = =2904.05,
n 20
i j
1 1
Block SS= ∑
k j
2
Y . j−CF= ¿] – 2904.05 = 31.2,
4
k 4
Trt SS Adj= ∑
λt i
2
Qi =
3(5)
[ ( 8.25 )2+ ( 2.75 )2+ (−0.75 )2 + (−3.5 )2 + (−6.75 )2 ]=35.73,
Error SS=76.25−31.2−35.73=10.02
Where
1
Q i=Y i . − ∑n Y ,
k j j .j
( 14 )∗[0∗( 50) +1∗( 54) +1∗( 48 )+1∗( 50) +1∗( 39) ] = 8.25,
Q 1=56−
SOV df SS MS F Ftab
4 35.73 8.9325 9.806137725 3.35669
Block 4 31.2 7.8 8.562874251 3.35669
Error 11 10.02 0.910909
Total 19 76.25
Reject the null hypothesis.
Balanced designs may not be constructed for every experimental situation requiring incomplete blocks.
In some cases the required number of replications may not be possible. So partially balanced incomplete
block designs requiring much less replications can be constructed. The minimum number of replications
r (k −1) λ (t−1)
required for balanced designs is λ= or r = suppose we have an experiment with t = 6
(t−1) ( k−1)
treatments with k=4 which is block size means that there maximum 4 experimental units in a block
which is less than complete set of treatments (i.e. t=6), the balanced design requires 15 blocks with r =
10, and we need 60 experimental units as n = rt = 10*06 =60. It is very difficult or impossible that 60
experimental units are not available or the experiment is so much expensive. To overcome this problem
we can use partially balanced incomplete block designs. In these designs the variance of every estimated
elementary contrast among treatment effect is not the same. In these designs some pairs of treatments
occur λ 1 times, some appear λ 2 times and so on, and the remaining pairs appear λ m times.
Let we have a set of treatments “t” (1, 2, …, t) a relation satisfying the following conditions is called as
m-class association sceme where m ≥ 2
1. any two symbols areeither ist, 2nd, or mth associate the relation of association being symmetric. i.e. if
the symbol α is the ith associate of β, then β is ith associate of α.
3.if any two symbols α and β are ith associate then the number of symbols that are jth associate of α
2
and kth associate of β is p jk and is the independent of the pair of ith associates α and β.
2
The quantities t, ni and p jk are called as the parameter of association scheme.
*if the two symbols are ith associate then they occur together in λ i blocks. The number of λ i being
independent of the particular pair of ith associates α and β.
*the number t, b, r, k, λ i, and ni are called parameters of ist kind and it can be easily seen that
t
∑ ni λ i=r (k−1)
i=1
Consider the PBIBD for six treatments in blocks of four units. As discussed above that balanced design
requires 10 replications for balance with λ=6 the PBIBD requires 12 experintal units in three blocks
with two replicates using the block size of 4 units shown in the following table
Block I 1 4 2 5
Block II 2 5 3 6
Block III 3 6 1 4
(1, 4) occur two times.
Example
Consider 12 treatments (1, 2, 3, …, 12), let there are three groups based on 4 treatments each as follow
Now we define
1) any two treatments are first associate if they belongs to the same group
2) any two tretments are 2nd associate if they belong to different groups
1 1 1 1 2 2 2 2
p11 =2, p12=0 , p21=0 , p22=8 , p11 =0, p12=3, p21 =3, p22=4, .
i
It can be verified that these values of p jk remains unchanged for any choice of two first and second
associate. These parametes are usually written in the form of the following matrices.
1 2 0
p jk=[ ],
0 8
2 0 3
p jk=[ ],
3 4
Question
Blocks Treatments
1 1 2 3
2 3 4 5
3 2 5 6
4 1 2 4
5 3 4 6
6 1 5 6
Find parameters of first kind and parameters of second kind of PBIBD.
1- n1 +¿ n2 =t−1,
1 2
2- p11 + p12=n 1,
1 1
3- - p11 + p12=n 1−1,
1 2
4- n1 p11=n2 p11,
5- n1 λ1 +n 2 λ 2=r (k −1),
1 1
6- p21+ p 22=n2,
2 2
7- p21+ p 22=n2−1,
1 2
8- n1 p22=n2 p 12,
Analyse the data test the, test the significance difference between the treatment means by using
adjusted treatment SS.
Solution
r (k −1) 3(3−1) 6
λ= , λ= = ,
(t−1) (6−1) 5
which is not integer so PBIBD is possible, it means that pair of treatment do not occur same number of
times. The treatment pairs are,
All other pairs occur one times so λ 2=1. So ot is the PBIBD with two associates.
Factorial Experiments
In the last semester we discuss single factor experiment
What is factor?
The factorial experiment is used to investigate a number of factors (Say “P”) simultaneously or at a time,
that is we can say that several factors may affects the variable in which we are interested.
Factorials are those experiments which involve the study of effects of two or more factors.
The requirement for factorial experiment is that there should minimum two factors are involved in the
experiment, and each factor contains minimum two levels (Low level and High level).
If we have two fertilizers (N, P) and we want to test the different rates of N and P that is no nitrogen,
and 50 kg/acer nitrogen, with no phosphorous with 50kg/acer phosphorus.
In this experiment nitrogen is an individual factor with two levels and phosphorous is another factor
with two levels.
In this situation factorial arrangements/factorial designs are not applied. This leads to a single factor
experiment.
Each factor is denoted by capital letter (A, B, C) and each level is denoted by small letter (a, b, c)
a0, and a1
b0 and b1
So when we start an experiment then we use treatment combinations which are as follow
a0 b0 (Low level of factor A and low level of factor B) this is known as control and is denoted by (I)
a1 b0 (High level of factor A and low level of factor B) this is known as effect of factor A
a0 b1 (Low level of factor A and high level of factor B) this is known as effect of factor B
a1 b1 (High level of factor A and high level of factor B) this is known as interaction effect of factor A and
factor B
These treatment combinations are known as a complete set of treatment combination in standard
order.
Example: - in comparing weight increases animals kept on different diets, animals of both genders (Male
and Female) from several breeds fed different methods may be used in factorial designs, by using each
method of feeding of each breed, it is possible to determine the best method of diet and breeds. It is
also possible to study whether the best method of feeding from diet to diet and whether the optimum
method (Best Method) and diet depend upon the gender and breed of animal. That is suppose we have
two diet methods and two breeds of animals. Diet method is factor A and Breed is factor B, there are
two methods of diet as discussed above, the first method is considered as low level and second method
is considered as high level, similarly as there are two breeds the ist breed is considered as low level and
the 2nd breed is considered as high level.
So by using a factorial design we can study the manner in which may vary with changes in other
experimental factors. (The experimental factors are effect of factor A, effect of factor B and effect of
factor AB, the individual effects are known as main effects and the combinations of different levels of
different effects are called interaction effect), the interaction of the experimental factor, the factor
design by using each combination of series of treatment and experimental conditions allows the average
effect and more important their interaction with one another to be estimated simultaneously.
By this approach consistency of each effect may test and where it is shown to be dependent on the
other treatments any inter relation may be study.
If the set of factors don’t interect all the observations may be used in making treatment comparison, if
they do interect attention may have to be restricted to particular combination. The existence of
interaction can only be verified by the use of factorial experiment and the simultaneous determination
of significant interaction greatly facilitated.
The recognization of interaction are relevant, thus allows attention to be focus on these interections
STATISTICAL MODEL: -
As we discussed earlier that there are two factors A & B, with factor A have “a” and factor B have “b”
levels (a0, a1, a2, …, an and b0, b1, b2, …, bn also we can say that a = 1, 2, 3, …, a and b = 1, 2, 3, …, b), then
the observation Y ijk is the kth observation for the ith level of factor A and jth level factor B. it can be
expressed as follow
Y ijk =μ+α i+ β j+(αβ)ij +∈ijk, I is for factor A, j is for factor B, and k is for individual replicated
observation
It means there are
i = 1, 2, …., a
j = 1, 2, …, b
and k = 1, 2, …, n
suppose we have two factors with two levels and each treatment combination is replicated 3 times
then,
n = 3 * 2 * 2 = 12
Y ijk ,
Factor B
1 1 2 3 … b
y 111, y 121, y 131, … y 1 b 1,
y 112, y 113, y 122, y 123, y 132, y 1 b 2, y 1 b 3,
y 133,
2 y 211, y 212, y 213, y 221, y 222, y 223, y 231, y 2 b 1, y 2 b 2, y 2 b 3,
y 232, …
y 233 ,
3 y 311, y 312, y 313, y 321, y 322, y 323, y 331, y 3 b 1, y 3 b 2, y 3 b 3 ,
Factor A
y 332, …
y 333,
. . . . . .
. . . . . .
. . . . . .
a y a 11, y a 12, y a 13, y a 21, y a 22, y a 23, y a 31, y ab 1, y ab 2, y ab 3,
y a 32, …
y a 33,
Students construct a general table in which, factor A has 2 levels, Factor B has 2 levels and 4 replications.
Where,
μ = Overall mean
α i = effect of ith level of factor A
(αβ )ij = interaction for the ith level of factor A and jth level of factor B
∈ijk = Random error, residual and ∈ijk NII (0 , σ 2),
Statistical Analysis (The two-factor factorial design under completely randomized designs)
ANOVA
CF = (GT)2/n
t r
Total SS=∑ ∑ y ij 2−CF
j=1 i=1
∑ T j2
Treatment SS= j=1 −CF
r
t
Factor A SS =
∑ A2
j =1
−CF
r∗b
t
Factor B SS =
∑ B2
j =1
−CF
r∗a
AB SS = Treatment SS – Factor A SS – Factor B SS
Unbiased variance
t n
2
1 j =1
∑ xj 2
( ∑ x i)
s2= [ − i=1
]
n−1 ❑ n
Error SS = Total SS- Factor A SS – Factor B SS - AB SS
There are two varieties (V) and two levels of fertilizer (F) with 4 replications. The varieties are v 1 and v2,
the fertilizer levels are f1 and f2. The data is given below with treatment combinations.
Variety = Factor A, a = 2
Fertilizer = Factor B, b = 2
Replication = r = 4
n = r*a*b = 4*2*2 = 16
yabr
v1 v2 Total
f1 12466 14210 26676
f2 18894 19224 38118
Total 31360 33434 64794
262391402.
CF 4198262436 3
10974169.7
Total SS 273365572 5
Trt SS 1083870668 270967667 8576265
262660244.
V SS 2101281956 5 268842.3
270573862.
F SS 2164590900 5 8182460
VF SS 124962.25
Error SS
Treatment sum of squares is always equal to the sum of main effect sum of square and interaction sum
of squares.
An experiment was conducted with six levels of nitrogen and four levels of varieties, construct an
ANOVA in factorial arrangements.
Yield no N2
v0 v1 v2 V3 v0 v1 v2 V3
Rep1 4430 3944 3464 4126 5418 6102 4768 5192
Rep2 4478 5314 2944 4482 5166 5858 6004 4604
Rep3 3850 3660 3142 4836 6432 5586 5556 4652
n2 n3
v0 v1 v2 V3 v0 v1 v2 V3
Rep1 6076 6008 6244 4546 6462 7139 5792 2774
Rep2 6420 6127 5724 5744 7056 6982 5880 5036
Rep3 6704 6642 6014 4146 6680 6564 6370 3938
n4 n5
v0 v1 v2 V3 v0 v1 v2 V3
Rep1 7290 7682 7080 1414 8452 6228 5594 2248
Rep2 7848 6594 6662 1960 8832 7387 7122 1380
Rep3 7552 6576 6320 2766 8818 6006 5480 2014
Write down all treatment combinations in standard order
N0v0, N2v0, n2v0, n3v0, N2v0, N2v1, N2v2, N2v3, n2v0, n2v1, n2v2, n2v3, n3v0, n3v1, n3v2, n3v3, n4v0,
n4v1, n4v2, n4v3, n5v0, n5v1, n5v2, n5v3
The levels of factors A and B are called as low level, heigh level and also they called as absent and
present.
22 (Levels)factors 25 (Levels)factors there are five factors with two levels each. 32 (Levels)factors there are two
factors with three levels each. The general design is 2k (Levels)factors
a0 b0 (Low level of factor A and low level of factor B) this is known as control and is denoted by (I)
a1 b0 (High level of factor A and low level of factor B) this is known as effect of factor A
a0 b1 (Low level of factor A and high level of factor B) this is known as effect of factor B
a1 b1 (High level of factor A and high level of factor B) this is known as interaction effect of factor A and
factor B
two factors are said to be interact if the effect of on factor changes as the level of the other factor
changes. This is known as interaction.
Example:
Consider an investigation into the effect of concentration of reactant and presence of catalyst on the
reaction of time of a chemical process. Let the concentration of reactants is considered as Factor A and
levels of interest 15 % and 25 % catalyst being the factor B, the high level denotes the presence of
catalyst and low level denotes the absence of catalyst. The experiment is done in three replicates. The
observations are recorded as follow.
I II III Total
A low, B 28 25 27 80 a0 b0 (1) Control)
Low
A high, B 36 32 32 100 a1 b0 a
Low
A low, B 18 19 23 60 a0 b1 b
High
A High, B 31 30 29 90 a1 b1 ab
High
Now the lower case letter (1), a, b, and ab also represent the total of n represent the n replicates at the
treatment combinations, also denote the effect of a factor by a capital letter. It means “A” represents
the effect of factor “A” and “B” represents the effect of factor “B”, and “AB” represent the interaction.
They small letters represent the treatment combinations. The average is defined as the change in
response produced by a change in the levels of that factor averaged over the levels of other factor.
a−(1) a 1 b 0−a 0 b 0
The effect of “A” at the low level of “B” is = , and the effect of “A” at the high level
2n 2n
ab−b a1 b1−a0 b1
of “B” is = , similarly, you have to find the effect of level “B” at low level of “A”, and
2n 2n
effect of level “B” at high level of “A”.
ab−b a−(1) 1
A= + = [ ( ab−b )+ ( a− ( 1 ) ) ]
2n 2n 2n
1
¿ [a b −a b +a b −a b ],
2n 1 1 0 1 1 0 0 0
1
¿ ¿,
2n
1
¿ [(a −a )(b +b )],
2n 1 0 1 0
1
= [( a−1)(b +1)],
2n
The average effect of “B” is
1
B= [(a −a )(b +b )],
2n 1 0 1 0
1
B= [( b−1)(a +1)],
2n
The average effect of “AB” is
1
A B= [(a −a )(b −b )],
2n 1 0 1 0
1
AB = [( b−1)(a−1)],
2n
The overall average of “M” is
1
M= [(a +a )(b +b )],
4n 1 0 1 0
1
M= [(b+1)(a+1)],
4n
Table of “+” and “-” signs (table of contrasts, also called as table of runs) is helpful for the average
effects and treatment combinations and divisors and also it is useful for finding the sum of squares of
main effects and interactions.
1
M= [(b+1)(a+1)],
4n
1
M= [a b +a b + a b +a b ],
4n 0 0 1 0 0 1 1 1
1
M= [(1)+a+ b+ab ],
4n
Find effect of “A”, “B”, and “AB” from the following table:
I II III Total
A low, B Low 28 25 27 80 a0 b0 (1)
A high, B 36 32 32 100 a1 b0 a
Low
A low, B 18 19 23 60 a0 b1 b
High
A High, B 31 30 29 90 a1 b1 Ab
High
330
Effects (1) (a 0 b 0 ¿ a (a 1 b 0 ¿ b (a 0 b 1 ¿ ab (a 1 b 1 ¿ Divisor
I or (M) + + + + 4n
A - + - + 2n
B - - + + 2n
AB + - - + 2n
1
A= [ ( ab−b ) + ( a−( 1 ) ) ] ,
2n
1
A= [ ( 90−60 )+ ( 100−80 ) ]=8.33,
2(3)
1
B=
2n
[ ( ab +b ) −( a+(1)) ]=−5.00,
1
AB =
2n
[ ( b−1 )( a−1 ) ]=1.67,
1
SS A = k
¿]
2 ∗n
SS B=75, SS AB=8.33
1
SS B= k
¿],
2 ∗n
1
SS AB= ¿]
k
2 ∗n
There is another method to find the sum of squares for 2k factorial designs known Yate’s method.
ANOVA table
j = 1, 2, …, b (Treatments)
k = 1, 2, 3, …, r
With the assumptions that different levels of Factor A and different levels of Factor B are chosen by the
experimenter. i.e. they are fixed.
2
∈ijk NII (0 , σ )
In case of fixed effect models the treatment effects are fixed such that
a b b a
Let
Y i .., Y . j ., Y ..., are the means of rows, columns, overall respectively. In such a way that,
❑ ❑
Y i ..
∑ ∑ Y ijk ,for i = 1, 2, 3, …, a
j k
Y i ..= =
br br
❑ ❑
Y . j.
∑ ∑ Y ijk , for j = 1, 2, 3, …, b
j k
Y . j .= =
ar ar
Y ...
Y ... = , for K = 1, 2, 3, …, r
abr
The total sum of square can be written as
a b r a b r
Total SS = ∑ ∑ ∑ (Y ijk −Y ... ) = ∑ ∑ ∑ (Y ijk −Y i ..+ Y i ..−Y . j . +Y . j . −Y ij. +Y ij .−Y ... + Y ...−Y ... )
2 2
a b r
= ∑ ∑ ∑ [(Y i..−Y ...)+(Y . j .−Y ... )+(Y ij .−Y i..−Y . j. +Y ... )+(Y ijk −Y ... )]
2
Total SS=SS A + SS B + SS AB + SS E
Where,
a b r a b r 2
(Y ... )
Total SS=∑ ∑ ∑ (Y ijk −Y ... ) =∑ ∑ ∑ Y −
2 2
, ijk
i=1 j=1 k=1 i=1 j=1 k=1 abr
a
a
(Y ) ,
∑ Y i2.. 2
b ∑ Y 2. j . (Y ... )2 ,
SS B=ar ∑ (Y . j .−Y ...) = 2 j=1
−
j=1 ar abr
a b
SS AB=r ∑ ∑ (Y ij . −Y i ..−Y . j . +Y ... )2=TSS subtable AB−SS A −SS B ,
i =1 j=1
a b
∑ ∑ Y 2ij. 2
(Y ... ) ,
i=1 j=1
TSS subtable AB = −
r abr
[ ][ ][ ]
a b a b
∑ ∑ Y ij. 2
(Y ... )2 ∑ Y i ..
(Y ...)2
2
∑ Y 2. j . (Y ... )2 ,
i =1 j=1 i=1 j=1
SS AB= − − − − −
r abr br abr ar abr
a b r a b r ∑ ∑ Y 2ij . ,
SS E=∑ ∑ ∑ (Y ijk −Y ij . )2=∑ ∑ ∑ Y 2ijk − i=1 j =1
SOV df
A a-1
B b-1
AB (a-1)(b-1)
Error ab(r-1)
Total abr-1
For Mean Squares divide each sum of square on its respective df. And for f ratio divide each mean
square on error mean square.
Now we have 23 factorial designs, it means there are three factors with 2 levels each and there are 8
treatment combinations
Let A, B, and C be the three factors with levels (a0, a1) for factor A, (b0, b1) for factor B, (c0, c1) for factor C.
the treatment combinations are:
(1) a0 b0 c0
a a1 b0 c0
b a0 b1 c0
ab a1 b1 c0
c a0 b0 c1
ac a1 b0 c1
bc a0 b1 c1
abc a1 b1 c1
ANOVA for 23 factorial design
SOV df
A a-1
B b-1
AB (a-1)(b-1)
C c-1
AC (a-1)(c-1)
BC (b-1)(c-1)
ABC (a-1)(b-1)(c-1)
Error By subtraction
Total abcr-1
a0 a1
b0 b1 b0 b1 Total
c0 c1 c0 c1 c0 c1 c0 c1
R1 13 9 12 8 10 11 14 7
R2 14 10 13 9 11 12 15 8
Total
a0 b0 c0 a0 b0 c1 a0 b1 c0 a0 b1 c1 a1 b0 c0 a1 b0 c1 a1 b1 c0 a1 b1 c1
(1) c b bc a ac ab abc
1. The total sum of square has been partitioned into sum of square due to rows, sum of squares
due to columns, sum of squares due to interaction between the factors A & B, and sum of
square of error.
SST = SS rows + SS col + SS AB + SS E
2. There must be at least two replicates (r ≥ 2) to obtain the error sum of square.
3. The df’s for various SS’s is as follow
SOV df
A a-1
B b-1
AB (a-1)(b-1)
Error ab (r-1)
Total abr-1
Then each SS is divided by the respective df’s which gives mean squares (expected SS)
a
br ∑ α 2i
E ( MS A ) =E ( )
SS A
a−1
=σ 2 + i =1
a−1
,
b
ar ∑ β 2j
E ( MS B )=E ( b−1
SS
)=σ +
B 2 j =1
b−1
,
a b
r ∑ ∑ (αβ )ij
E ( MS AB )=E
(
SS AB
(a−1)(b−1)
=σ + i=1 j=1
2
)
(a−1)(b−1)
,
E ( MS E )=E
( SS E
ab(r −1) )
2
=σ ,
MS A
F−statistic for A= ,
MS E
MS B
F−statistic for B= ,
MS E
MS AB
F−statistic for AB= ,
MS E
Random Effect Model
Or
Component of variance model
Statistical Model
The basic Statistical model for CRD-Designs in factorial arrangements is expressed as:
j = 1, 2, …, b (Factor B)
k = 1, 2, 3, …, r (Replications)
in this model different levels of factor A and factor B are chosen at random from a large population. This
means that α i, β j , (αβ )ij , are distributed randomly with the following assumptions.
β j ’s ~ NII (0, σ 2β ¿,
Where these variances are called as variance components and the hypothesis for these are given as
follow:
2
H 0 :σ α,
2
H 0 :σ β,
2
H 0 :σ αβ,
The basic ANOVA remains unchanged in random effect model (i.e. same as fixed effect model) and
various sum of squares are calculated in the same way as that of fixed effect model.
,
2
E ( MS E )=σ ,
MS A
F−statistic for A= ,
MS E
MS B
F−statistic for B= ,
MS E
MS AB
F−statistic for AB= ,
MS E
General 2k Factorial Design
Factorial designs are widely used in experiments involving several factors where it is necessary to study
the joint effect of these factors on a response. The general factorial designs are important as they are
widely used in research widely used in research work and also because they form the basis of other
designs of considerable practical value.
The first of these cases is based on “k” factors with each have two levels. A complete replicate of such
designs required 2x2x2x … x2 (k-times) = 2k observations. (i.e. if there are two factors then we need 2x2
=4 observation. If there are 3 factors we need 2x2x2 = 8 observations and so on, these are also called as
a set of complete treatments).
The second of these cases os 3k factorial designs which means there are “k” factors with 3 level each (i.e.
if there are two factors then we need 3x3 = 9 treatment combinations and so on).
Assumptions: -
(1), a, b, ab, c, ac, bc, abc. The df are 7 for 8 treatment combinations in ANOVA. These treatment
combinations are associated with the main effects A, B, and C, two interaction effects Ab, AC, BC, three
interaction effects ABC. Now the average effect of A
1
A= 2
[ ( a−( 1 ) ) + ( ab−b ) + ( ac−c ) + ( abc−bc ) ],
2 n
1
A= 2
[ ( a−1 )+ ( b+1 ) + ( c +1 ) ],
2 n
1
B= [ ( b−1 ) + ( a+ 1 )+ ( c+ 1 ) ],
4n
1
C= [ ( c−1 )+ ( b+1 ) + ( a+1 )],
4n
1
AB= [ ( a−1 ) + ( b−1 ) + ( c +1 ) ],
4n
1
AC= [ ( a−1 ) + ( c−1 ) + ( b+1 ) ],
4n
1
BC= [ ( a+1 ) + ( b−1 ) + ( c−1 ) ],
4n
1
ABC= [ ( a−1 ) + ( b−1 ) + ( c−1 ) ] ,
4n
The sign table for 23 factorial designs
Treatment combinations
(1) a b ab c ac bc abc
I (M) + + + + + + + +
A - + - + - + - +
B - - + + - - + +
Effects
AB + - - + + - - +
C - - - - + + + +
AC + - + - - + - +
BC + + - - - - + +
ABC - + + - + - - +
2
( Effects)
SS of effect= 3 ,
2 n ( All treatment combinations x replications ) , axbxcxr
Split-Plot Designs
The split-plot designs is specifically suited for two factors design that has more treatment to be
accommodated by a complete block designs. In split-plot designs all the factors are not of equal
importance. Such as in an experiment of varieties and fertilizers, the variety is less important and the
fertilizer is more important. For this purpose, we divide an experimental unit into two parts, main plot
and sub plot. The less important factor applied in main plot and the most important factor applied in the
subplot. As given in the figure below:
Let we have 5 varieties (v = 5), and 6 types fertilizer (f = 6), with three blocks. So there will be 90
experimental units. We perform our experiment as follow:
For block 1
V1 V2 V3 V4 V5
N2 N6 N2 N6 N2
N2 N5 N2 N5 N2
N3 N4 N3 N4 N3
N4 N3 N4 N3 N4
N5 N2 N5 N2 N5
N6 N2 N6 N2 N6
For block 1
V1 V2 V3 V4 V5
N2 N6 N2 N6 N2
N2 N5 N2 N5 N2
N3 N4 N3 N4 N3
N4 N3 N4 N3 N4
N5 N2 N5 N2 N5
N6 N2 N6 N2 N6
For block 3
V1 V2 V3 V4 V5
N2 N6 N2 N6 N2
N2 N5 N2 N5 N2
N3 N4 N3 N4 N3
N4 N3 N4 N3 N4
N5 N2 N5 N2 N5
N6 N2 N6 N2 N6
Nitrogen Varieties
V1 V2 V3 V4 V5 Total
N2
N2
N3
N4
N5
N6
Total
Rep x main plot factor (Varieties) sub-table
Nitrogen Varieties
V1 V2 V3 V4 V5 Total
R1
R2
R3
Total
CF
Total SS
Treatment SS
Var SS
Nit SS
V*N SS
E1 SS
E2 SS
Perform Split-Plot designs for four varieties and six nitrogen levels taking nitrogen levels more important
and varieties less important.
∑ T j2
Treatment SS= j=1 −CF
r 188343762.7
Trt SS
t
Factor A SS =
∑ A2
j =1
−CF
r∗b 88258498.38
V SS
t
Factor B SS =
∑ B2
j =1
−CF
r∗a 30681791.24
N SS
AB SS = Treatment SS – Factor A SS – Factor B SS 69403473.04
VN SS
r
∑ Ri 2
i=1
Treatment SS= −CF 1142968.361
Rep SS t=(vxn)
Error1 SS = Rep x Var subtable Total SS – Rep SS-Var 1078230
Error1 SS SS
13588026.97
Error2 SS Subtract all sum of squares from Total SS
Unbiased variance
t n
2
∑ xj
1 j =1
2
( ∑ x i)
s2= [ − i=1
]
n−1 ❑ n
Error SS = Total SS- Factor A SS – Factor B SS - AB SS
Nitrogen X Varieties subtable
Nitrogen
N0 N2 N2 N3 N4 N5 Total
V1 12758 17016 19200 20198 22690 26102 117964
V2 12918 17546 18777 20685 20852 19621 110399
Varieties
V3 9550 16328 17982 18042 20062 18196 100160
V4 13444 14448 14436 11748 6140 5642 65858
Total 48670 65338 70395 70673 69744 69561 394381
Varieties
V1 V2 V3 V4 Total
R1
R2
R3
Total
Split-Split-Plot designs
It is the extension of Split-plot designs. It involves minimum three factors each with minimum two levels.
The degree of precision is associated with these three factors.
1. the experimental plot is divided into three parts. Main plot which contain less important factor, sub-
plot which contain more important factor, and sub-sub-plot which contain most important factor.
2. there are three levels of precision, with the main-plot factor receiving the lowest degree of precision
and the sub-sub-plot receiving the highest degree of precision.
Layout plan:
Let we have an experiment of three factors, nitrogen with 5 levels, management practices with 3 levels
and varieties with 3 levels. So, we need 45 experimental units (the experiment is 5X3X3 = 45) for each
block.
Randomization:
We name the factors as N (N2, n2, n3, n4, n5), M (m1, m2, m3), V (v1, v2, v3)
There are three steps in the randomization and lay out plan for split-split-plot designs.
Step1: divide the experimental are into three blocks, and randomly assigned main block treatments to
the main plots randomly and independently. In this experiment the main-plot factor is nitrogen (Less
important) sub-plot factor is management practices (More important) and sub-sub-plot factor is variety
(Most important
For block 1
N2
N2
N4
N5
What is the difference between three factor factorial design and split-split-plot designs? Which is more
efficient and what are the advantages and disadvantages?
Sub-plot = method
Sub-sub-plot = nitrogen
∑ T j2
Treatment SS= j=1 −CF
r
Trt SS (VMN subtable total SS )
t
Variety SS =
∑V2
j=1
−CF
r∗m∗n
V SS
t
Methods SS =
∑ M2
j=1
−CF
r∗v∗n
M SS
t
Nitrogen SS =
∑ N2
j=1
−CF
r∗v∗m
N SS
VM SS = VM subtable total SS – Variety SS – Method SS
VM SS
VN SS = VN subtable total SS – Variety SS – Nitrogen SS
VN SS
MN SS = MN subtable total SS – Method SS – Nitrogen
SS
MN SS
VMN SS = VMN subtable total SS – Variety SS – Method
SS – Nitrogen SS – VM SS – VN SS – MN SS
VMN SS
r
∑ R i2
i =1
Replication SS= −CF
Rep SS v∗m∗n
Error1 SS Error1 SS = Rep x Var subtable Total SS – Rep SS-Var SS
M1 M2 M3 Total
V1 66201 74820 135616 276637
V2 90825 93342 103656 287823
V3 108491 122712 135110 366313
Total 265517 290874 374382 930773
M1 M2 M3 Total
V1 V1M1 V1M2 V1M3
V2 V2M1 V2M2 V2M3
V3 V3M1 V3M2 V3M3
Total
Function: FACTOR
Experiment Model Number 15:
One Factor Randomized Complete Block Design Combined over
Locations (or Combined over Years)
Data case no. 1 to 54.
Variable 4: V1
T A B L E O F M E A N S
3 2 1 4 Total
-------------------------------------------------------
1 * * 92.076 1657.360
2 * * 92.076 1657.360
3 * * 100.444 1808.000
-------------------------------------------------------
* * 1 106.533 958.800
* * 2 84.200 757.800
* * 3 105.911 953.200
* * 4 109.111 982.000
* * 5 74.844 673.600
* * 6 88.591 797.320
-------------------------------------------------------
1 * 1 105.800 317.400
1 * 2 81.133 243.400
1 * 3 110.200 330.600
1 * 4 107.333 322.000
1 * 5 66.267 198.800
1 * 6 81.720 245.160
2 * 1 105.800 317.400
2 * 2 81.133 243.400
2 * 3 110.200 330.600
2 * 4 107.333 322.000
2 * 5 66.267 198.800
2 * 6 81.720 245.160
3 * 1 108.000 324.000
3 * 2 90.333 271.000
3 * 3 97.333 292.000
3 * 4 112.667 338.000
3 * 5 92.000 276.000
3 * 6 102.333 307.000
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 5: V2
T A B L E O F M E A N S
3 2 1 5 Total
-------------------------------------------------------
1 * * 57.415 1033.470
2 * * 59.435 1069.830
3 * * 56.355 1014.390
-------------------------------------------------------
* * 1 55.633 500.700
* * 2 55.780 502.020
* * 3 57.427 516.840
* * 4 59.670 537.030
* * 5 57.913 521.220
* * 6 59.987 539.880
-------------------------------------------------------
1 * 1 55.313 165.940
1 * 2 55.460 166.380
1 * 3 57.107 171.320
1 * 4 59.350 178.050
1 * 5 57.593 172.780
1 * 6 59.667 179.000
2 * 1 57.333 172.000
2 * 2 57.480 172.440
2 * 3 59.127 177.380
2 * 4 61.370 184.110
2 * 5 59.613 178.840
2 * 6 61.687 185.060
3 * 1 54.253 162.760
3 * 2 54.400 163.200
3 * 3 56.047 168.140
3 * 4 58.290 174.870
3 * 5 56.533 169.600
3 * 6 58.607 175.820
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 6: V3
T A B L E O F M E A N S
3 2 1 6 Total
-------------------------------------------------------
1 * * 31.024 558.440
2 * * 28.914 520.460
3 * * 32.024 576.440
-------------------------------------------------------
* * 1 27.433 246.900
* * 2 32.260 290.340
* * 3 32.557 293.010
* * 4 41.937 377.430
* * 5 20.990 188.910
* * 6 28.750 258.750
-------------------------------------------------------
1 * 1 27.803 83.410
1 * 2 32.630 97.890
1 * 3 32.927 98.780
1 * 4 42.307 126.920
1 * 5 21.360 64.080
1 * 6 29.120 87.360
2 * 1 25.693 77.080
2 * 2 30.520 91.560
2 * 3 30.817 92.450
2 * 4 40.197 120.590
2 * 5 19.250 57.750
2 * 6 27.010 81.030
3 * 1 28.803 86.410
3 * 2 33.630 100.890
3 * 3 33.927 101.780
3 * 4 43.307 129.920
3 * 5 22.360 67.080
3 * 6 30.120 90.360
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 7: V4
3 2 1 7 Total
-------------------------------------------------------
1 * * 10.033 180.600
2 * * 12.143 218.580
3 * * 9.333 168.000
-------------------------------------------------------
* * 1 9.960 89.640
* * 2 9.627 86.640
* * 3 16.960 152.640
* * 4 8.960 80.640
* * 5 8.427 75.840
* * 6 9.087 81.780
-------------------------------------------------------
1 * 1 9.490 28.470
1 * 2 9.157 27.470
1 * 3 16.490 49.470
1 * 4 8.490 25.470
1 * 5 7.957 23.870
1 * 6 8.617 25.850
2 * 1 11.600 34.800
2 * 2 11.267 33.800
2 * 3 18.600 55.800
2 * 4 10.600 31.800
2 * 5 10.067 30.200
2 * 6 10.727 32.180
3 * 1 8.790 26.370
3 * 2 8.457 25.370
3 * 3 15.790 47.370
3 * 4 7.790 23.370
3 * 5 7.257 21.770
3 * 6 7.917 23.750
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 8: V5
T A B L E O F M E A N S
3 2 1 8 Total
-------------------------------------------------------
1 * * 12.111 218.000
2 * * 19.776 355.960
3 * * 13.500 243.000
-------------------------------------------------------
* * 1 15.667 141.000
* * 2 13.311 119.800
* * 3 18.533 166.800
* * 4 16.222 146.000
* * 5 14.533 130.800
* * 6 12.507 112.560
-------------------------------------------------------
1 * 1 15.667 47.000
1 * 2 14.333 43.000
1 * 3 14.000 42.000
1 * 4 9.333 28.000
1 * 5 7.000 21.000
1 * 6 12.333 37.000
2 * 1 18.667 56.000
2 * 2 14.267 42.800
2 * 3 25.600 76.800
2 * 4 24.333 73.000
2 * 5 22.933 68.800
2 * 6 12.853 38.560
3 * 1 12.667 38.000
3 * 2 11.333 34.000
3 * 3 16.000 48.000
3 * 4 15.000 45.000
3 * 5 13.667 41.000
3 * 6 12.333 37.000
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 9: V6
T A B L E O F M E A N S
3 2 1 9 Total
-------------------------------------------------------
1 * * 3.611 65.000
2 * * 3.611 65.000
3 * * 3.611 65.000
-------------------------------------------------------
* * 1 3.333 30.000
* * 2 3.333 30.000
* * 3 4.000 36.000
* * 4 4.000 36.000
* * 5 3.000 27.000
* * 6 4.000 36.000
-------------------------------------------------------
1 * 1 3.333 10.000
1 * 2 3.333 10.000
1 * 3 4.000 12.000
1 * 4 4.000 12.000
1 * 5 3.000 9.000
1 * 6 4.000 12.000
2 * 1 3.333 10.000
2 * 2 3.333 10.000
2 * 3 4.000 12.000
2 * 4 4.000 12.000
2 * 5 3.000 9.000
2 * 6 4.000 12.000
3 * 1 3.333 10.000
3 * 2 3.333 10.000
3 * 3 4.000 12.000
3 * 4 4.000 12.000
3 * 5 3.000 9.000
3 * 6 4.000 12.000
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 10: V7
T A B L E O F M E A N S
3 2 1 10 Total
-------------------------------------------------------
1 * * 5.124 92.240
2 * * 3.267 58.810
3 * * 3.217 57.910
-------------------------------------------------------
* * 1 4.180 37.620
* * 2 3.894 35.050
* * 3 4.397 39.570
* * 4 3.440 30.960
* * 5 3.719 33.470
* * 6 3.588 32.290
-------------------------------------------------------
1 * 1 5.827 17.480
1 * 2 4.803 14.410
1 * 3 6.157 18.470
1 * 4 4.683 14.050
1 * 5 4.677 14.030
1 * 6 4.600 13.800
2 * 1 3.347 10.040
2 * 2 3.547 10.640
2 * 3 3.567 10.700
2 * 4 2.700 8.100
2 * 5 3.147 9.440
2 * 6 3.297 9.890
3 * 1 3.367 10.100
3 * 2 3.333 10.000
3 * 3 3.467 10.400
3 * 4 2.937 8.810
3 * 5 3.333 10.000
3 * 6 2.867 8.600
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 11: V8
T A B L E O F M E A N S
3 2 1 11 Total
-------------------------------------------------------
1 * * 36.367 654.610
2 * * 37.501 675.020
3 * * 36.367 654.600
-------------------------------------------------------
* * 1 36.443 327.990
* * 2 36.361 327.250
* * 3 36.752 330.770
* * 4 35.922 323.300
* * 5 37.137 334.230
* * 6 37.854 340.690
-------------------------------------------------------
1 * 1 35.500 106.500
1 * 2 38.083 114.250
1 * 3 36.917 110.750
1 * 4 33.833 101.500
1 * 5 36.520 109.560
1 * 6 37.350 112.050
2 * 1 36.247 108.740
2 * 2 35.767 107.300
2 * 3 37.807 113.420
2 * 4 38.300 114.900
2 * 5 38.257 114.770
2 * 6 38.630 115.890
3 * 1 37.583 112.750
3 * 2 35.233 105.700
3 * 3 35.533 106.600
3 * 4 35.633 106.900
3 * 5 36.633 109.900
3 * 6 37.583 112.750
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
==========================================================================
===
Variable 12: V9
T A B L E O F M E A N S
3 2 1 12 Total
-------------------------------------------------------
1 * * 195.924 3526.630
2 * * 195.924 3526.630
3 * * 195.924 3526.630
-------------------------------------------------------
* * 1 222.200 1999.800
* * 2 188.733 1698.600
* * 3 227.200 2044.800
* * 4 178.367 1605.300
* * 5 174.367 1569.300
* * 6 184.677 1662.090
-------------------------------------------------------
1 * 1 222.200 666.600
1 * 2 188.733 566.200
1 * 3 227.200 681.600
1 * 4 178.367 535.100
1 * 5 174.367 523.100
1 * 6 184.677 554.030
2 * 1 222.200 666.600
2 * 2 188.733 566.200
2 * 3 227.200 681.600
2 * 4 178.367 535.100
2 * 5 174.367 523.100
2 * 6 184.677 554.030
3 * 1 222.200 666.600
3 * 2 188.733 566.200
3 * 3 227.200 681.600
3 * 4 178.367 535.100
3 * 5 174.367 523.100
3 * 6 184.677 554.030
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
T A B L E O F M E A N S
3 2 1 13 Total
-------------------------------------------------------
1 * * 4.264 76.750
2 * * 4.264 76.750
3 * * 4.264 76.750
-------------------------------------------------------
* * 1 4.433 39.900
* * 2 4.347 39.120
* * 3 4.410 39.690
* * 4 4.447 40.020
* * 5 3.533 31.800
* * 6 4.413 39.720
-------------------------------------------------------
1 * 1 4.433 13.300
1 * 2 4.347 13.040
1 * 3 4.410 13.230
1 * 4 4.447 13.340
1 * 5 3.533 10.600
1 * 6 4.413 13.240
2 * 1 4.433 13.300
2 * 2 4.347 13.040
2 * 3 4.410 13.230
2 * 4 4.447 13.340
2 * 5 3.533 10.600
2 * 6 4.413 13.240
3 * 1 4.433 13.300
3 * 2 4.347 13.040
3 * 3 4.410 13.230
3 * 4 4.447 13.340
3 * 5 3.533 10.600
3 * 6 4.413 13.240
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
K Degrees of Sum of Mean F
Value Source Freedom Squares Square Value Prob
--------------------------------------------------------------------------
---
1 Location 2 0.000 0.000 0.0000
-3 Error 6 0.553 0.092
4 Factor A 5 5.817 1.163 9.1472
0.0000
5 LA 10 -0.000 -0.000 -0.0000
-7 Error 30 3.816 0.127
--------------------------------------------------------------------------
---
Total 53 10.186
--------------------------------------------------------------------------
---
==========================================================================
===
T A B L E O F M E A N S
3 2 1 14 Total
-------------------------------------------------------
1 * * 25.569 460.240
2 * * 25.569 460.240
3 * * 25.569 460.240
-------------------------------------------------------
* * 1 23.893 215.040
* * 2 26.730 240.570
* * 3 25.863 232.770
* * 4 25.827 232.440
* * 5 25.207 226.860
* * 6 25.893 233.040
-------------------------------------------------------
1 * 1 23.893 71.680
1 * 2 26.730 80.190
1 * 3 25.863 77.590
1 * 4 25.827 77.480
1 * 5 25.207 75.620
1 * 6 25.893 77.680
2 * 1 23.893 71.680
2 * 2 26.730 80.190
2 * 3 25.863 77.590
2 * 4 25.827 77.480
2 * 5 25.207 75.620
2 * 6 25.893 77.680
3 * 1 23.893 71.680
3 * 2 26.730 80.190
3 * 3 25.863 77.590
3 * 4 25.827 77.480
3 * 5 25.207 75.620
3 * 6 25.893 77.680
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
T A B L E O F M E A N S
3 2 1 15 Total
-------------------------------------------------------
1 * * 27.226 490.060
2 * * 27.226 490.060
3 * * 27.226 490.060
-------------------------------------------------------
* * 1 27.800 250.200
* * 2 29.133 262.200
* * 3 28.367 255.300
* * 4 25.290 227.610
* * 5 25.330 227.970
* * 6 27.433 246.900
-------------------------------------------------------
1 * 1 27.800 83.400
1 * 2 29.133 87.400
1 * 3 28.367 85.100
1 * 4 25.290 75.870
1 * 5 25.330 75.990
1 * 6 27.433 82.300
2 * 1 27.800 83.400
2 * 2 29.133 87.400
2 * 3 28.367 85.100
2 * 4 25.290 75.870
2 * 5 25.330 75.990
2 * 6 27.433 82.300
3 * 1 27.800 83.400
3 * 2 29.133 87.400
3 * 3 28.367 85.100
3 * 4 25.290 75.870
3 * 5 25.330 75.990
3 * 6 27.433 82.300
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
K Degrees of Sum of Mean F
Value Source Freedom Squares Square Value Prob
--------------------------------------------------------------------------
---
1 Location 2 0.000 0.000 0.0000
-3 Error 6 16.458 2.743
4 Factor A 5 113.890 22.778 9.6092
0.0000
5 LA 10 -0.000 -0.000 -0.0000
-7 Error 30 71.113 2.370
--------------------------------------------------------------------------
---
Total 53 201.461
--------------------------------------------------------------------------
---
==========================================================================
===
T A B L E O F M E A N S
3 2 1 16 Total
-------------------------------------------------------
1 * * 76.604 1378.880
2 * * 76.604 1378.880
3 * * 76.604 1378.880
-------------------------------------------------------
* * 1 78.600 707.400
* * 2 77.097 693.870
* * 3 73.997 665.970
* * 4 80.367 723.300
* * 5 72.513 652.620
* * 6 77.053 693.480
-------------------------------------------------------
1 * 1 78.600 235.800
1 * 2 77.097 231.290
1 * 3 73.997 221.990
1 * 4 80.367 241.100
1 * 5 72.513 217.540
1 * 6 77.053 231.160
2 * 1 78.600 235.800
2 * 2 77.097 231.290
2 * 3 73.997 221.990
2 * 4 80.367 241.100
2 * 5 72.513 217.540
2 * 6 77.053 231.160
3 * 1 78.600 235.800
3 * 2 77.097 231.290
3 * 3 73.997 221.990
3 * 4 80.367 241.100
3 * 5 72.513 217.540
3 * 6 77.053 231.160
-------------------------------------------------------
A N A L Y S I S O F V A R I A N C E T A B L E
{[ ] [ ] [ ]}
1 1 1
1 , −2 , 2
1 1 4
[] [ ] [][]
1 1 1 0
c 1 1 +c 2 −2 +c 3 2 = 0
1 1 4 0
In equation form
c 1 +c 2+ c 3=0
c 1−2 c 2 +2 c3 =0
c 1 +c 2+ 4 c3 =0
x 1 v 1+ x 2 v 2 + x 3 v 3 +…+ x k v k =0
Linear Independence
Linear Dependence
X 1 =Students marks∈Calculus
X 2 =Students marks∈Statistics
X 3 =Students marks∈Computer
[ ]
x1 x2 x3 x4 x5
~
X= x 11 x12 x 13 x 14 x15 the order of this matrix is 20 x 5
x 21 x22 x 23 x 24 x25
X1 = 4
X2 = 3
X3 = 2
X4 =1
Find which vectors are linearly dependent
[] [ ] [ ]
1 1 1
x 1= 2 , x 2= 0 , x 3 − 2
1 −1 1
c 1 +c 2+ c 3=0
2 c 1+ 0 c 2−2 c3 =0
c 1−c 2 +c 3=0
When
[] [ ] [ ]
1 2 0
x 1= 1 , x 2= 5 , x 3 1
1 −1 −1
c 1 +2 c 2+ 0 c3 =0
c 1 +5 c 2+ c3 =0
c 1−c 2−c3 =0
L x= √ x 12 + x 22 + x 32+ x 42
L x= √ (−1)2+(5)2+(2)2+(−2)2
L x= √ 1+25+ 4+ 4
L x= √ 34
L x=5.83
L y= √ y1 + y2 + y3 + y 4
2 2 2 2
L x= √ (4 )2+(−3)2+(0)2 +(1)2
L x= √ 16+ 9+0+1
L x= √26
L x=5.10
Variance-Covariance Matrix
[ ( ∑ x1 )
] [ ]
2
2
1 1 ( 379 )
S11 =
n−1
∑x − 2
1
n
=
10−1
19837−
10
=608.1,
[∑ (∑ x 2
] [ ]
2
1 ) 1 ( 433 )
2
= 775.6,
2
S22= x−
2 = 25729−
n−1 n 10−1 10
[∑ (∑ x 3
] [ ]
2
1 ) 1 ( 540 )
2
= 471.8,
2
S33= x−
3 = 33406−
n−1 n 10−1 10
S12=
1
n−1 [
∑ x 1 x 2−
( ∑ x 1 )( ∑ x 2 )
n ] [
=
1
10−1
17033−
( 379 ) ( 433 )
10 ]
=69.1=S21 ,
S13=
1
n−1 [∑ x 1 x 3−
( ∑ x 1 )( ∑ x 3
n
)
] [
=
1
10−1
18262−
( 379 ) ( 540 )
10 ]
=−244.2=S 31,
S23=
1
n−1 [∑ x 2 x 3−
( ∑ x 2 )( ∑ x3
n
)
] [
=
1
n−1
23474−
( 433 ) (540 )
n ]=10.2=S32,
∑ x 1=379,
∑ x 2=433,
∑ x 3=540 ,
∑ x 21=19837 ,
∑ x 22=25729 ,
∑ x 23=33406 ,
∑ x 1 x2 =17033,
∑ x 1 x3 =18262,
∑ x 2 x3 =23474,
Matrix/Matrices
A=[ 22 14]
Matrix is denoted by capital letters and the numbers which are called elements are denoted by small
letters i.e. a ij
Number of rows and columns in the matrix is called as the order of a matrix
Null matrix
Oij =
[00 00]
Identity matrix
[ 10 01]
I ij =
Linearly dependent
Quadratically dependent
2x+3y = 6
4x+7y = 7
In matrix form
A=
[ 11 30] , Find Eigen vaues and Eigen vector
λI =λ
[ 10 01]=[ 0λ 0λ]
A−λI =
[11 03]−[ 0λ 0λ]=[1−1 λ 0
3−λ ]
⌊ A−λI ⌋=( 1−λ ) ( 3− λ )- (0)(1) = 3- λ−3 λ+ λ 2=λ 2−4 λ+3
Apply Quadratic formula for a = 1, b = -4, c = 3
1
f ( x )= exp ¿
σ √2 π
Binomial Expansion
(a+ b) =
n
( n0) a b ( n1) a
n−0 0 n−1 1
b +… +( nn) a n−n
b
n
A matrix is said to be positive definite if for any vector a ≠ 0 the following form exists
~
x A x >0