1. Consider the following 2-way ANOVA Table with the group number listed in the cells of the table.
Factor
|
B=1
|
B=2
|
B=3
|
B=4
|
A = 1
|
Group = 1
|
Group=2
|
Group = 3
|
Groups=4
|
A = 2
|
Group=5
|
Group=6
|
Group = 7
|
Group=8
|
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.