Statalist The Stata Listserver

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

Re: st: mean of workplace education

From   Maarten buis <>
Subject   Re: st: mean of workplace education
Date   Sun, 21 May 2006 09:59:55 +0100 (BST)

--- peter harper <> 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

Send instant messages to your online friends 
*   For searches and help try:

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