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]

Re: st: how does one automatically calculate the age in years by subtracting the system date from the date of birth?


From   Gwinyai Masukume <parturitions@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: how does one automatically calculate the age in years by subtracting the system date from the date of birth?
Date   Mon, 11 Mar 2013 03:51:11 +0200

Rebecca

Thanks again. Apologies, I didn’t mean to say I obtained the exact
same results – I meant to say that one still obtains pseudo-random
dates by omitting that particular code (without setting the seed).

(My understanding is that Stata uses a pseudo-random number generator
which can pass for a true random number generator – but I digress).

Thank you Rebecca for your help.
Kind regards,
G.

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index