Suppose you have a logit model where you are trying to estimate the
number of children a couple will have. Let's say there are 3 couples, 1,
2 and 3.
In my dataset, for each couple, I have several records which track, year
by year, if they have had a child, and if so, when and the sex of the
child. I want to collapse these separate records into one horizontal
record tracking the couple. Can anyone point me to some stata code that
might assist me?
Thanks!
Erica
*
* 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/