Statalist The Stata Listserver


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

st: Full-time workers only regression


From   peter harper <[email protected]>
To   [email protected]
Subject   st: Full-time workers only regression
Date   Wed, 31 May 2006 18:33:40 +0000 (GMT)

Dear Statalist
 
This is a simple question. I am using a cross-section data with different firms and workers. I want to run a regression on full-time workers only. Would it be best to put the variable, say, flprt in the regression which indicates whether the worker works full or part-time and using the dummy variable for full-time, frlprt2; where frlprt2=full-time workers. 
 
(2) Or run
 
 y  x1 x2 x3 if flprt==2
 
where frlprt2=full-time workers.
 
Thanks
 
*
*   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