Announcement

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

  • I need your help to fix a graph command

    I am not sure what is the problem with If logic in this command"graph hbar (mean) typeofviolation if yearin > 1999 && yearin <2010, over(memberstate, sort(position)) title(Type of violationover memberstate(2000-2009)) scheme(plotplainblind)"

    Basically, I want to give if logic "more than 1999 and less than 2010"

    Thank advance for your help

  • #2
    What error message did you get?

    && should be &

    Comment


    • #3
      Originally posted by Nick Cox View Post
      What error message did you get?

      && should be &
      Messge is "1999& invalid name"

      And it's solved when I use single &
      Thank you Nick Cox

      Comment

      Working...
      X