Statalist The Stata Listserver


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

st: To: statalist@hsphsun2.harvard.edu


From   peter harper <pharper11@yahoo.co.uk>
To   undisclosed-recipients: ;
Subject   st: To: statalist@hsphsun2.harvard.edu
Date   Fri, 12 May 2006 17:40:35 +0000 (GMT)

Dear Statalist
 
 I am working on a cross-section dataset, with different firms and different individuals. How would one generate a variable which would provide mean workplace years of education:
which is based on percentage of the workforce in each of the k occupations times average years of education for that occupation from worker respondents. I tried various things but could not figure out the best way to create this variable in Stata. I can manually work it out, but I do not know, how to create this variable in Stata.
 
Many Thanks in advance
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index