Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: ice error
fernando andrade <firstname.lastname@example.org>
st: ice error
Mon, 23 Jan 2012 14:42:33 -0500
i am using ICE to perform multiple imputation in a large set of
variables, while i am running the dry run i found myself with a
problem i do not expected.
ice is giving me this error message for several ordinal variables that
were speficied with the o.varname option:
Error! _Iy1rel5_w2_2 found on both sides of prediction equation
Error! _Iy1rel5_w2_3 found on both sides of prediction equation
Error! _Iy1rel5_w2_4 found on both sides of prediction equation
Error! _Iy1rel5_w2_5 found on both sides of prediction equation
in this case the variable is y1rel5_w2 and the ice command i am using is
ice a1alc8a_m debt_w2 y1cig y ... ///
m.y1duom5c_w2 m.y1duom5d_w2 ... m.t1050 ///
o.y1sc101 o.y1rel5_w2 .... o.y1pp1k_w2 ///
y1nei5 .... t1517 ///
conditional(a1htv1 : flagadult==1 \ a1htv2 : flagadult==1 ...
\ T1016as116 : flagactua ==1 ) ///
cmd(a1pm15a ... y1alc16b_w2: nbreg) ///
note: "..." in the command mean that i omitted var names and other to
make the command easy reading
I understand that ICE is generating dummies for each variable
specified as o.varname or m.varname, (as in the case of o.y1rel5_w2)
and uses this dummies as predictors, but ice should not try to
directly impute the set of dummies that generates based on the
o.varname specification, right?
I appreciate if you could give some ideas as why i get these errors
* For searches and help try: