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/