IMPUTE var
dataset; where var
is the name of the transformed variable to be created and dataset refers either to a new dataset to be created or to an old
dataset to be replaced. This name should not correspond to the name of
another variable already in the dataset. Note that you should use
rather than
in this command, unlike in other parts of JudgeIt.
That's because this command puts data into your dataset. Note also
that YVOTE and XVARS must be specified before you use this command,
but the PRELIM command is not necessary for the procedure. YVOTE
should not be read in using a CHG! operator when IMPUTE is used.
XVARS should include all of the variables that it will contain when
the actual analysis procedure is run, with the exception of any
variable indicating uncontestedness for the current election year
(usually specified with the UNC! operator). If any of the
explanatory variables represent the election results from the previous
year, use the CHG! operator to modify uncontested districts.
Gary King
2006-01-07