--- peter harper <[email protected]> wrote:
> I am using a cross-section data with different individuals and
> different firm. I would ge grateful if anyone woul let me know
> the the command for the mean workplace years of education: based
> on mean of workers years of education, say eij across workpace.
Assuming that the variable that identifies workplace is called
workplace and the variable that identifies the years of education is
called ed:
by workplace: egen meaned = mean(ed)
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
Send instant messages to your online friends http://uk.messenger.yahoo.com
*
* 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/