I am using BWGHT.DTA with a macro created as:
local bwghtvars bwght cigs faminc fatheduc motheduc parity male white
I thought I could use tabstat as follows:
tabstat `bwghtvars`
Unfortunately, it throws an error:
. tabstat `bwghtvars'
varlist required
r(100);
Isn't the macro a variable list?
Related Posts with Using tabstat with macro?
psmatch2 and _weightHi stata-users, I haven't quite been able to figure out some of the variables psmatch2 produces. I …
Multiple loops of varlists and outreg2 for quantile regressionsDear Statalists, I hope anyone can help me with my regressions with loops because I am quite new to…
Pairwise Comparisons of Average Marginal EffectsHi, I am aiming to look at the different effect on earnings of increasing the number of dependent ch…
Tobit regressionHi i am running a tobit regresison for data across 2 years 2007-2008 ( they were 2 individual datase…
Value Labels and Appending DataI have a question about the appending data from multiple rounds of surveys across 10 countries from …
Subscribe to:
Post Comments (Atom)
0 Response to Using tabstat with macro?
Post a Comment