Announcement

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

  • Changes in coefplot

    Dear Statalisters,

    I want to create a Graph like this:

    Code:
    sysuse auto, clear
    egen std_price= std(price)
    egen std_mpg= std(mpg)
    egen std_headroom= std(headroom)
    egen std_weight= std(weight)
    forv s = 1/5 {
    quietly mean std_mpg std_price std_headroom std_weight if rep78==`s'
    estimate store m`s'
    }
    coefplot  m1 m2 m3 m4 m5,  xline(0)   ci(95 box) ciopts(recast(. rbar) barwidth(. 0.35) color(. white))
    Now I want two small changes:
    1. I want the means and ci’s of rep78 for each variable on the same vertical height. (not vertically offset)
    2. I want letters ( A, B, C, D, …) as meanmarkers.
    Any ideas? Thanks a lot,
    Jörg
Working...
X