Chapter Contents |
Previous |
Next |
Language Reference |
The matrix table must conform in size to the contingency table specified in dim. In particular, if table is n ×m, the product of the entries in the dim vector must equal nm. In addition, there must be some integer k such that the product of the first k entries in dim equals m. See the description of the IPF function for more information on specifying table.
For example, consider the no-three-factor-effect model for Bartlett's data as described in Bishop, Fienberg, and Holland (1975):
dim={2 2 2}; table={156 84 84 156, 107 133 31 209}; config={1 1 2, 2 3 3}; call marg(locmar,marginal,dim,table,config);These statements return
LOCMAR 1 row 3 cols (numeric) 1 5 9 MARGINAL 1 row 12 cols (numeric) 263 217 115 365 240 240 138 :342 240 240 240 240
Chapter Contents |
Previous |
Next |
Top |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.