# Binary logit model

**URL:** <https://forum.dynare.org/t/binary-logit-model/3757>\
**Category:** Dynare help (legacy posts)\
**Created:** [9 March 2014 19:41 UTC](https://forum.dynare.org/t/binary-logit-model/3757 "2014-03-09T19:41:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amoula](https://forum.dynare.org/letter_avatar_proxy/v4/letter/a/4491bb/32.png) [@amoula](https://forum.dynare.org/u/amoula)\
**Post date:** [9 March 2014 19:41 UTC](https://forum.dynare.org/t/binary-logit-model/3757/1 "2014-03-09T19:41:41Z")

</div>

Hi,  
I want to estimate a binary logit model with stata, I used this command “logistic seuil1 profession region age statumatri education”, but it is always this window that appears:

outcome does not vary; remember:  
0 = negative outcome,  
all other nonmissing values = positive outcome  
r(2000);  
I do not know where is exactly the problem?  
please help me

Many thanks to y’all!  
regards,  
Amal

---

<div class="post-metadata">

**Author:** ![jpfeifer](https://forum.dynare.org/user_avatar/forum.dynare.org/jpfeifer/32/5044_2.png) [@jpfeifer](https://forum.dynare.org/u/jpfeifer)\
**Post date:** [10 March 2014 06:10 UTC](https://forum.dynare.org/t/binary-logit-model/3757/2 "2014-03-10T06:10:26Z")

</div>

This is not a stata support forum! For your problem, check the dependent variable (e.g. plot it). Does it really have negative values (or is already coded with only 1 and -1 as values)?
