Title: BYS: Stata module to automatically sort on the bylist (version 5)
Abstract: the bys command is very similar to by varlist: command but automatically sorts on the variables in varlist. If a second varlist, varlist2, is specified between parentheses, bys will sort the data on varlist2 within varlist. This may be required for some more complicated commands, in particular to generate variables within subgroups. If the data are already sorted on varlist and further variables, the sort order is not changed. The command may not contain quotes (). There is a newer version of this command for Stata version 6.0 available on this site.
Publication Year: 1998
Publication Date: 1998-01-01
Language: en
Type: article
Access and Citation
AI Researcher Chatbot
Get quick answers to your questions about the article from our AI researcher chatbot