I have a categorical variable that I want to include in a table. I read about using refcat (http://repec.org/bocode/e/estout/hlp_estout.html#refcat) but am not sure why I am running into issues with using it for categorical variables.
Race is coded as white, black, other (0, 1, 2). How can I get the last line to work to list "race" with "black" and "other" indented in lines beneath it?
Thank you!
Race is coded as white, black, other (0, 1, 2). How can I get the last line to work to list "race" with "black" and "other" indented in lines beneath it?
Code:
webuse lbw, clear logit low i.race est store m1 logit low i.race age est store m2 esttab m1 m2, refcat(age "Age") wide label // this line works even though age is continuous esttab m1 m2, refcat(race "Race") wide label // this line does not create label
Thank you!
Comment