Announcement

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

  • Binary Response Model

    I want to estimate the probability of authoritarian leadership failure as a function of five explanatory variables.
    I ran a logit regression with the following functional form:
    P r(Fail) = frac + oil + growth + coup + gdp

    • I want to Create a figure that shows how the predicted probability of failure changes as I move
    the ”(logged)oil” variable by 0.1 from -6 to 10.

    • How I Calculate the percentage change in the odds of leadership failure when the value of
    coup changes from 0 to 1, while holding other variables constant at their mean values.


  • #2
    help margins and help marginsplot
    ---------------------------------
    Maarten L. Buis
    University of Konstanz
    Department of history and sociology
    box 40
    78457 Konstanz
    Germany
    http://www.maartenbuis.nl
    ---------------------------------

    Comment


    • #3
      logit fail frac oil growth coup gdp

      margins, at (oil=(-6(0.1)10)) atmeans

      marginsplot


      Comment

      Working...
      X