下面的内容是在sas help里看到的,有些地方不太明白,请高手帮忙解释下,多谢!1 design matrix 指的是什么样的矩阵?
2 函数运行后的结果怎么来理解?
The DESIGNF FunctionThe DESIGNF function generates a full-rank design matrix, useful in calculating ANOVA tables. It has the general form
DESIGNF(
column-vector );
For example, the following statement creates a full-rank design matrix for a one-way
ANOVA, where the treatment factor has three levels and there are
n1=3,
n2=2, and
n3=2 observations at the factor levels:
> d=designf({1,1,1,2,2,3,3});
D 7 rows 2 cols (numeric)
1 0
1 0
1 0
0 1
0 1
-1 -1
-1 -1