Question 3
- 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 |
|---|---|---|---|
| 5 | 4 | 4 | |
| 4 | 4 | 6 | |
| 5 | 5 | 5 | |
| 7 | 6 | 4 |
Based on the given information, answer the following questions:
(a) Suppose we assume the linear model:
where, and
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. and the overall mean of the given observations, i.e.. [2 Marks]
(c) Find the sum of squares due to treatment, i.e., and sum of squares due to error, i.e. . [4 Marks]
(d) Compute mean sum of squares due to treatment and error, i.e. and . [2 Marks]
(e) Find the estimate value of . [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]
I have written answers on the answer sheets
Not applicable