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" <[email protected]>
To   <[email protected]>
Subject   st: RE: changing format and summing data
Date   Mon, 20 Jun 2005 12:25:57 +0100

egen, sum()

Nick 
[email protected] 

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:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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