You are on page 1of 24

C D anova analysis of variance , conlusion by mean

37 43 H0 µC = µD
36 40 H1 µC # µD
26 35
24 38
36 32
39 29 Anova: Single Factor
41 45
45 40 SUMMARY
33 44 Groups Count Sum
33 44 Column 1 24 855
21 45 Column 2 24 922
23 49
49 31
57 31 ANOVA
61 28 Source of Variation SS df
61 30 Between Groups 93.52083 1
34 42 Within Groups 3863.458 46
27 35
26 43 Total 3956.979 47
26 36
30 38
31 41
31 40
28 43
2 way anova
C D
1 37 43
36 40
26 35
24 38 Anova: Two-Factor With Replication
2 36 32
39 29 SUMMARY C D Total
41 45 1
45 40 Count 4 4 8
3 33 44 Sum 123 156 279
33 44 Average 30.75 39 34.875
21 45 Variance 44.9166666667 11.33333 43.55357
23 49
4 49 31 2
57 31 Count 4 4 8
61 28 Sum 161 146 307
61 30 Average 40.25 36.5 38.375
5 34 42 Variance 14.25 53.66667 33.125
27 35
26 43 3
26 36 Count 4 4 8
6 30 38 Sum 110 182 292
31 41 Average 27.5 45.5 36.5
31 40 Variance 41 5.666667 112.5714
28 43
4
Count 4 4 8
Sum 228 120 348
Average 57 30 43.5
Variance 32 2 222.8571

5
Count 4 4 8
Sum 113 156 269
Average 28.25 39 33.625
Variance 14.9166666667 16.66667 46.55357

6
Count 4 4 8
Sum 120 162 282
Average 30 40.5 35.25
Variance 2 4.333333 34.21429

Total
Count 24 24
Sum 855 922
Average 35.625 38.41667
Variance 133.2010869565 34.77536

ANOVA
Source of Variation SS df MS
Sample 506.8541666667 5 101.3708
Columns 93.5208333333 1 93.52083
Interaction 2628.3541666667 5 525.6708
Within 728.25 36 20.22917

Total 3956.9791666667 47
F test => F score < F cri : not reject

Average Variance
35.625 133.2011
38.41667 34.77536

MS F P-value F crit
93.52083 1.113499 0.296833 4.051749
83.98822
F P-value F crit
5.011123 0.001384 2.477169 reject
4.623069 0.038336 4.113165 reject
25.98579 5.1E-11 2.477169 reject
pretreat stain resistance
2 2 53.5 42
2 4 32.5
2 1 46.6 pretreat 2
2 3 35.4 42
2 4 44.6 47.75 47.75
2 1 52.2 32.2
2 3 45.9
2 2 48.3
1 3 40.8 45.275
1 1 43 Anova: Single Factor
1 2 51.8
1 4 45.5 SUMMARY
1 2 60.9 56.175 Groups
1 4 55.3 pretreat 2
1 3 51.1 pretreat 1
1 1 57.4
2 1 32.1 32.2
2 4 30.1 ANOVA
2 2 34.4 Source of Variation
2 3 32.2 TR Between Groups
1 1 52.8 54.75 E Within Groups
1 3 51.7
1 4 55.3 Total
1 2 59.2

paint 1 paint 2 3 4
pre 2 46.6 53.5 35.4 32.5
52.2 48.3 45.9 44.6
32.1 34.4 32.2 30.1
pre 1 43 51.8 40.8 45.5
57.4 60.9 51.1 55.3
52.8 59.2 51.7 55.3
df= 4 = 2(high and low)*(3-1) SS= within in 1way anova *4
"3" : # replication
pretreat 1
45.275
56.175
54.75

Count Sum Average Variance


3 121.95 40.65 61.8175
3 156.2 52.06667 35.10271

SS df MS F P-value F crit
195.5104166667 1 195.5104 4.034461 0.114983 7.7086474222
193.8404166667 4 48.4601

