Hi Stata-listers:
I have a model with a number of variables, some of which are collinear and
therefore get dropped when a regress command is executed. Is there a way of
extracting a subset of the names of the variables for which stata produces
estimates into a local or global macro ?
For example:
If I execute:
Regress y v1 z2 z3 v4
And stata estimates
Y v1 z2 z3
How can I get z2 and z3 into a macro which I can use in another proceedure?
Thanks so much!
Pradeep
Pradee Kurukulasuriya
FES, Yale University
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/