Professional Documents
Culture Documents
Introduction
Presentation Title Goes Here to R:
Data Manipulation
…presentation and Statistical analysis
subtitle.
Save data in comma
delimited format
Analysis of Variance
Violeta I. Bartolome
Senior Associate Scientist
Crop Research Informatics Laboratory
International Rice Research Institute
Import file to R
forward back
levels() aov()
summary () residuals()
df.residual() deviance()
Source of Variation df
Block r-1
Factor A (A) a-1
Error (a) (r-1)(a-1)
Factor B (B) b-1
AxB (a-1)(b-1)
Error (b) a(r-1)(b-1)
Total rab-1
dfab =
[Ea + (b − 1) Eb ]2
2
Ea [(b − 1) Eb ]
2
+
dfa dfb
Source of Variation df
Block r-1
Horizontal Factor (H) h-1
Error(a)
Error (a) (r-1)(h-1)
Vertical Factor (V) v-1
Error (b) (r-1)(v-1)
Error(b)
HxV (h-1)(v-1)
Error (c) (r-1)(h-1)(v-1)
Total rhv-1
Error(c)
Satterthwaite degrees of
SEDs for Strip-plot
freedom
Type of pair comparison
sed t-value
df ac =
[Ea + (b − 1) Ec ]2
2
Ea [(b − 1) Ec ]
Number Between 2
+
1 Two horizontal means
df a df c
2E a
(averaged over all vertical tinv ( α, df a )
treatments) rb
2 Two vertical means
2E b tinv ( α, df b )
[Eb + (a − 1) Ec]
dfbc = 2
2