Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Question on data management

From   Johannes Geyer <>
Subject   Re: st: Question on data management
Date   Wed, 9 May 2007 12:19:53 +0200

Dear Simo,

the question is, how your data look like but I suppose you have individual 
data, i.e.  for each child a row, so this might help:


Dear All,
I have the children data that includes household id, children's age and
children's birth date.
Using this information, I want to create new three variables;
1. Age difference between children
2. Preceding birth interval
3. Succeeding birth interval

Could you help me how to calculate these new three variables?
Thanks for your kind help in advance.
Best regards,
Johannes Geyer
Deutsches Institut für Wirtschaftsforschung (DIW Berlin)
German Institute for Economic Research 
Graduate Center
Koenigin-Luise-Straße 5
14195 Berlin, Germany 
Tel: +49-30-89789-258

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index