389.3508333333 5

Anova: Two-Factor With Replication

SUMMARY paint 1 paint 2 3 4 Total


pre 2
Count 3 3 3 3 12
Sum 130.9 136.2 113.5 107.2 487.8
Average 43.63333 45.4 37.83333 35.73333 40.65
Variance 107.6033 97.51 51.36333 60.40333 74.951818182

pre 1
Count 3 3 3 3 12
Sum 153.2 171.9 143.6 156.1 624.8
Average 51.06667 57.3 47.86667 52.03333 52.066666667
Variance 54.09333 23.41 37.54333 32.01333 39.291515152

Total
Count 6 6 6 6
Sum 284.1 308.1 257.1 263.3
Average 47.35 51.35 42.85 43.88333
Variance 81.255 90.851 65.763 116.6737

ANOVA
Source of Variation SS df MS F P-value F crit
Sample 782.0417 1 782.0417 13.48522 0.0020597258 4.493998
WP factor 775.3617 4 193.8404
Columns 266.005 3 88.66833 1.528962 0.2453832138 3.238872
Interaction 62.79167 3 20.93056 0.360918 0.782042516 3.238872
Within 152.5183 12 12.70986

Total 2038.718 23
change
so sánh 2way vs 1 way 3.490295 3.238872
Source of Variation SS df MS F scor P F cri
Sample 782.0417 1 782.0417 4.034461 0.1149828327 7.708647
WP factor 775.3617 4 193.8404 15.25118 0.0001186117 3.259167
Columns 266.005 3 88.66833 6.976342 0.0056927912
Interaction 62.79167 3 20.93056 1.646797 0.2309104682
Within 152.5183 12 12.70986

Total 2038.718 23
P1 P2 P3 P4 Anova: Two-Factor With Replication
B1 27 26 26 30
25 28 24 29 SUMMARY p1
B2 30 32 33 34 B1
31 37 32 37 Count 2
B3 34 30 33 36 Sum 52
31 31 32 38 Average 26
Sum 178 184 180 204 Variance 2

B2
Count 2
Sum 61
Average 30.5
Variance 0.5

B3
Count 2
Sum 65
Average 32.5
Variance 4.5

Total
Count 6
Sum 178
Average 29.66667
Variance 10.26667

ANOVA
Source of Variation SS
Sample (row) 212.5833
Columns 71.16667
Interaction (whole plot area) 26.08333
Within 32

Total 341.8333

df imteraction
p2 p3 p4 Total

2 2 2 8
54 50 59 215
27 25 29.5 26.875
2 2 0.5 4.125

2 2 2 8
69 65 71 266
34.5 32.5 35.5 33.25
12.5 0.5 4.5 6.785714

2 2 2 8
61 65 74 265
30.5 32.5 37 33.125
0.5 0.5 2 7.553571

6 6 6
184 180 204
30.66667 30 34
14.26667 15.6 14

df MS F P-value F crit
2 106.2917 39.85938 5.02E-06 3.885294
3 23.72222 8.895833 0.002237 3.490295
6 4.347222 1.630208 0.22173 2.99612
12 2.666667

23

6
plot block pasture mineral milk
1 1 4 2 30 29.5
1 1 4 1 29
2 1 1 2 27 26
2 1 1 1 25
3 1 2 1 26 27
3 1 2 2 28
4 1 3 2 26 25
4 1 3 1 24
5 2 2 1 32 34.5
5 2 2 2 37
6 2 1 2 30 30.5
6 2 1 1 31
7 2 4 1 34 35.5
7 2 4 2 37
8 2 3 1 33 32.5
8 2 3 2 32
9 3 1 2 34 32.5
9 3 1 1 31
10 3 2 1 30 30.5
10 3 2 2 31
11 3 4 2 36 37
11 3 4 1 38
12 3 3 1 33 32.5
12 3 3 2 32

Source of Va

