Displaying 1 result from an estimated 1 matches for "inmi1".
Did you mean:
imi1
2008 May 28
1
manipulating multiply imputed data sets
...t of thing pretty
easily in Stata using MIM, but I've decided to go cold turkey on other
stats packages as a incentive for learning more about R. Most of the
recoding is for nominal variables, like race, religion, urbanicity,
and the like. So, for example, to recode race for my first dataset,
inmi1, I would do the following:
miset1$white <- recode(miset1$RACE, '1=1; else=0; ')
miset1$black <- recode(miset1$RACE, '2=1; else=0; ')
miset1$asian <- recode(miset1$RACE, '3=1; else=0; ')
miset1$hispanic <- recode(miset1$RACE, '4=1; else=0; ')
miset1$ra...