asdocx: Export from Stata to Word, Excel, LaTeX & HTML Forums asdocx Forum ordering the categories of a by() bysort variables in summary / tabulation command asdocx

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Marina Selini Katsaiti
    Participant
    Post count: 4

    Is there a way I can tell stata to put the categories of the by command in a different order?

    Dr. Attaullah Shah
    Keymaster
    Post count: 106

    The by() or the bysort prefix follow the logical order when the by() variable is numeric and alphabetical order when it is string. You can read this FAQs on Stata official site to modify the ordering of the categories of the by() variable

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.