m1 m2
p1 25 27
31 30 Anova: Two-Factor With Replication
31 34
P2 26 28 SUMMARY m1 m2 Total
32 37 p1
30 31 Count 3 3 6
P3 24 26 Sum 87 91 178
33 32 Average 29 30.33333 29.66667
33 32 Variance 12 12.33333 10.26667
P4 29 30
34 37 P2
38 36 Count 3 3 6
Sum 88 96 184
Average 29.33333 32 30.66667
Variance 9.333333 21 14.26667

P3
Count 3 3 6
Sum 90 90 180
Average 30 30 30
Variance 27 12 15.6

P4
Count 3 3 6
Sum 101 103 204
Average 33.66667 34.33333 34
Variance 20.33333 14.33333 14

Total
Count 12 12
Sum 366 380
Average 30.5 31.66667
Variance 16.27273 14.06061

ANOVA
Source of Variation SS df MS
Add dòng này block 212.583 2 106.2915
Sample (pasture) 71.16667 3 23.72222
Add dòng này Whole plot error 26.08 6 4.346667
Columns 8.166667 1 8.166667
Interaction 5.833333 3 1.944444
Bỏ dòng này Within 256.6667 16 16.04167
Within (new) 18.00367 8 2.250458

Total 341.8333 23

Whole plot analysis part I ignore slip plot, explore main/whole plot to pull out SSTR and SSE
Whole plot analysis part II same things but take into account all of data points
2 way split plot & whole plot: complete fina table

Recalculate MSTRs
mse
df
Calculate the Fscore; Fcri; make conclusion
B1 B2 B3
29.5
26
27
25
P1 P2 P3 P4
B1 26 27 25 29.5
B2 30.5 34.5 32.5 35.5
B3 32.5 30.5 32.5 37

Anova: Two-Factor Without Replication

SUMMARY Count Sum Average Variance


B1 4 107.5 26.875 3.729167
B2 4 133 33.25 4.916667
B3 4 132.5 33.125 7.5625

P1 3 89 29.66667 11.08333
P2 3 92 30.66667 14.08333
P3 3 90 30 18.75
P4 3 102 34 15.75

ANOVA
Source of Variation SS df MS F P-value F crit
Rows (block) 106.2917 2 53.14583 24.45048 0.001305 5.143253
Columns (pasture) 35.58333 3 11.86111 5.456869 0.037703 4.757063
Error (within) 13.04167 6 2.173611

Total 154.9167 11

whole plot analysis P1 26.08333 =SSE*2


whole plot analysis P2
F F (new) P-value F crit Fcri (new)
24.4535659509 5.143253 Reject Note: so sánh F (new) và Fcri
1.4787878788 5.4575664622 0.257985 3.238872 4.757063 Reject

0.5090909091 3.6288904112 0.485811 4.493998 5.317655 Non-Reject


0.1212121212 0.8640215265 0.946267 3.238872 4.066181 Non-Reject

to pull out SSTR and SSE WP factor


(Not required)
plot block pasture mineral milk
1 1 4 2 30 29.5
1 1 4 1 29
2 1 1 2 27 26
2 1 1 1 25
3 1 2 1 26 27
3 1 2 2 28 P1 P2
4 1 3 2 26 25 B1 27 26
4 1 3 1 24 25 28
5 2 2 1 32 34.5 B2 30 32
5 2 2 2 37 31 37
6 2 1 2 39 35 B3 34 30
6 2 1 1 31 31 31
7 2 4 1 34 35.5
7 2 4 2 37
8 2 3 1 33 32.5
8 2 3 2 32
9 3 1 2 34 32.5
9 3 1 1 31
10 3 2 1 30 30.5
10 3 2 2 31
11 3 4 2 36 37
11 3 4 1 38
12 3 3 1 33 32.5
12 3 3 2 32

M1 M2 Anova: Two-Factor With Replication


