Announcement

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

  • Marginsplot with two regression equations

    Dear Members,
    I have two regression equations. After each regression, I run margins and marginsplot. Now with estimates from "margin" in the two regression equations, I would like to create one figure.
    Please any have an idea of how I could combine the two plots/ graphs?

  • #2
    Hello Stella. Please provide more detail about the two regression models--e.g., is it the same model (with same X and Y) estimated using independent groups? Or do you have different variables in the two models? And if possible, use one of the datasets that comes with Stata to provide an illustration of what you want to do. E.g., people often use the auto.dta dataset:

    Code:
    clear
    sysuse auto
    Thanks for clarifying.
    Bruce
    --
    Bruce Weaver
    Email: [email protected]
    Version: Stata/MP 18.5 (Windows)

    Comment


    • #3
      I’m wondering whether the command- graph combine - wouldn’t fit in your needs.
      Best regards,

      Marcos

      Comment


      • #4
        Hi Bruce and Marcos, thank you so much for the response.
        To Bruce, yes- is it the same model (with same X and Y) estimated using independent groups.

        Comment

        Working...
        X