First off I want to say that I am new to Stata and also to statistics. I have searched for a solution to my problem on numerous sites but I haven't found anything that matched.

I have 45 observations and 5 independent variables, all numeric, and one of them is binary (Democracy, coded as 0 and 1). When i try to do the logistic regression, I get the message:

note: Democracy != 1 predicts failure perfectly
Democracy dropped and 22 obs not used

outcome = GDPpercapita > 3485.1 predicts data perfectly
r(2000);


I really don't understand why Democracy (my dichotomous variable) is being omitted?

I am grateful for all help I can get. Thank you.