Announcement

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

  • Side-by-side Box Plots

    Hi!

    This is my first post on this forum, so I apologize if my question is not concrete enough.

    I am trying to sort the bars in my box graph by variable rather than EnvIndex.

    EnvIndex is an index ranging from 0 to 3.

    There are three variables I would like to sort by: PEG_trailing PEG_1yrforward PEG_ltgforward. Essentially I want EnvIndex 0 though 3 side-by-side for each of the variables.


    This is my code:
    Code:
    graph box PEG_trailing PEG_1yrforward PEG_ltgforward, over(EnvIndex)
    This is my output:


    Thanks in advance!

  • #2
    Please follow https://www.statalist.org/forums/for...ot-by-variable if interested.

    Comment

    Working...
    X