- Four factories producing soft-drinks are randomly chosen to check if the amount of caffeine in 1L bottles varies throughout the factories. For this the amount of caffeine (in a hundred mg) in three 1L bottles of soft-drinks of each of the selected factories is recorded in the following table:
| Brand | Obs. 1 | Obs. 2 | Obs. 3 |
|---|
| A | 5 | 4 | 4 |
| B | 4 | 4 | 6 |
| C | 5 | 5 | 5 |
| D | 7 | 6 | 4 |
Based on the given information, answer the following questions:
(a) Suppose we assume the linear model:
yij=μ+αi+ϵij;i=1,2,3,4 and j=1,2,3
where, αi∼N(0,σμ2) and ϵ∼N(0,σ2)
Identify whether the given model is the fixed effect model or the random effect model. Give reason. [2 Marks]
(b) Compute the treatment means for each of the given treatment, i.e. Yi. and the overall mean of the given observations, i.e.Y... [2 Marks]
(c) Find the sum of squares due to treatment, i.e., SStreatment and sum of squares due to error, i.e. SSerror. [4 Marks]
(d) Compute mean sum of squares due to treatment and error, i.e. MStreatment and MSerror. [2 Marks]
(e) Find the estimate value of σμ2. [2 Marks]
(f) Draw the ANOVA table for the above given model. [3 Marks]
(g) An analyst wish to test if there is a variability in amount of caffeine across all the 4 factories. Write down the null and alternative hypothesis to be tested for it. [2 Marks]
(h) Perform hypothesis testing for the above defined hypothesis and conclude your results. [4 Marks]
(i) The analyst also wishes to test if the grand mean caffeine content in 1L soft-drinks bottles is 5 (in a hundred mg) or not. Perform hypothesis test for the same. [5 Marks]