I am trying to use macros to avoid repeating long lists of variables. The problem is that Stata doesn't read it and just skips the variables in the local macro, so all I get is a regression using only the intercept as explanatory variable. What is wrong with the code below? I cannot add the data unfortunately because of the user rights, but I hope someone can spot the error just by the code. Otherwise I will add a different example.
Code:
local Soc salary_eur100 age soc_eur100 SocDummy_t1 edu_* single_* status_change AntalBarn new_arrive xtlogit AntFlyttTot_D `Soc', i(LopNr_PersonNr) re
Helena
0 Response to Stata doesn't read local macro
Post a Comment