Professional Documents
Culture Documents
Assignment 1 Sumitted
Assignment 1 Sumitted
randomly selected days at three plants. Does the data prove significant difference in mean scrap
rates?
This question has been attempted after solving question 2 below: the step-wise details follow the steps
followed in question 2.
Ho: U1=U2=U3=U4
H1: Any one of these means is different
We test the above hypothesis with the alpha value of 5% or α=0.05
The One-Way ANOVA calculated for the rates of a random sample from three plants is presented in the
following table.
Based on the p-value criteria the p-value is less than the assumed alpha value so we reject the
Null Hypothesis that the means of the above plants are equal. The mean of the one of the plants
would definitely be different from other/others.
Q:2 (Assignment#2) Sales of ABC magazine are compared over a 5-week period at four
Borders outlets in Chicago. Does the data prove a significant difference in mean weekly
sales?
Weekly Sales
Store 1 Store 2 Store 3 Store 4
102 97 89 100
106 77 91 116
105 82 75 87
115 80 106 102
112 101 94 100
108 87 91 101 MEANS
5 11 11 10 VARIANCE
To test if there is no variation in between, among or in total difference in the means of the samples, we
build our Null and Alternate hypothesis as follow:
Ho: U1=U2=U3=U4
H1: Any one of these means is different
We test the above hypothesis with the alpha value of 5% or α=0.05
Step 1: We will start with finding the Sum of Squares for the above 4 samples. In this regard, following
calculations need to be noted:
The degree of freedom (df) would be the total number of groups into the total number of values.
The degree of freedom (df) between the groups would be one less the number of groups because
if the number of groups are known excluding one then the last one could be easily identified and
valued. It can be denoted as K-1, where K is the total number of groups. In our case there are four
groups where K=4 and K-1=3 so the (df) between the groups is 3.
The degree of freedom (df) within the groups would be the sum of (df)s of each group as in our
case is 4+4+4+4=16. Or it can also be denoted as K(n-1) 4(5-1)=16.
The total (df) would be one less the total number of the sample size, in our case it is (Kxn)-1 =
(4x5)-1= 19.
MS stands for the Mean of Square which is the squared deviation from the mean divided by the
(df).
The mean square between the groups MS(B) =SS/df 1325.35/3= 441.79
The mean square within the groups MS(W) =SS/df 1501.2/16= 93.82
The mean square between the groups MS(B) =SS/df 2826.55/19= 148.76
F-test statistics is simply the ratio of the variances between and within. It can be find dividing
MS(B)/MS(W) or 441.79/93.82= 4.70
F-test is a right tail test and p-value is the area to the right of the test statistics the value from F-
table against 4.70 with 0.05 is 0.01533 < α. So we reject the Null Hypothesis that the means of
the above groups are equal. The mean of the one of the groups would definitely be different from
other/others.
Variation Sources SS df MS F P-value
Between Groups 1325.35 3 441.7833 4.708589 0.01533
Within Groups 1501.2 16 93.825
Total 2826.55 19