Announcement

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

  • Combining marginsplot with a histogram

    Hello all!

    I have created a histogram with the distributions of a score we developed, and am trying to overlay a plot of the predicted probabilities using marginsplot on the same graph. Would this be possible?

    Thank you for your help!


  • #2
    You can use the addplot option in marginsplot:
    Code:
    marginsplot, addplot(hist DACS)

    Comment


    • #3
      You can also use the marhis command available at SSC

      Code:
      ssc install marhis

      Comment

      Working...
      X