[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: basic question about varlist
I placed a list of variables in a local using abbreviations recognized by
local outcomes "var1-var10 othervar* ..."
How can I get Stata to read it as a varlist so that i can tokenize it
Here's what I need this for: I have defined several regressions:
local reg1 "reg `1' varlist1"
local reg2 "reg `1' varlist2"
I want to run these regressions for all the outcome variables in the above
mentioned list and I want to capture the coefficients and errors in scalars
indexed by the nr of the outcome variable. So to begin, I want to know how
to read that list as a varlist.
Thanks in advance,
* For searches and help try: