|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: AW: Spouse's occupation in a household
<>
http://www.stata.com/support/faqs/data/members.html
HTH
Martin
-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Quang Nguyen
Gesendet: Freitag, 6. März 2009 16:12
An: [email protected]
Betreff: st: Spouse's occupation in a household
Dear all:
Following is a sample of the household data we have:
Household Relationship with household head Occupation
1 1 4
1 2 5
1 3 6
1 4 8
>From the relationship with household head variable, one knows that 2
is spouse of 2 and 4 is sposue of 4.
The question is how we can generate a variable whose value is the
spouse's occupation. In the above example it looks like:
Household Relationship with household head Occupation
spouse'soccupation
1 1
4 5
1 2
5 4
1 3
6 8
1 4
8 6
Many thanks!
--
"My father gave me the greatest gift anyone could give another person,
he believed in me." - Jim Valvano
*
* 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/