Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: filling in values


From   [email protected]
To   [email protected]
Subject   st: filling in values
Date   Mon, 20 Oct 2003 12:24:12 +0100 (BST)

Dear Statalist,

in the survey I am using the head of household gives info about every member
of  the household. I have created a variable via egen that accounts for the
number of children within the family. How do "fill in" for the rest of the
family, i.e. family 3 has 1 child and I want observation 5 and 6 to be equal
to 1, for example.

               family     children        
       1.         1          0          
       
       2.         2          0          
       3.         2          0           
       4.         2          0           
       
       5.         3          1          
       6.         3          0           

       7.         4          0           
       8.         4          2      

Thanks a lot,
Eva      
       


________________________________________________________________

DISCLAIMER:

This e-mail and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to
whom it is addressed.  If you are not the intended recipient
you are prohibited from using any of the information contained
in this e-mail.  In such a case, please destroy all copies in
your possession and notify the sender by reply e-mail.  Heriot
Watt University does not accept liability or responsibility
for changes made to this e-mail after it was sent, or for
viruses transmitted through this e-mail.  Opinions, comments,
conclusions and other information in this e-mail that do not
relate to the official business of Heriot Watt University are
not endorsed by it.
________________________________________________________________
*
*   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