Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: statalist-digest V4 #1783


From   "Pradeep Kurukulasuriya" <[email protected]>
To   <[email protected]>
Subject   st: RE: statalist-digest V4 #1783
Date   Sat, 6 Nov 2004 13:03:15 -0500

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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index