Biostatistics Lectr - Basic Concepts ANOVA (2020)
Biostatistics Lectr - Basic Concepts ANOVA (2020)
Biostatistics Lectr - Basic Concepts ANOVA (2020)
•sA2 = ∑(Y- ӯ)2 / r-1, Where r= No. of observations (variates) in that sample
= 26/4 = 6.5
= 16/4 = 4.0
ANOVA
• If the sample variances sA2 & sB2 are pooled, we get a common variance
which is an estimate of σ2 based on variability within the samples which
we will designate as Sw2
• Sw2 = 6.5 + 4.0 = 5.25 This is the pooled variance
2
• Assuming the null hypothesis that these two samples are random samples drawn from
the same population and that, therefore ӯA and ӯB both estimate the same population
mean (µ), we estimate the variance of means (σӯ2) from the means of samples A & B.
• Sӯ2 = (17-18.5)2 + (20-18.5)2 = 4.5
2-1
ANOVA
• We again estimate σ2 using the relationship Sӯ2 = s2/r & solving for s2.
• Remember, r is the number of variates on which the sample mean is
based. This estimate of σ2 is designated as Sb2.
• Sb2 = r Sӯ2 = 5(4.5) = 22.5 This is variance between means
• We now have two estimates of σ2: i.e. Sw2 based on the variability
within each sample, and Sb2 based on the variability between the
samples.
Statistical Hypothesis & Tests of
Significance
• The statistical procedure for comparing 2 or more treatment means
employs the use of an assumption called the Null Hypothesis (Ho),
which assumes that there are no significant differences between
treatments being compared.
• The alternative Hypothesis is Ha and it assumes that there are
significant differences between treatments
• An F test is a ratio between two variances and is used to determine
whether two independent estimates of variance can be assumed to be
estimates of the same variance.
•F = S2, calculated from samples means = Sb2/ Sw2
S2 calculated by pooling sample variances
F test
• From our data, the Calculated F value = 22.5/5.25 = 4.29. This
value is compared with the value at 5% & 1% level of
significance from the F-tables with the degrees of freedom (d.f)
for the numerator, n-1, (i.e. 2-1 = 1) (where n is the number of
samples) and for the denominator n(r-1) = 2(5-1)= 2(4) = 8,
(where r is the number of variates in each sample)
NULL HYPOTHESIS
Accepted Rejected
NULL HYPOTHESIS True Correct Type I Error
Decision
False Type II Correct
Error Decision