# ASSIGNMENT

ONE WAY ANOVA 1. Yij=µ+ i+ ij, Where Yij denotes the tensile strength of jth sample of the ith significantly produced machine. Null hypothesis: There is no difference in the tensile strength of the product. H0: i0 , for every i. Alternative hypothesis: There is difference in the tensile strength of the product. H1: i0 , for atleast one i. Level of significance: =0.05 Decision rule: Reject H0 if FF5,18 Test statistics: F=MTRSS/MESS Ù F5,18 Calculation:

t1 17.5 16.9 15.8 18.6

t2 16.4 19.2 17.7 15.4

t3 20.3 15.7 17.8 18.9

t4 14.6 16.7 20.8 18.9

t5 17.5 19.2 16.5 20.5

t6 18.3 16.2 17.5 20.1

Anova: Single Factor SUMMARY Groups t1 t2 t3

Count 4 4 4

Sum 68.8 68.7 72.7

Average Variance 17.2 1.366667 17.175 2.709167 18.175 3.769167

Yij=µ+ i+ ij.772853 18 3.4 19.17 Decision rule: Reject H0 of FcalFtab Calculations: Level of significance: t1 12.5 13.902421 2.1 17.067667 0.4 15.7 72.216667 18.97833 df MS F P-value F crit 5 1. Conclusion: Since we accept H0 .9 .306801 0.8 t2 8.05 Test statistics: F=MTRSS/MESS Ù F4. 2.9 11.6625 ANOVA Source of Variation Between Groups Within Groups Total SS 5.425 3. Null hypothesis: There is no difference in the tensile strength of different alloys. Alternative hypothesis: There is difference in the tensile strength of various alloys.155833 18.8 14. for every i. H0: i0 . Where Yij denotes the tensile strength of jth sample of the ith alloy. =0.64 67.2 t5 16. for atleast one i. H1: i0 . there is no difference in the tensile strength.025 2.48 23 Statistical decision: Since Fcal<Ftab .t4 t5 t6 4 4 4 71 73. we accept H0.75 7.8 t4 12.338333 62.6 t3 10.

