Announcement

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

  • How to display residual MS

    Dear Statalist,

    In stata, how to display residual MS??
    after regression, i want to make a new variables with residual MS

    as i display coefficient "1.701816"
    i use the code

    matrix v=e(b)
    di v[1,1]

    like above, is any code to display residual MS???

    Click image for larger version

Name:	dd.png
Views:	1
Size:	15.0 KB
ID:	1448270

  • #2
    Code:
    local msr=  e(rss)/e(df_r)
    di %11.7f  `msr'

    Comment

    Working...
    X