I am running a loop of regressions that should only be completed when
all variables are included. In case a variable is dropped I want to
skip the rest of the loop and continue with the next regression.
Example:
. logit foobar foo bar
note: foo != 0 predicts success perfectly
foo dropped and 99 obs not used
The regression still runs, but with an incomplete set of variables.
How can I check whether a variable was dropped? For example, does
Stata create a return code in such a case? I use Stata 8.2.
Thanks,
Friedrich
____________________________________________________________________________________
Sponsored Link
Compare mortgage rates for today.
Get up to 5 free quotes.
Www2.nextag.com
*
* 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/