This is the easy end of the problem.
With
bysort a : ...
the missings get -sort-ed to one end.
With
bysort a b c ... : ...
the observations with missing values
in at least some of the variables could
be in blocks at different positions in
the data.
Also, missing on some but not all of the variables
implies what?
Nick
[email protected]
David Harrison
> I don't see why this would be a problem, as -by- already has
> the options
> -sort- and -rc0-.
>
> Still, I would go with -tabstat, by()- anyway, as the output is
> formatted much more attractively.
Fred Wolfe
> I guess it must be difficult for Stata to put in an option to
> -by-, such
> as
>
> by x, nomiss: command
>
> But it would save repeated lines of code when one didn't want
> to display
> data for the missing group.
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/