Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Breadwinner variable


From   Peter Gambrill <shortmoneyconspiracy@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Breadwinner variable
Date   Wed, 22 Feb 2012 18:03:18 +0000

I have data like this

Wave   Individual  Spouse  Earnings  Difference
1          101           102       x1          x1-y1
2          101           102       x2          x2-y2
3          101           102       x3          x3-y3
1          102           101       y1         y1-x1
2          102           101       y2         y2-x2
3          102           101       y3         y3-x3

I need to create a variable that shows how much more or less one
individual (101) in the couple earns compared to the other individual
(102). Is there anyway of doing this? Something like the variable
"Difference" above

Also for each couple they don't always have observations for the same
number of waves as each other or as the next couple in the data.

Peter Gambrill
UG University of Warwick , UK
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index