Announcement

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

  • Simple info on combomarginsplot

    Dear Stata users,

    I would like to know whether there is an option of combomarginsplot that allows margins not to overlap or whether there is a command with this feature --similar to marginsplotoffset but for multiple graphs--.

    Thank you and best regards,
    Lydia


  • #2
    I'm not sure what marginsplotoffset is; I can't find any reference to it anywhere. You may be referring to my -mplotoffset-, available from SSC. If you want to combine it with combomarginsplot, you can do so by first using combomarginsplot to create and save a combined margins file, then use mplotoffset:

    Code:
    <run models & create margins files>
    combomarginsplot file1 file2 , label("First file" "Second file") savefile(combined_margins, replace)
    mplotoffset using combined_margins
    As it happens, I have recently updated combomarginsplot to incorporate the -offset- option directly.

    I have sent the updated version of the program to be posted on SSC. In the meantime you can install if from my website if you wish:

    Code:
    net from https://www.nicholasjgwinter.com/Stata
    net describe combomarginsplot
    Last edited by Nicholas Winter; 12 Dec 2020, 14:55.

    Comment

    Working...
    X