Statalist The Stata Listserver


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

st: calculating gender wage ratioes for different levels of education


From   "Christer Thrane" <[email protected]>
To   <[email protected]>
Subject   st: calculating gender wage ratioes for different levels of education
Date   Thu, 7 Sep 2006 16:20:58 +0200

Hi,

I wish to calculate gender wage ratioes for different levels of education, hopefully in a less cumbersomeway than below

sort educ
by educ: oneway wage gender, t

and then for each level of educ type:

dis 70,000/110,000
dis 85,000/140,000

and so on...

The main problem is that I have to get the results from the one-way anovas first, and then use the results from these in the later -dis- calculations. Is there a simple way to do this in one operation so that I can run the whole do-file without stopping?

BR,

Christer Thrane
Lillehammer University College



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