Lecture-3-With-Computations
Lecture-3-With-Computations
Experimental Designs
Introduction
Statistical Methods
1 28 26 30 28
Where
Yij = the BFT of the jth pig feed with ith level
2 27 25 26 26 µ = the true mean BFT of pigs
τi = the effect of ith protein level
ɛij = expl error associated with the BFT of the
3 24 24 26 25
jth pigs fed the ith level
The ANOVA Table (CRD)
Analysis of Variance
Sources of Degrees
of Sum of Mean Computed Tabular F-Value
variation Freedom Squares Squares F-Value α = 0.05 α = 0.01
Treatment 2 21.50 10.750 7.588* 4.256 8.021
(Level)
Exp'l Error 9 12.75 1.417
Total 11 34.25
* - Significant at α = 0.05.
Equations and Manual Calculations (CRD)
Step 1. Compute the treatment totals and means as follows:
Replication Treatment Treatment
Level
Totals means
I II III IV
1 28 26 30 28 112 28.00
2 27 25 26 26 104 26.00
3 24 24 26 25 99 24.75
GT = Σx 315
GM = µ = (Σx/n) 26.25
Step 2. Compute the correction factor as: Step 4. Compute the Total Sum of Square (Total
= SS):
Step 3. Degrees of Freedom (df): ) – CF
Treatment df = t – 1 = 3 -1 =2, i.e., + . . . +
Error df = n – t = 12 – 3 = 9, and = 282 + 262 + 302 + . . . + 252 - CF
Total df = n – 1 = 12 – 1 = 11 = 8303 – 8268.75 = 34.25
Step 5. Treatment Sum of Square (Treatment SS):
- CF
Step 3. Total SS
Step 6. Sub-sampling Error SS (MSD):
= 68.07
ANOVA (CRD with Sub-sampling)
ANOVA
F-
Sources DF SS MS Compute F - Value
d (0.05)
Soil Type 2 68.07 34.035 5.997 4.256
Exp’l Error (E) 9 51.08 5.676 3.652 2.796
Sampling
Error (D) 12 18.65 1.554
Total 23 137.81
Hypothesis Testing 1: Test for variability Hypothesis Testing 2: Test of differences
of locations within soil types. among treatment means:
Ho: The phosphorous concentrations of the Ho: There are no differences in the
phosphorous concentration among the
locations within soil types are the same. different soil types.
DR: Reject Ho if Fc > Ft (α, edf, sdf) → F(0.05, 9, 12) = DR: Reject Ho if Fc > Ft (α, tdf, edf) → F(0.05, 2, 9) = 4.256,
2.796, otherwise do not reject. otherwise do not reject.
Decision: Since Fc = 3.652 > Ft = 2.796, we reject Decision: Since Fc = 5.997 > Ft = 4.256, we reject
Ho . Ho .
where
yijk = observed value on the kth su in the eu in
the jth block given the ith treatment
µ = the overall mean
τi = effect of the ith treatment
pj = effect of the jth block
ɛij = expl error associated with the eu in the jth
block given the ith treatment
δijk = sampling error associated with the kth su
in the jth block given the ith
treatment
Factorial Experiment
Two-factor factorial n-way treatment structure – n factors,
Example: say A1, A2, . . ., An at levels a1, a2, . . . , an,
respectively. The no. of
Effects of different dietary combinations/treatments is a1 x a2 x , . . . ,
levels of calcium and
an
supplemental Vitamin C on
growth of broilers Example:
Compare the effects of 6 N levels, 2
levels of irrigation, 4 var of rice and their
Factor 1: dietary levels of
interaction
calcium (3)
Levels: 1, 2 and 3
Compare the effects of 3 protein sources
2 protein levels and their interaction
Factor 2: Vitamin C
Compare the effects of 4 different
supplement (3) machines, 4 operators and 4 work shifts
Levels: 50ppm, 100ppm and and their interaction
150ppm
Factorial Experiment Vitamin C
Calcium level Simple effect of
50 100 V-C
Treatment effects 1 78.7 90.7 12.0
2 71.3 80.7 9.4
Simple effect – difference simple effect of
b/n levels of one factor at calcium 7.4 10.0 2.60
each level of the other Interaction effect
factor Vitamin C
Main effect – average of Calcium level Main effect of
50 100 Calcium
the simple effects of a 1 78.7 90.7 84.7
factor across levels of 2 71.3 80.7 76.0
another factor
Mean of V-C
Interaction effect – 75.0 85.7
difference of the simple Main effect of calcium: 84.7 – 76.0 = 8.7
effects of one factor at the Main effect of V-C: 85.7 – 75.0 = 10.7
-
different levels of the other Interaction effect: (90.7 -78.7) – (80.7 – 71.3) = 2.6
factors
Linear Models for Two-Factorial Experiment
Completely Randomized Design
yij = u + αi + βj + (αβ)ij + ɛijk
Randomized Complete Block Design
yijkl = u + pk +αi + βj + (αβ)ij + ɛijkl
Latin Square Design
yijklm = u + pk + yl +αi + βj + (αβ)ij + ɛijklm
Note: For three or more factor experiments, say factors a, b and c, factor c is
just added in the model and its interaction with a and b making 4
interactions in the model i.e., (ab), (ac), (bc) and (abc).
Y= U + A + B + (AB) + E
Y= U + A + B + C + (AB) + (AC) + (BC
Variety 1
Nitrogen
Levels 1 2 3 4
A 5.5 5.7 5.1 5.8
B 4.8 5.2 5.4 5.3
C 5.2 5.1 4.8 5.2
Variety 2
A 5.6 6.1 6.2 6.5
B 5.7 5.6 6.1 6.1
C 5.8 5.7 5.8 6.3
Variey 3
A 4.9 4.9 5.1 4.8
B 4.5 5.1 4.8 4.9
C 4.3 5.1 5.3 5.1
Split-Plot Design
Features:
Specially suited for two-factor experiment
Special feature: two sizes of eu’s i.e., main plot and sub-plot
Main plot (A) are divided into sub-plots (B) to which the levels of the second factor are
assigned
Precision of estimates of effects are sacrificed to improve precision of estimates
of effects of the sub-plot factor
When to use:
Levels of one factor require larger eu’s than those of the other factor
Greater precision is desired for comparisons among levels of one factor than
those desired for the other factor
Larger variation can be expected among the levels of one factor than those
expected among levels of the other factor
Additional factor is added to the experiment to increase the scope of the
experiment
Linear Model for Split-plot
Split-plot in CRD lay-out
yijk = u + αi + δij+ βk + (αβ)ik + ɛijk
where: I = 1, 2, . . . , a; j = 1, 2, . . . , r; k = 1, 2, . . . , b;
yijk = observation from sub-plot given the kth level of B in the jth
main plot given the ith level of A
u = overall mean
αi = effect of the ith level of factor A
δij = random error associated with the jth main plot given given ith level of A
βk = effect of the kth level of factor B
(αβ)ik = interaction effect between the ith level of A and the kth level of B
ɛijk = random error associated with the sub-plot given the kth level of B in
the jth whole plot given the ith level of A
Sample data (RCBD)
Effects of varying levels phosphorus on the yield of different Main plot factor (A): Variety
varieties of soybean Sub-plot factor (B): Phosphorus
Block Variety
Phosphorus Experimental units: soybean plots
0 30 60 90 Blocks: soil characteristics
1 53.5 60.5 60.8 59.6 Response variable: yield
1 2 44.8 51.0 51.5 49.9
3 50.7 54.9 59.4 64.7 Model:
1 62.2 68.8 70.9 67.8
2 2 52.5 58.7 59.4 58.1
Yijkl = u + blockj + varietyi +
3 61.4 64.9 70.0 74.4
1 53.4 59.5 61.0 60.3 errorij + phosphorusk +
3 2 43.1 49.6 49.7 49.5 (variety*phosphorus)ik + errorijk
3 50.6 54.8 60.5 65.0
SAS codes for Split-plot (RCBD)
Principles of Experimental Design
Replication
• Number of times a treatment level appears in the experiment
• Repetition of the basic experiment
• Functions:
• To provide estimate of experimental error
• To increase precision of the estimates of the parameter
• To increase the scope of the experiment
• Factors affecting the number of replications:
• Degree of precision required
• Uniformity of eu’s
• Number of treatments
• Experimental design
• Time allotment for the experiment
• Cost and availability of resources