I have a dataset of campaign contributions, with observations at the level
of each individual contribution. I want to generate a dataset in which the
unit of observation is the donor-year. But if I use 'egen' to generate
donor-year means, those donors who didn't give in a particular year will
not appear at all. I want them to appear as zeros. Is there any way to add
these observations?
Thanks so much,
Dave
------------------------------------------------------------------------
PhD student, Harvard Economics Department
Phone: (O) 617-495-5634, (H) 617 - 493 - 1536
Address: Currier Mail Center #554, Cambridge, MA 02138
------------------------------------------------------------------------
*
* 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/