Announcement

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

  • Creating plot from multiple ordinal regression using coefplot

    Dear statalist members,

    I want to create a dot plot from multiple ordinal regressions. So far my code is
    Code:
    ologit HEIGHT i.VARIETY  if YEAR ==1 & Evaluation_Round ==1
    estimates store height
    ologit STALK_THICKNESS i.VARIETY  if YEAR ==1 & Evaluation_Round ==1
    estimates store stalkthickness
    ologit NUMBER_OF_COBS i.VARIETY  if YEAR ==1 & Evaluation_Round ==1
    estimates store numbercobs
    coefplot (height, label(Height)) (stalkthickness, label(Stalk Thickness)) (numbercobs, label(Number of Cobs)), drop(_cons)
    The graph I get has the varieties grouped on the vertical axis. However, I would like to have the results grouped for the characteristics on the horizontal axis and per characteristic have one dot for each variety.


    I hope it is understandable what I mean. Thanks in advance.
    Last edited by Florian Neubauer; 20 Jun 2017, 06:02.
Working...
X