I agree with Michael Blasnik.
There is no reason to support
by <groupvar>: duplicates tag <varlist>, gen(tag)
because
duplicates tag <groupvar> <varlist>, gen(tag)
does the same thing.
Alternatively, you can just go back to first principles:
bysort <groupvar> <varlist> : gen tag = _N - 1
Nick
[email protected]
Charles Thibault
> Are there commands that allow me to get around the fact that
> the command
>
> duplicates tag
>
> is not by-able?
*
* 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/