Statalist


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

Re: st: RE: -hhset- hrespnr?


From   Richard J Stoll <stoll@rice.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: -hhset- hrespnr?
Date   Fri, 7 Mar 2008 14:57:45 -0600 (CST)

Everyone is a husband or a wife right?  So ageofwife is missing for all
husbands,  therefore all those cases are dropped.  Ageofhusband is
missing for all wives, so you lose the rest of the cases.....

On Fri, 7 Mar 2008, Nirina F wrote:

> Dear Nick,
>
> Thank you for taking the time to respond.  I understand what you mean but
>
> actually, what I meant was that  if I run
>
> "reg income ageofwife ageofhusband schoolingofwife schoolingofhusband "
>
> it gives me 0 observation because of how the explanatory variables
> were generated:
>
>  ageofwife=age if wife==1
> ageofhusband=age if husband==1
>
> then used together ends up in intersection and here comes my problem.
>
> Nirina
>

------------------------------------------------------------------------
Richard J. Stoll * Professor of Political Science * Rice University
Dept. Political Science MS 24 * P.O. Box 1892 * Houston TX 77251-1892
E-mail: stoll@rice.edu * Tel: 713-348-3362 * FAX: 713-348-5273

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index