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?
Is it possible to "export delimited" with variable labels instead of variable names?Dear Statalisters, I'm quite new to Stata and I've run into what seems like a very "basic" problem.…
Why Use Stata?I've found this brief article interesting (https://www.theanalysisfactor.com/why-use-stata/). …
Problem with xtpdynI am trying to estimate a probit model with xtpdyn. However, when I run Code: xtpdyn hnpl gdp lir …
Event Study - Loop for calculating CARsHello everyone. I am trying to do a loop to calculate CARs (Cumulative Abnormal returns) for an Eve…
XTABOND2 and unit root test and measure of structural breakDear Professors, I am using xtabond2 for my research (System GMM) My questions are the following; 1.…
Subscribe to:
Post Comments (Atom)
0 Response to Using tabstat with macro?
Post a Comment