Announcement

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

  • Marginsplot

    I am trying to create a marginsplot on stata. I am attaching my graph. However, I cannot find a command that would let me keep only outcome 4 and outcome 20 for the DV. I can either specify one level, or get the entire list. What command do I need to ask stata to only keep two levels of the DV


    Command:

    margins, at(terrorism=(1/10)) plot


    Graph output (attached)
    Click image for larger version

Name:	Graph.png
Views:	1
Size:	119.7 KB
ID:	1785074

    Last edited by Oindrila Roy; 27 Feb 2026, 14:31.

  • #2
    Code:
    margins, at(terrorism=(1/10))  predict(outcome(4)) predict(outcome(20)) plot

    Comment

    Working...
    X