Biostatistics 2023
Biostatistics 2023
First Part
Biotechnology
Level 3
A numerical property of a
population, such as its mean.
Statistic
4, 5, 6, 7, 5
Median.
3, 4, 5, 3, 6, 4, 3, 5, 3
2- Measures of Variability
Range.
The range of a set of numbers is the largest
value in the set minus the smallest value in
the set. Note that as a statistical term, the
range is a single number, not a range of
numbers.
What is the range of these numbers?
8, 10, 15, 7, 9, 10, 15, 3, 15, 21
𝑋 2
𝑋2 −
𝑛
𝑆=
𝑛−1
Standard Deviation:
Calculate standard deviation for the following
sample:
4, 5, 6, 7, 6
Variance, population variance (S2)
24
The Completely Randomized Single-Factor Experiment
25
Completely Randomized Design
Worked Example:
Worked Example:
A A C C
B D B D
A C B A
B D D C
Partitioning of the total sum of squares for
the completely randomized design
ANOVA Table
Completely Randomized Design
Worked Example:
Worked Example:
A 5 A 3 C 7 C 8
B 7 D 4 B 6 D 5
A 4 C 8 B 8 A 5
B 7 D 4 D 5 C 9
Completely Randomized Design
Worked Example:
A B C D
5 7 7 4
3 6 8 5
4 8 8 4
5 7 9 5
17 28 32 18
95
Completely Randomized Design
Worked Example:
(95)2
Correction Factor = ----------- = 564.06
16
T.S.S. =(52 + 32 + 42 + 52 +….+ 52) - 564.06 = 613- 564.06
= 48.94
t.S.S = (172 + 282 + 322 + 182)/ 4 – 564.06 = 41.19
Worked Example:
Source of variance and degree of freedom (ANOVA Table):
S.O.V d.f S.S M.S F (Cal.)
36
Completely Randomized Design
Worked Example:
Source of variance and degree of freedom (ANOVA Table):
S.O.V d.f S.S M.S F (Cal.)
40
Randomized Complete Block Designs
We assume
• treatments and blocks are initially fixed effects
• blocks do not interact
41
Randomized Complete Block Design
Worked Example:
B A A C
moisture gradient
A B B D
C C D A
D D B
C
A C D B
Moisture gradient
B C A D
C B D A
D A B C
Block effect now removes moisture effect, fair comparisons among treatments.
Randomized Complete Block Designs
ANOVA Table
45
Randomized Complete Block Design
Worked Example:
Treatments 3
(Varieties)
Error 9
Total 15
Randomized Complete Block Design
Worked Example:
R1 A C D B
5 7 4 7
R2 B 6 C A 3 D
8 5
R3 C 8 B 8 D 4 A 4
R4 D 5 A 5 B 7 C 9
Randomized Complete Block Design
Worked Example:
Analysis of variance of the experiment
A B C D
R1
5 7 7 4 23
R2
3 6 8 5 22
R3
4 8 8 4 24
R4 5 7 9 5 26
17 28 32 18
Sum
95
Randomized Complete Block Design
Worked Example:
(95)2
Correction Factor = ----------- = 564.06
16
T.S.S. =(52 + 32 + 42 + 52 +….+ 52) - 564.06 = 613- 564.06
= 48.94
r.S.S = (232 + 222 + 242 + 262)/ 4 – 564.06 = 2.19
t.S.S = (172 + 282 + 322 + 182)/ 4 – 564.06 = 41.19
Experimental Error = 48.94 – 2.19 - 41.19 = 5.56
Randomized Complete Block Design
Worked Example:
Source of variance and degree of freedom (ANOVA Table):
S.O.V d.f S.S M.S F (Cal.)
Worked Example:
A B C D
R1
5 7 7 4 23
R2
3 6 8 5 22
R3
4 8 8 4 24
R4 5 7 9 5 26
17 28 32 18
Sum
95
Mean 4.25 7.00 8.00 4.50
Randomized Complete Block Design
Worked Example:
C B D A
8.00 7.00 4.50 4.25
It is clear that the best two varieties are C and B, because
the have the highest yield without significant difference
between each other.
Randomized Complete Block Design
Question:
Suppose we would like to evaluate the four wheat varieties, i.e.,
(A) Sids1, (B) Sids2, (C) Sids3 and (D) Sids4 in heterogenous soil
using four replications and the varieties means were: 4.25, 7.00,
8.00 and 4.50 kg/ plot for A, B, C and D varieties, respectively.
1- What is the layout of this experiment?
2- Complete the ANOVA table and test null hypothesis.
3- What is the best variety?
S.O.V d.f S.S M.S F (Cal.) F (Tab.)
Replication 3 0.73
Treatments 3 2.05
(Varieties)
Error 9
Total 15 48.94
Randomized Complete Block Design
Question:
Suppose we would like to evaluate the four wheat varieties, i.e., (A) Sids1, (B)
Sids2, (C) Sids3 and (D) Sids4 in heterogenous soil and the varieties means
were: 4.25, 7.00, 8.00 and 4.50 kg/ plot for A, B, C and D varieties, respectively.
1- What is the layout of this experiment?
2- Complete the ANOVA table and test null hypothesis.
3- What is the best variety?
S.O.V d.f S.S M.S F (Cal.) F (Tab.)
Replication 0.73
Treatments 2.05
(Varieties)
Error
9
Total 48.94
Randomized Complete Block Design
Question:
Suppose we would like to evaluate the four wheat varieties, i.e., (A) Sids1, (B)
Sids2, (C) Sids3 and (D) Sids4 in heterogenous soil using four replications and
the varieties means were: 4.25, 7.00, 8.00 and 4.50 kg/ plot for A, B, C and D
varieties, respectively.
1- What is the layout of this experiment?
2- Complete the ANOVA table and test null hypothesis.
3- What is the best variety?
S.O.V d.f S.S M.S F (Cal.) F (Tab.)
Treatments 3 2.05
(Varieties)
Error 9
Total 15 48.94
Randomized Complete Block Design
Question:
The varieties means were: 4.25, 7.00, 8.00 and 4.50 kg/
plot for A, B, C and D, respectively.
Treatments 3 2.05
(Varieties)
Error 9
Total 15 48.94
Randomized Complete Block Design
Worked Example:
(95)2
Correction Factor = ----------- = 564.06
16
Replication 0.73
3 2.19
Treatments 2.05
(Varieties)
3 41.19
Error
9 5.56
Total 48.94
15
Randomized Complete Block Design
Question:
Suppose we would like to evaluate the four wheat varieties, i.e., (A) Sids1, (B)
Sids2, (C) Sids3 and (D) Sids4 in heterogenous soil using four replications and
the varieties means were: 4.25, 7.00, 8.00 and 4.50 kg/ plot for A, B, C and D
varieties, respectively.
1- What is the layout of this experiment?
2- Complete the ANOVA table and test null hypothesis.
3- What is the best variety?
S.O.V d.f S.S M.S F (Cal.) F (Tab.)
Replication 0.73
3 2.19
Treatments 2.05
(Varieties)
3 41.19 13.73 22.14
Error
9 5.56 0.62
Total 48.94
15
Advantages and Disadvantages
Advantages of a Blocked Design
• Controls a single extraneous source of variation and removes its
effect from the estimate of experimental error.
• Allows more flexibility in experimental layout.
• Allows more flexibility in experimental implementation and
administration.
Worked Example:
Row1 A D C B
Row2 B C A D
Row3
C B D A
Row4
D A B C
Latin Square Design
Worked Example:
Randomization :
Row1 A 5 D 4 C 7 B 7
Row2 B 6 C 8 A 3 D 5
Row3
C 8 B 8 D 4 A 4
Row4
D 5 A 5 B 7 C 9
Row1 5 4 7 7 23
Row2 6 8 3 5 22
Row3 8 8 4 4 24
Row4 5 5 7 9 26
24 25 21 25
Sum 95
Raw Data
Latin Square Design
Worked Example:
Analysis of variance of the experiment
A B C D
5 7 7 4
3 6 8 5
4 8 8 4
5 7 9 5
17 28 32 18
Sum 95
Raw Data
Latin Square Design
Worked Example:
Analysis of variance of the experiment
(95)2
Correction Factor = ----------- = 564.06
16
T.S.S. =(52 + 32 + 42 + 52 +….+ 52) - 564.06 = 613- 564.06
= 48.94
c.S.S = (242 + 242 + 212 + 252)/ 4 – 564.06 = 2.69
r.S.S = (232 + 222 + 242 + 262)/ 4 – 564.06 = 2.19
t.S.S = (172 + 282 + 322 + 182)/ 4 – 564.06 = 41.19
Error = 48.94 – 2.69 – 2.19 - 41.19 = 2.87
Latin Square Design
Worked Example:
Colums 0.90
Rows 2.19
Treatments 28.60
(Varieties)
Error
Total 48.94
Factorial Experiments
Factorial Experiments
Worked example:
Suppose a researcher wants to evaluate two maize
hybrids (S.C. 10, and S.C. 30k 8) under three nitrogen
levels (40, 80, 120 kg N/ fed), in RCBD with four
replications. Show how to arrange these treatments in
the experimental plots and what is the source of
variation and degrees of freedom of this experiment?
Factorial Experiments
Worked example:
The number of treatments of this experiment is the
combination of two hybrids and three nitrogen levels
as follows:
H1 H2
N1 N2 N3 N1 N2 N3
A B C D E F
Factorial Experiments
Worked example:
Randomization:
As long as the soil is heterogenous then it should be
divided into four replications and the six treatments
must arrange at random inside each replication as
follows:
Randomization
A C D B E F
Moisture gradient
B C F E A D
C B E F D A
D A B C E F
Block effect now removes moisture effect, fair comparisons among treatments.
Factorial Experiments
Worked example:
Source of variation and degrees of freedom:
It must be as follows:
S.O.V d.f
Replication 3
Hybrids (A) 1
N Levels (B) 2
Interaction (AB) 2
Error 15
Total 23
Definitions