I am trying to do multiple imputation on my panel dataset (Early Childhood Longitudinal Study-Kindergarten) using ice and receive the following error: "Error! safeplp5 found on both sides of prediction equation". I receive this error for multiple variables during the dry run. In this particular case, safeplp5 is an ordinal variable indicating how safe parents think their neighborhood is for their children to play in. The responses are: "Not at all safe", "Somewhat safe", and "Very safe". Here is the code I used for the dry run:
#delimit;
ice
gender
m.race
ager*
primpkp1
weighp
weigho
disablp*
o.inccatw*
o.hmempp*
o.hmagep*
o.momedw*
m.curmarp*
m.hfamilp*
anylngp*
o.numsibp*
o.expectp*
o.readbop*
o.singsop*
o.helparp*
o.choresp*
o.gamesp*
o.naturep*
o.buildp*
o.sportp*
o.chreadp*
o.chlboop*
o.tellstp*
o.safeplp*
pupris*
flnchs*
rlnchs*
minors*
,
saving(parinvolv_mi, replace)
seed(396) cycle(10) m(5)
dryrun
;
Any suggestions? Thanks advance for any help.
Stephanie
#delimit;
ice
gender
m.race
ager*
primpkp1
weighp
weigho
disablp*
o.inccatw*
o.hmempp*
o.hmagep*
o.momedw*
m.curmarp*
m.hfamilp*
anylngp*
o.numsibp*
o.expectp*
o.readbop*
o.singsop*
o.helparp*
o.choresp*
o.gamesp*
o.naturep*
o.buildp*
o.sportp*
o.chreadp*
o.chlboop*
o.tellstp*
o.safeplp*
pupris*
flnchs*
rlnchs*
minors*
,
saving(parinvolv_mi, replace)
seed(396) cycle(10) m(5)
dryrun
;
Any suggestions? Thanks advance for any help.
Stephanie
Comment