|
Chapter Contents |
Previous |
Next |
| The CATMOD Procedure |
The algorithm used for iterative proportional fitting is described in Haberman (1972), Bishop, Fienberg, and Holland (1975), and Agresti (1990). To illustrate the method, consider the observed three-dimensional table {nijk} for the variables X, Y, and Z. The statements
proc catmod;
model X*Y*Z = _response_ / ml=ipf;
loglin X|Y|Z@2;
run;
request that PROC CATMOD use IPF to fit the hierarchical model

PROC CATMOD begins with a table of initial cell estimates
that are produced by setting the
nsz structural zero cells to 0 and all other cells to
n/(nc-nsz), where n is the total weight of the table
and nc is the total number of cells in the table. It then iteratively
adjusts the estimates at step s-1,
, to the observed marginal tables
specified in the model by stepping through the following three-stage
process to produce the estimates at step s:




|
Chapter Contents |
Previous |
Next |
Top |
Copyright © 2000 by SAS Institute Inc., Cary, NC, USA. All rights reserved.