Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: mean of workplace education


From   peter harper <[email protected]>
To   [email protected]
Subject   Re: st: mean of workplace education
Date   Sun, 21 May 2006 09:27:11 +0000 (GMT)

----- Original Message ----
From: Maarten buis <[email protected]>
To: [email protected]
Sent: Sunday, 21 May, 2006 9:59:55 AM
Subject: Re: st: mean of workplace education


--- 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/
*
*   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