Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[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 <[email protected]>
To
[email protected]
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/