Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Logit regression do not converge

    Hello,

    i have a dataset containing information about entrepreneurs in the field of gender, education level, age, industry of start-up, year of creation , economic activity controls (gdp, population and unemployment).

    My main regression contains

    dependent variable : gender (1 for female/ 0 for male)

    independent variables : dummies for education level, age, entry dummies ( if firm was established in 80s, 90s or 00s), log of control variables

    + year, industry and county fixed effects

    When i only use the dependent and independent variables, stata runs the regression perfectly and without problems. Unfortunately, when i add the fixed effects , the regressions does not converge.

    How can i solve this problem, using the fixed effects? I need this specification in logit and probit.

  • #2
    Please provide exact commands you used, and exact output. If you click on the "A" right above the box where you type, you will get the full menu for formatting. Choose "#" for code, and paste within the code tags. Then we might have a clue what is going on. In general, I'm iffy on *ever* using gender as a dependent variable. I suppose in a multi-level context, given your independent variables, it might make sense, though; the log odds of an *organization* choosing or being founded by a female... Huh.

    Comment


    • #3
      You can force the number of iteration by specifying the option iter(30) or higher. This does not guarantee the equation will converge, but at least stata will not remain in lingo and will produce results after 30 iterations.
      Regards
      --------------------------------------------------
      Attaullah Shah, PhD.
      Professor of Finance, Institute of Management Sciences Peshawar, Pakistan
      FinTechProfessor.com
      https://asdocx.com
      Check out my asdoc program, which sends outputs to MS Word.
      For more flexibility, consider using asdocx which can send Stata outputs to MS Word, Excel, LaTeX, or HTML.

      Comment


      • #4
        Are you getting any error messages? Otherwise, you can investigate adding the -difficult- or -technique- options.
        __________________________________________________ __
        Assistant Professor, Department of Biostatistics and Epidemiology
        School of Public Health and Health Sciences
        University of Massachusetts- Amherst

        Comment


        • #5
          Inès:
          you give the list too few details for getting helpful replies.
          I second the previous advices about reporting exactly what you typed and what you Stata gave you back (as per FAQ). Otherwise, the best you can get (from me, at least), is one or more blind guesses about what went wrong with your model.
          If your model doesn't converge (by the way, what is the messages that appears when the regression does not converge: back-up? concavity warning?) after you add fixed effects, it would be interesting to see how fixed effects were included in the right hand side of the regression (e.g.: have you cross-checked that all the dummies are correct?).

          Kind regards,
          Carlo
          Kind regards,
          Carlo
          (Stata 19.0)

          Comment


          • #6
            What puzzles me is that you use gender as your dependent variable. If you mean with that the biological sex of the respondent, than how can that be explained by education, age, etc.? Does a male (in recent cohorts) suddenly become female when he attains more education? If you mean the socially constructed gender using it as a dependent variable can make more sense, but how can that be a 0/1 variable?
            ---------------------------------
            Maarten L. Buis
            University of Konstanz
            Department of history and sociology
            box 40
            78457 Konstanz
            Germany
            http://www.maartenbuis.nl
            ---------------------------------

            Comment


            • #7
              I can see situations where gender is the dependent variable. In particular, suppose respondents are given a choice between a man and a woman. What makes them more likely to choose a woman?

              If you were analyzing corporations, what sorts of corporations are more likely to choose women leaders?

              It does seem trickier or more problematic in this case. It seems like it would make more sense to have the dv be entrepreneurial/ not entrepreneurial, with gender as one of the explanatory variables. But that doesn't seem to be the nature of the data set.

              We don't have any explanation of the theory behind the problem. Maybe it does make good sense in this case.

              But in any event, we can't help Ines with anything until we have more information!
              -------------------------------------------
              Richard Williams, Notre Dame Dept of Sociology
              StataNow Version: 19.5 MP (2 processor)

              EMAIL: [email protected]
              WWW: https://www3.nd.edu/~rwilliam

              Comment


              • #8
                I'd ask also about the proportions male and female. Logit models don't get easier to estimate if the mean response is very near 0 or very near 1. In this case I fear the former.

                Comment


                • #9
                  If it is a rare events problem, firthlogit (available from SSC) may be good. Allison discusses this at http://www.statisticalhorizons.com/l...or-rare-events.
                  -------------------------------------------
                  Richard Williams, Notre Dame Dept of Sociology
                  StataNow Version: 19.5 MP (2 processor)

                  EMAIL: [email protected]
                  WWW: https://www3.nd.edu/~rwilliam

                  Comment

                  Working...
                  X