25 1.964708 17 3.620588 21 Statistical decision: Since Fcal>Ftab . TWO WAY ANOVA 1.5 10 10.6 15.7 40.18 1...1 11.4) (2.k .. H0m: µi=µ .908 10.2) (1.2.6 3.9 57 70..55 210.8 60.2 14.14 8.15..427 14.1627 61.3 Anova: Single Factor SUMMARY Groups t1 t2 t3 t4 t5 Count 5 4 5 4 4 Sum 80..5).233333 12..1 17.5) (3.3.7127 Df MS F P-value F crit 4 37.29068 10.886667 ANOVA Source of Variation Between Groups Within Groups Total SS 149.3) (2.9 12. H0 is rejected.8 18.. Null hypothesis: There is no significant difference in the tensile strength due to machines.4 Average Variance 16.3 12.2 1.29962 0.616667 17. Conclusion: Hence the following pairs of treatment difference significantly (1.8 20.9 14.000201 2.5) (4. for every i=1.

for at least one j.2. Level of significance: Test statistics: Fm=MSSM/MSSE Ù F(k-1).h.Alternative hypothesis: There is significant difference in the tensile strength due to machines.. H1t: j0 .66667 22.. for at least one i.(h-1)(k-1) Ft=MSST/MSSE Ù F (h-1). Alternative hypothesis: There is difference in the tensile strength due to temperature. H0t: µj=µ .25 39.. for every j=1.3.05 b1 b2 b3 b4 t1 12 15 15 18 t2 26 29 27 38 t3 24 23 25 33 t4 23 25 24 31 Anova: Two-Factor Without Replication SUMMARY b1 b2 b3 b4 t1 t2 Count 4 4 4 4 4 4 Sum 85 92 91 120 60 120 Average Variance 21.75 28..(h-1)(k-1) Decision rule: Reject H0 if fcalftab...25 30 72. H1m: i0 . Calculations: =0. Null hypothesis: There is no difference in the tensile strength due to temperature.66667 15 30 6 30 .58333 23 34.

.3. for every j=1.. H0t: µj=µ ..... Level of significance: Test statistics: Fm=MSSM/MSSE Ù F(k-1). for at least one i.. Alternative hypothesis: There is difference in the tensile strength due to temperature. Conclusion: Since we reject the null hypothesis .75 12.2.5 26 709 Df MS F P-value F crit 3 61..862548 9 2. there is difference in the tensile strength.3.862548 3 166.k Alternative hypothesis: There is significant difference in the presence of lead due to method. we reject H0.05 . Since Ft>Ftab .t3 t4 4 4 105 103 26. H1t: i0 . 2.2..888889 15 Statistical decision: Since Fm>Ftab .. =0.for every i=1.. for at least one j ..h.(h-1)(k-1) Decision rule: Reject H0 if fcalftab.25 20.000205 3. Null hypothesis: There is no significant difference in the presence of lead due to method. H1m: j0 .91667 ANOVA Source of Variation Rows Columns Error Total SS 183.38E-06 3.17308 0.91667 25. Null hypothesis: There is no difference in the presence of lead due to change in laboratory.5 499.63462 3. H0m: µi=µ . we reject H0.16667 21.(h-1)(k-1) Ft=MSST/MSSE Ù F (h-1).5 57.

25 0.757063 2 19.75 18.25 39. Since Ft<Ftab . Conclusion: There is significant difference in the presence of lead due to method and not due to change in laboratory.23077 0.333333 18 6 9 17 5.333333 17 5.076923 0.25 df MS F P-value F crit 3 0.666667 8. we reject H0m.5 46. we accept H0t.916667 ANOVA Source of Variation Rows Columns Error Total SS 0.666667 5 0.002821 5.5 6.666667 1.143253 6 1. .083333 11 Statistical decision: Since Fm>Ftab .Calculations: b1 b2 b3 b4 t1 4 5 3 4 t2 5 5 6 4 t3 8 7 9 9 Anova: Two-Factor Without Replication SUMMARY b1 b2 b3 b4 t1 t2 t3 Count 3 3 3 3 4 4 4 Sum Average Variance 17 5.970184 4.666667 4.083333 0.666667 8.333333 16 20 33 4 0.

pq(m-1) Ft=MTESS/MESS Ù F (q-1). Alternative hypothesis: There is difference in the life in hours of the battery due to interaction between material and different temperature . H0i:µij0. for at least one j. Null hypothesis: There is no difference in the life in hours of the battery due to interaction between material and different temperature . Level of significance: Test statistics: Fm=MMSS/MESS Ù F(p-1). for every i Alternative hypothesis: There is significant difference in the life in hours of battery due to different material. H0m: i=0. for at least one i . Null hypothesis: There is no significant difference in the life in hours of battery due to different material. H1m: i0.05 Decision rule: Reject H0 if fcalftab. H0i:µij=0. . for every j.pq(m-1) =0. Alternative hypothesis: There is difference in the life in hours of the battery due to different temperature . H1te: j0. for at least one pair of i and j. for every ij.TWO WAY ANOVA WITH MULTIPLE BUT EQUAL NUMBER OF OBSERVATIONS 1.pq(m-1) Fi=MTSS/MESS Ù F (p-1)(q-1). Null hypothesis: There is no difference in the life in hours of the battery due to different temperature . H0te: j=0.

0833 508.5 83.Calculations: b1 b2 b3 t1 130 74 155 180 150 159 188 126 138 168 110 160 t2 34 80 40 75 122 115 25 58 174 150 120 139 t3 20 82 70 58 25 58 70 45 96 82 104 60 Anova: Two-Factor With Replication SUMMARY b1 t1 t2 t3 Total 4 12 230 998 57.515 2417.0606 .879 Count Sum Average Variance b2 4 4 539 229 134.25 4 320 80 2166 4 12 198 1141 49.75 57.75 656.16667 721 2360.08333 371 3047.333 659.5 125.6667 1279.25 371.25 2056.538 Count Sum Average Variance Total 4 576 144 674.16667 1004.6667 4 4 12 583 342 1501 145.917 556.9167 Count Sum Average Variance b3 4 623 155.75 85.174 Count Sum Average Variance 12 12 12 1738 1132 770 144.8333 94.33333 64.5 95.

19725 1.37 we reject H0te and 2.486 2.68<2.19>3.56 9445.78 22.0741 Statistical decision: Since 6. we reject H0m .56 df 2 2 4 27 35 MS F P-value F crit 5598.23337 0.354131 19934.354131 2361.056367 2.06 39869.005947 3.73 we accept H0i.21>3.99E-06 3.028 6.37. Conclusion: There is difference in the life in hours of battery due to different material and temperature. .727765 898.944 24248 84759. But there is no difference in the life in hours of the battery due to interaction of both material and temperature. 22.6295 0.ANOVA Source of Variation Sample Columns Interaction Within Total SS 11196.