I want to modify the variable list produced by fvexpand, e.g.
I want to drop the base category variables from r(varlist), in this case 1b.sex and 1b.race. Is there any easy way to do this? The base category variables are causing problems with another program of mine (they aren't getting dropped like they should) so I want to see if this will solve my problem.
Code:
. webuse nhanes2f, clear . fvexpand i.sex i.race . return list macros: r(fvops) : "true" r(varlist) : "1b.sex 2.sex 1b.race 2.race 3.race"
Comment