[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Summing variables over all observations by identifier
I'm looking for a function that will sum a variable across all
observations by identifier.
For example, if I have
I would like a function that would give me:
SumbyID would be equal to 1 for all observations with ID=1 and 3 for
all observations with ID=2 .
Thanks very much,
* For searches and help try: