Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: RE: constructing sibling sex composition


From   "Nirina F" <[email protected]>
To   [email protected]
Subject   Re: st: RE: constructing sibling sex composition
Date   Sun, 7 Dec 2008 16:34:43 -0500

Thank you Martin,
you are for example pointing out to this code?

-egen anyfem = max(sex), by(family) -

Thakns,
Nirian

On Sun, Dec 7, 2008 at 4:00 PM, Martin Weiss <[email protected]> wrote:
>
> Line for the server...
>
> You may find the answer here: http://www.stata.com/support/faqs/data/
>
>
> HTH
> Martin
>
>
> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]] On Behalf Of Nirina F
> Sent: Sunday, December 07, 2008 9:54 PM
> To: [email protected]
> Subject: st: constructing sibling sex composition
>
> Hello,
> I have a household survey data and would like to construct a variable
> that indicates the sex composition of the respondent's siblings.
>
> I have the year of birth and sex of siblings.
>
> Does anyone know how to do this because the number of siblings vary by
> respondent and the minimum number of sibling  is 0 and maximum is 12.
>
> Thank you very much,
> Nirian
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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