Statalist The Stata Listserver


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

st: RE: ratio of part time work


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: ratio of part time work
Date   Sun, 11 Jun 2006 18:44:49 +0100

I can only comment on what you write. 

To reduce what turn out to be pointless
emails, please check your postings more 
carefully. 

Nick 
[email protected] 

peter harper
 
> Thanks Nick. But it was a typo, as I corrected in the email 
> below. I had never used -egen- for the ratioprtwork, I had 
> used -gen ratioprtwork. See email below.
  
> Actually there were three problems. The -egen-
> call was illegal, not just unnecessary. But 
> a single attempt would have shown that! 
> Nick 
> [email protected] 
> peter harper
> > Thanks Neil. The missing bracket was a typo. Yes I had used 
> >  
> > .ge ratioprtwrk=(zmalprt+zfemprt) / (zmalfull+zfemfull)
> >  
> > Thanks for confirming.
> Neil Shephard 
> > Two problems
> > 1. Its missing an opening bracket.
> > 2.There is no need to use -egen- (see -man egen- for details 
> > of what egen does).
> > gen ratioprtwrk=(zmalprt+zfemprt) / (zmalfull+zfemfull)
> Peter Harper 
> > > Since the ratio of part time work, would be
> > > the total of the part-time work (i.e., of the both
> > > genders) over the total of the full time work of both
> > > the genders, I presume I do
> > >
> > > .egen ratioprtwrk=(zmalprt+zfemprt)/zmalfull+zfemfull)
> > >
> > > zmalprt=male part time; zfemprt=female part time, 
> > zfemfull=female full-time; zmalfull=male full time.
> > >
> > > Can anyone please confirm if this is the correct command.
> *
> *   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
> *
> *   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/
> 

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