Thanks for the reference to -, subpop()- which
somehow has never registered with me; indeed
I don't think I ever understood it.
Here is the sort of example I had in mind. Some
people would like explicit zeros in the case
of rep78 == 1, 2 & foreign == 1. Can -, subpop()-
help here, directly, without changing the dataset?
(This was one motivation for writing -tabcount-,
now on SSC. I thought that such tables should be
possible on the fly, so far as the user is
concerned.)
. bysort foreign : tab rep78
[...]