Announcement

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

  • #16
    Thanks a lot for the reply. However, I have the following problem. I have too many dummy variables, I wanted to specify only the keep option e.g.
    Code:
    coefplot m3, keep(*weight) eqlabel(Foreign Domestic) scheme(s1color)
    But in this case only plots the coefficient from the first regression. Is there a way round?

    Comment


    • #17
      You can walk and chew gum... the following works!

      Code:
      sysuse auto, clear
      eststo m1: qui reg price weight length trunk if foreign
      eststo m2: qui reg price weight length trunk if !foreign
      eststo m3: suest m1 m2
      coefplot m3, keep(*: weight*) drop(_cons) eqlabel(Foreign Domestic) scheme(s1color)
      Click image for larger version

Name:	Graph.png
Views:	1
Size:	35.7 KB
ID:	1613037

      Comment


      • #18
        ahahha Thanks a lot

        Comment

        Working...
        X