Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: The last four digits


From   Ernest Berkhout <[email protected]>
To   [email protected], [email protected]
Subject   Re: st: RE: The last four digits
Date   Tue, 09 Dec 2003 15:06:47 +0100

At 14:47 9-12-2003, David Kantor wrote:
At 10:58 AM 12/9/2003 +0100, you wrote:

gen date = int(nacimi/10000)
gen year = mod(nacimi/10000)
I believe that you meant, for the second line,
 gen year = mod(nacimi, 10000)
oops, that's definitely right!


Ernest Berkhout
SEO Amsterdam Economics
University of Amsterdam

Room 3.08
Roetersstraat 29
1018 WB Amsterdam
The Netherlands

tel.:+ 31 20 525 1657
fax:+ 31 20 525 1686
http://www.seo.nl
===========================
A statistician: someone who insists
on being certain about uncertainty
===========================

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



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