I use cloglog/logit command for Discrete time hazard model in survival analysis. The dependent variable is Failure (equals 1 if insolvent if that firm year, otherwise 0), the main independent variable is FAMALE (equals I if female, otherwise 0). I do not control for firm or year fixed effect. However, I find that when Failure equals 1, Female always equals 0. Which leads to the bug “!= 0 predicts failure perfectly(FEMALE dropped and obs not used). Even though the regression can still come with some results, but the main independent variable FEMALE has been omitted. This is really annoying. Could there be some solutions to deal with this issue? Looking forward to any comments and suggestions. Thanks!
My code is:
cloglog insolvent123 femaleceo $factors
logit insolvent123 femaleceo $factors
They report the same statement as mentioned above.
My code is:
cloglog insolvent123 femaleceo $factors
logit insolvent123 femaleceo $factors
They report the same statement as mentioned above.

Comment