Announcement

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

  • Multiple Linear Regression Plot

    Hi, good afternoon

    I would like to make a graph of my MLR like the one you can make for simple linear regression by using the command twoway (scatter y x) (lfit y x)

    Hope i can make myself understand, not a native English speaker

    Thanks in advance!

  • #2
    I suggest using avciplots from Stata Journal. Type search avciplots in Stata. Here's an example.

    Code:
    sysuse auto, clear 
    
    regress mpg displacement weight foreign c.weight#i.foreign
    avciplots, title(All covariates)
    Res:
    Click image for larger version

Name:	example.png
Views:	1
Size:	545.4 KB
ID:	1608787


    Comment

    Working...
    X