Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: changing format and summing data

From   "Nick Cox" <>
To   <>
Subject   st: RE: changing format and summing data
Date   Mon, 20 Jun 2005 12:25:57 +0100

egen, sum()


Angela James

> I am a novice stata user.  I have a data set which I transferred from
> excel.  I am working with employment and earnings data from an
> organization.  The data is currently stacked--with different quarters
> on top of each other.
> Each individual has a unique identification number--however, 
> in a given
> quarter not all ids will have reported earnings.  Further, within
> quarters certain ids may have more than one record (or line) of
> earnings.
> My basic question is:
> How do I total earnings by unique ID(individual), given this data
> arrangement?

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index