Announcement

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

  • Using margins+margins plot to graph marginal probabilities over time

    I would like to plot a simple graph showing the percent of students who failed a math course by treatment status over time. Based on what I have read, it seems as though margins + margins plot is required, but I can't quite figure how to display this information over time. I'm new to using this command.

    In essence, I want the y-axis to show the % of students who failed a math course, and the x-axis to represent the semester. In the body of the graph, I would like to see, for each semester, a dot plotting the percent of treated students who failed, as well as another dot plotting the percent of control students who failed. Seems easy but this task is proving difficult.

    Any help would be appreciated!


  • #2
    Unless you show us your full estimation command it is very difficult to help you with the margins and marginsplot.

    Comment


    • #3
      "margins'' is a post estimation command works only after running regression models. Unless you want to plot proportion predictions, perhaps you need simple bar chart or line chart (over time,by semester) or something similar. But as Oded mentioned, you need to post a little sample of your data, or the commands you have run for your model so that we can help you.
      Roman

      Comment

      Working...
      X