Announcement

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

  • Coefplot. color

    Dear Senior stata user,

    Using coefplot

    Code:
    clear
    input str10 var float X 
    "Age"     .6410156     
    "Gender"      0.2905445    
    "Job"      -.1932313    
    "Test"     -.3568878    
    end
    
    order var X
    gsort +X
    mkmat X, mat(X) rownames(var)
    mat X= X'
    
    coefplot (matrix(X))
    Using above, code, how to apply a different color or marker shape in those with negative X value. For instance, if a create an indicator variable with value 1 for those whose X value is negative, how can i show that in the final plot by coloring or shaping the circle symbol in the plot differently
    Appreciate your help

    Ashraf

  • #2
    Duplicated by mistake due to network glitch, refer to previous post.

    Comment

    Working...
    X