Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Language Reference

DESIGNF Function

creates a full-rank design matrix

DESIGNF( column-vector)

where column-vector is a numeric column vector or literal.

The DESIGNF function works similar to the DESIGN function; however, the result matrix is one column smaller and can be used to produce full-rank design matrices. The result of the DESIGNF function is the same as if you took the last column off the DESIGN function result and subtracted it from the other columns of the result.

For example, the statements

   a={1,1,2,2,3,3};
   b=designf(a);
produce the design matrix
             B             6 rows      2 cols    (numeric)

                                  1         0
                                  1         0
                                  0         1
                                  0         1
                                 -1        -1
                                 -1        -1

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.