[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Variable dropped from regression: how to capture event?
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.
. 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.
Compare mortgage rates for today.
Get up to 5 free quotes.
* For searches and help try: