| Date: | Tue, 24 May 2005 10:58:22 -0400 |
| Reply-To: | "Sridhar, Kumar" <nsridhar@MEDAREX.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | "Sridhar, Kumar" <nsridhar@MEDAREX.COM> |
| Subject: | Re: Question on Proc SQL |
|
| Content-Type: | text/plain; charset="us-ascii" |
Got it. Thanks for the explanation, Kevin.
Regards
Kumar
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
Kevin Roland Viel
Sent: Tuesday, May 24, 2005 10:53 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: Question on Proc SQL
> But I have a question in regards to the difference
> (and it maybe a nave question) but would you know why the difference
> occurs?
Our concept of years of age typically mean the number of times something
reach the month and day of its birth in the cycle of years. The
discrepancy results from the integer representation of an approximation.
Some years have 366 days and some have 365. Since (approximately) every
four years has 366, we say that, on average, a year is 365.25. Not
every
fourth year has 366, for instance 1900.
The YRDIF() function, will correctly divide by 366 or 365 as
appropriate.
Regards,
Kevin
Kevin Viel
Department of Epidemiology
Rollins School of Public Health
Emory University
Atlanta, GA 30322
|