| ![]() |
From | "Michael Blasnik" <michael.blasnik@verizon.net> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: Re: ratio of part time workers |
Date | Mon, 12 Jun 2006 11:31:34 -0400 |
Thanks. David. I also looked at that, as I have a variable called zallemps, which is the total employment on the payroll at the establishment. But when I tried both forms of denominator I got
. gen ratioprtwrk=(zmalprta+zfemprta) / (zallemps)
(40 missing values generated)
. su ratioprtwrk
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
ratioprtwrk | 22411 .0631298 .1019029 .0002026 .8
. gen ratioprtwrk=(zmalprta+zfemprta) / ((zmalfulla+zfemfulla+zmalprta+zfemprta))
(40 missing values generated)
. su ratioprtwrk
Variable | Obs Mean Std. Dev. Min Max
-------------+--------------------------------------------------------
ratioprtwrk | 22411 .5385854 .0624591 .3333333 .6666667
I am pondering as to why there is a difference.
* * 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–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |