Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Group identifiers within group

From   Alexis Penot <>
To   "" <>
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


Le 7 juin 2013 à 14:02, <> a écrit :

> by AnimalID:  gen GroupID = _n

*   For searches and help try:

© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index