Introduction To Analysis of VarianceC
Introduction To Analysis of VarianceC
Lecture Note
on
Basic Concepts of Analysis
of Variance (ANOVA)
What is ANOVA?
When is it useful?
Some Examples
Some Remarks
2
Analysis of Variance
6
Analysis of Variance
Hypothesis Testing
H0: Variability with in groups = variability between groups,
this means that μ1 = μn
7
Analysis of Variance:- Example
8
Analysis of Variance
Normal distribution
Usefulness
Similar to t-test
10
For instance, ANOVA Could be Used to:
demineralization of wastes
11
Why Not Just Use t-tests?
12
Sum of Squares(SS) Values are calculated
k ni
Total SS = Σ Σ (xij – )2 = SStot
i=1 j=1
k ni And
Between SS = Σ Σ ( i – ) )2 = SS
bet
i=1 j=1
13
Notation
k = # of groups
SS = Sum of Squares
MS = Mean of Squares
F = MS/Within MS
14
Test static & Significance Levels
F-Ratio
If:
15
Summary Table
16
What ANOVA Cannot Do
17
Summary
ANOVA:
18
Example -1
Table: Grain Yield of Rice Resulting from Use of Different Follar and
Granular Insecticides for the Control of Brown Planthoppers and Stem
Borers, from a CR0 Experiment with 4 (r) Replications and 7 (t) Treatments
19
The steps involved in the analysis of variance for data from a CRD
experiment with an equal number of replications are
given below.
STEP 1. Group the data by treatments and calculate the treatment
totals and grand total (G). For our example, the results are shown in
Table
Where:
r = replication
t = treatment
The error d.f. can also be obtained through subtraction as:
STEP 4. Using X to represent the measurement of the ith run, T as the total of
the ith treatment, an! n as the total number of experimental plots [i.e., n = (r)(1)],
calculate the correction factor and the various sums of squares (SS) as:
Note here that the F value should be computed only when the error d.f. is
large enough for a reliable estimate of the error variance. As a general
guideline, the F value should be computed only when the error d.f. is six or
more.
22
STEP 7. Obtain the tabular F values from Appendix, with f =
treatment d.f. = (t -1) and f2 = error d.f. = (r -1). For our
example, the tabular F values with f, = 6 and f2 = 21
degrees of freedom are 2.57 for the 5% level of
significance and 3.81 for the 1%level.
23
STEP 9. Compare the computed Fvalue of step 6 with the
tabular F values of step 7, and decide on the significance of the
difference among treatments using the following rules:
If both values are large, the trial may be repeated and efforts made to reduce
the experimental error so that the difference among treatments, if any, can be
detected.
On the other hand, if both values are small, the difference among treatments
is probably too small to be of any economic value and, thus, no additional trials
are needed.
For our example, the computed F value of 9.83 is larger than the tabular F value
at the 1% level of significance of 3.81. Hence, the treatment difference is said to be
highly significant. In other words, chances are less than 1 in 100 that all the
observed differences among the seven treatment means could be due to chance. It
should be noted that such a significant F test verifies the existence of some
differences among the treatments tested but does not specify the particular pair (or
TEP 10. Compute the grand mean and the
coefficient of variation cv as follows:
27
28
Figure: The reference distribution (F4.20) for the test statistic Fo
29
Conclusion
30
Mean Plot
31
Analysis of Variance and Post Hoc Tests
The null hypothesis for ANOVA states that for the general
population there are no mean differences among the
treatments being compared; H0: μ1 = μ2 = μ3 = . . .
32
Analysis of Variance and Post HocTests (cont.)
The Scheffe test and Tukey=s HSD are examples of post tests.
These tests are done after an ANOVA where H0 is rejected with more
than two treatment conditions. The tests compare the treatments, two at
a time, to test the significance of the mean differences.
33
Post Hoc Tests
34
Assignment-II
Problem: 3.8
Problem: 3.11
Problem: 3.13
Problem: 3.16
For all problems analysis and interpretation of the
result is a central point