Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Group identifiers within group
From
Alexis Penot <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Group identifiers within group
Date
Fri, 7 Jun 2013 14:14:11 +0200
You can have more than on variable in a by statement :
By AnimalID Parity: gen var1= _n
Alexis
Le 7 juin 2013 à 14:02, <[email protected]> a écrit :
> by AnimalID: gen GroupID = _n
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/