I'm trying to run a regression with factor variables and when I create a local list with a whole bunch of categorical variables in i.var1 i.var2 format, I do not get any results. Is there any way to create a local macro with categorical variables in i.var1 i.var2 format, and use that variable list in a regression as factor variables?
Ex.
local group "i.agecat i.destination i.maristat i.contracttype"
reg y `group'
Thank you!
Ex.
local group "i.agecat i.destination i.maristat i.contracttype"
reg y `group'
Thank you!
Comment