1. Consider the following 2-way ANOVA Table with the group number listed in the cells of the table.
A = 1
Group = 1
Group = 3
A = 2
Group = 7
a. Construct an ANOVA Design matrix using
1) right-reference cell coding, and
2) No replications within each cell.
Below each column of the design matrix, put the ANOVA model parameter that the column values refers to in the matrix multiplication solution of the least-squares estimation problem. (Hint: There should be no more than 8 columns and 8 parameters).
b. To fit a cell-mean model in SAS, write the appropriate GLM code below.
C. Using the cell-mean model, write a contrast statement that tests for
1) The A main effect and separately,
2) The B main effect.
Using the cell-mean model, write a contrast statement that test for a linear trend in the B effect.