| Previous: Format: | Up: EI2 | Next: Example: |
In this running example, this procedure will estimate
and
(and various related statistics) given
(Democratic fraction of the vote) and given an estimate of
(black fraction of voters) in this accounting identity:
. A first-stage estimate
of
from ei() is used to estimate
, since
(these first stage results should be studied
with eiread and eigraph before proceeding). Multiple imputation is
used to incorporate the extra uncertainty due to
being
estimated. The details of this procedure are discussed in Section
8.4.
The separately imputed data buffers are stored in the output global
_ei2_mta. The simulations from each data buffer are
combined in a single data buffer, dbuf2. Both can be read
with eiread or graphed with eigraph. Because these
programs work for both ei() and ei2(), reading
estimates requires using the names ``betaB'' and ``betaW'' for the
parameters (even though they might be more appropriately called
``lambdaB'' and ``lambdaW'' for this particular example). In
dbuf2, x are the mean posterior estimates of
,
and x2 is a (
) matrix of simulations
of
(see eiread and eigraph for further information). Diagnostic
outputs in this data buffer, such as resamp, are those from
the final imputed data set.