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 at the end of May, and its replacement, statalist.org is already up and running.


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

RE: st: generating age using dates


From   Nick Cox <n.j.cox@durham.ac.uk>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   RE: st: generating age using dates
Date   Fri, 17 Dec 2010 18:49:50 +0000

If both age and date of birth are missing, I don't see that you can do anything except report missing. 

Nick 
n.j.cox@durham.ac.uk 

martine etienne

Great! thanks very much! It worked, the ages look just as I expected them to. 
Although I'm not sure what to do with the "missing" value, although we coded it 
as 99/99/9999 it did not calculate and age, which makes sense. Perhaps I will 
just make a note in the final write up, do you think that will make sense?


*
*   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