P1 25 27
31 30 SUMMARYM1 M2 Total
31 34 P1
P2 26 28 Count 3 3 6
32 37 Sum 87 91 178
30 31 Average 29 30.33333 29.66667
P3 24 26 Variance 12 12.33333 10.26667
33 32
33 32 P2
P4 29 30 Count 3 3 6
34 37 Sum 88 96 184
38 36 Average 29.33333 32 30.66667
Variance 9.333333 21 14.26667

P3
Count 3 3 6
Sum 90 90 180
Average 30 30 30
Variance 27 12 15.6

P4
Count 3 3 6
Sum 101 103 204
Average 33.66667 34.33333 34
Variance 20.33333 14.33333 14

Total
Count 12 12
Sum 366 380
Average 30.5 31.66667
Variance 16.27273 14.06061

ANOVA
Source of VariationSS df MS F
block 212.583 2 106.2915 24.45357
pasture Sample 71.16667 3 23.72222 5.457566
WP error 26.08 6 4.346667
mineral Columns 8.166667 1 8.166667 3.62889
Interaction 5.833333 3 1.944444
Within 18.00367 8 2.250458

Total 341.8333 23

procedure
remember to reorganize your data tables
whole plot analysis part 1: ignore split plot, explore main/whole plot
( not require) 2: take into account all of data point = > WP error
ANOVA 2 way split plot and whole plot : complete final table
recalculate : MSTRs
MSE
df
→ calculate the F score, F critical, make conclusions
P3 P4 Anova: Two-Factor With Replication
26 30
24 29 SUMMARYP1 P2 P3 P4 Total
33 34 B1
32 37 Count 2 2 2 2 8
33 36 Sum 52 54 50 59 215
32 38 Average 26 27 25 29.5 26.875
Variance 2 2 2 0.5 4.125

B2
Count 2 2 2 2 8
Sum 61 69 65 71 266
Average 30.5 34.5 32.5 35.5 33.25
Variance 0.5 12.5 0.5 4.5 6.785714

B3
Count 2 2 2 2 8
Sum 65 61 65 74 265
Average 32.5 30.5 32.5 37 33.125
Variance 4.5 0.5 0.5 2 7.553571

Total
Count 6 6 6 6
Sum 178 184 180 204
Average 29.66667 30.66667 30 34
Variance 10.26667 14.26667 15.6 14

ANOVA
Source of VariationSS df MS F P-value
block Sample 212.5833 2 106.29166667 39.85938 5.02E-06
Columns 71.16667 3 23.722222222 8.895833 0.002237
whole plot error Interaction 26.08333 6 4.3472222222 1.630208 0.22173
Within 32 12 2.6666666667

Total 341.8333 23
ANOVA
Source of Variation SS df MS F P-value F crit
Sample 71.16667 3 23.72222 1.4787878788 0.257985 3.238872
Columns 8.166667 1 8.166667 0.5090909091 0.485811 4.493998
Interaction 5.833333 3 1.944444 0.1212121212 0.946267 3.238872
Within 256.6667 16 16.04167

Total 341.8333 23
Pvalue F critica
0.001305 5.143253
4.757063

5.317655
4.066181

mid term
9 cau multiple
1 bai tap (50d)
F crit
3.885294
3.490295
2.99612
plot block pasture mineral milk
1 1 4 2 30
1 1 4 1 29 P1 P2 P3
2 1 1 2 27 B1 27 26 26
2 1 1 1 25 25 28 24
3 1 2 1 26 B2 39 32 33
3 1 2 2 28 31 37 32
4 1 3 2 26 B3 34 30 33
4 1 3 1 24 31 31 32
5 2 2 1 32 B4
5 2 2 2 37
6 2 1 2 39
6 2 1 1 31
7 2 4 1 34
7 2 4 2 37
8 2 3 1 33
8 2 3 2 32
9 3 1 2 34
9 3 1 1 31
10 3 2 1 30
10 3 2 2 31
11 3 4 2 36
11 3 4 1 38
12 3 3 1 33
12 3 3 2 32
P4
30
29
34
37
36
38

You might also like