Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: easy way to save regressor variable names?


From   Toby Andrew <t.andrew@imperial.ac.uk>
To   statalist@hsphsun2.harvard.edu
Subject   st: easy way to save regressor variable names?
Date   Sat, 11 Mar 2006 15:43:52 +0000

Dear all,

I have 2 questions related to saving summary stats from regression analyses:

1) Is there a generic way to access the list of variable names used in a regression such as regress, mlogit & ologit?
The reason i ask is because i am performing many regressions by looping over variables & the list of recorded variables i save
will differ from the *actual* list retained in the analysis if there is collinearity (or i wish to use stepwise sw).

2) is there an "_rc" error message (or equivalent) i can record in the summary postfile results, if the model fails to converge?

Thanks very much,

Toby

*
* 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–2020 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index