Announcement

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

  • interaction labels in outreg2 regression table.

    I would like to plot the interaction terms from a regression like the following.

    xtile decil= weight, nq(5)
    reg price length i.foreign##i.decil, r
    coefplot, nolab keep(1.foreign#*.decil)

    However, I do not know how to change the labels from "*.foreign#*.decil" for a consecutive label such as (1 decil, 2 decil ) or (1, 2, ...)


    Click image for larger version

Name:	example.png
Views:	1
Size:	55.1 KB
ID:	1743451

  • #2
    Your title refers to the wrong command. Additionally, you are still not following the FAQ advice to state the provenance of community-contributed commands. coefplot is from SSC (FAQ Advice #12).See https://www.statalist.org/forums/for...onth-year-date.

    Comment


    • #3
      Oh sorry. I write outreg2 instead of coefplot, but following your advice I obtain the solution. Thanks

      Comment

      Working...
      X