Previous: To Work with zelig() Up: Making the Model Compatible Next: Compatibility with sim()

To Work with setx()

In the case of setx(), most models will use setx.default(), which in turn relies on the generic R function model.matrix(). For this procedure to work, your list of output must include:

If your model output does not work with setx.default(), you must write your own setx.contrib() function. For example, models fit to multiply-imputed data sets have output from zelig() of class "MI". The special setx.MI() wrapper pre-processes the zelig() output object and passes the appropriate arguments to setx.default().



Gary King 2010-09-09