<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: RE: Calculation person-year. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104199#M258362</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have the Eric document. I helps to understand the concept of person-year. I do agree with you that I have to write code my myself. At the meantime, I don't think I have never seen an example or taught about SAS syntax to apply for person-time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful if any SAS experts can built an example for this issue for SAS users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Oct 2012 17:37:56 GMT</pubDate>
    <dc:creator>PhanS</dc:creator>
    <dc:date>2012-10-23T17:37:56Z</dc:date>
    <item>
      <title>RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104195#M258358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am seeking SAS syntax for 'calculation person-year'. I am interested in looking an incidence rate of first stopping ARV in HIV populations.&lt;/P&gt;&lt;P&gt;I much appreciate anyone helps me with this concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 15:49:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104195#M258358</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-23T15:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104196#M258359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Couldn't you use the yrdif function (with the age option) to achieve what you want?&amp;nbsp; Take a look at:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p1pmmr2dtec32an1vbsqmm3abil5.htm"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p1pmmr2dtec32an1vbsqmm3abil5.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 16:41:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104196#M258359</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-23T16:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104197#M258360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the OP is looking for the epidemiological aspect of person-year, which usually means changing your data structure. But it depends on what format the data is in and what question you're asking.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://meds.queensu.ca/medicine/obgyn/pdf/what_is/What.is.person-time.pdf" title="http://meds.queensu.ca/medicine/obgyn/pdf/what_is/What.is.person-time.pdf"&gt;http://meds.queensu.ca/medicine/obgyn/pdf/what_is/What.is.person-time.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AFAIK There isn't a PROC that can do that for you, you'll need to write your own datastep to solve it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 16:46:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104197#M258360</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-10-23T16:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104198#M258361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To follow up on Reeza and Art, the person-year of exposure to ARV would be the difference between the start of ARV and the first stopping (you can do with with yrdif or the approximate formula "(stopdate-startdate)/365.25".&amp;nbsp; To get the overall person-years of exposure, use PROC SUMMARY and get the sum.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:35:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104198#M258361</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-10-23T17:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104199#M258362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do have the Eric document. I helps to understand the concept of person-year. I do agree with you that I have to write code my myself. At the meantime, I don't think I have never seen an example or taught about SAS syntax to apply for person-time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be very helpful if any SAS experts can built an example for this issue for SAS users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:37:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104199#M258362</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-23T17:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104200#M258363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this Google search, you'll see lots of examples&lt;/P&gt;&lt;P&gt;person-year calculation site:sas.com&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:42:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104200#M258363</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2012-10-23T17:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104201#M258364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure the 'calculation person-age' is similar to 'person-year' that Reeza has mentioned. He provides a useful document about the concept of 'person-year'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to build SAS codes and I would like to share if I achieved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:45:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104201#M258364</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-23T17:45:40Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104202#M258365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your contribution. I will follow-up later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:48:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104202#M258365</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-23T17:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104203#M258366</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Phan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never worked in the area of epidemiological research, thus am not aware of the various nuances described in the reference that&amp;nbsp; Fareeza provided.&amp;nbsp; However, I'd be interested in knowing why a calculation similar to the calculation of age wouldn't be relevant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following mimics one of the examples from that reference:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/*&lt;/P&gt;&lt;P&gt;Time contributed by each subject:&lt;/P&gt;&lt;P&gt;Subject A: 2.5 years&lt;/P&gt;&lt;P&gt;Subject B: 5 years&lt;/P&gt;&lt;P&gt;Subject C: 1.5 years&lt;/P&gt;&lt;P&gt;Subject &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; 5 years&lt;/P&gt;&lt;P&gt;Subject E: 0.5 years&lt;/P&gt;&lt;P&gt;*/&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat initial_date onset_date date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; format initial_date onset_date date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input subject $ initial_date onset_date;&lt;/P&gt;&lt;P&gt;&amp;nbsp; person_years=yrdif(initial_date, onset_date, 'AGE');&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;A 01JAN2007 01JUL2009&lt;/P&gt;&lt;P&gt;B 01JAN2005 01JAN2010&lt;/P&gt;&lt;P&gt;C 01JAN2010 01JUL2011&lt;/P&gt;&lt;P&gt;D 01JUN2007 01JUN2012&lt;/P&gt;&lt;P&gt;E 01JUN2011 01DEC2011&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="255172" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; &lt;A __default_attr="87093" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; : is that different from what the OP is seeking?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:53:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104203#M258366</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-23T17:53:17Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104204#M258367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;A __default_attr="149594" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; That will give you the person-years per person, but then you need the proc summary as suggested by doc@duke.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A __default_attr="808598" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt;&amp;nbsp; I'm a She not a He &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 18:05:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104204#M258367</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2012-10-23T18:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104205#M258368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Reeza,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sincere apologies as I have difficulties with names. I appreciate and thank for your telling me.&lt;/P&gt;&lt;P&gt;Re. your advice, I will test later tonight and will follow-up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 19:05:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104205#M258368</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-23T19:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104206#M258369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks for your follow-up. Through Reeze's comments, it appears that you are logic.&lt;/P&gt;&lt;P&gt;I may not have time to run a test at this moment, but will do tonight. I am happy to inform you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2012 19:08:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104206#M258369</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-23T19:08:22Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104207#M258370</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My sincere apology that I couldn't get back last night. &lt;/P&gt;&lt;P&gt;To Art, I tested the yrdif (as well as dtdif) using methods/instructions from SAS Helps, unfortunately I had a message from log file: character values have been converted&amp;nbsp; to numeric values at the places given by ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what is wrong with the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greatly, I used the approximate formula (doc@duke), it appears to be fine for my results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Reeze's comment, however, I need to develop several step fro proc summary, proc freq and proc mean to calculate 'sum' of variable that I need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Overall, I think to calculate person-year is required several steps. These steps are very helpful for new SAS users like me. &lt;/P&gt;&lt;P&gt;One thing that I have no idea for Art is the code does not work. If possible, I will see a stat person in my place if he can help me to identify the erros.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the meantime, I much appreciate and want to thank everyone in helping me this procedure. Again thanks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan S. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 21:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104207#M258370</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-24T21:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104208#M258371</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Phan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I failed to mention that the code I suggested requires SAS 9.3.&amp;nbsp; I presume you are on an older version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 22:39:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104208#M258371</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-24T22:39:29Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104209#M258372</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the follow-up. Indeed, I am working on 9.3.&lt;/P&gt;&lt;P&gt;In fact, this message from log file: character values have been converted&amp;nbsp; to numeric values at the places given by ... referred for another (I'm sorry to confuse you). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lately, I will send you a log file that may help you to understand the issue when I ran the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am in Vancouver, a bit inconvenience at my workplace for Internet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 23:21:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104209#M258372</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-24T23:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104210#M258373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not a problem.&amp;nbsp; I'm in Toronto thus at least your response won't have to go through Customs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Oct 2012 23:49:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104210#M258373</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-24T23:49:25Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104211#M258374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please kindly see the log. I will see a stat person tomorrow morning and will fu you.&lt;/P&gt;&lt;P&gt;8617&amp;nbsp; /*person-year*/&lt;/P&gt;&lt;P&gt;8618&amp;nbsp; py_dead1=yrdif(farvdt, death_date, 'act/act');&lt;/P&gt;&lt;P&gt;8619&amp;nbsp; py_dead2=datdif(farvdt, death_date, 'act/act');&lt;/P&gt;&lt;P&gt;8620&lt;/P&gt;&lt;P&gt;8621&lt;/P&gt;&lt;P&gt;8626&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: Invalid argument to function YRDIF at line 8618 column 10.&lt;/P&gt;&lt;P&gt;NOTE: Invalid argument to function DATDIF at line 8619 column 10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 00:37:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104211#M258374</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-25T00:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104212#M258375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A __default_attr="808598" __jive_macro_name="user" class="jive_macro jive_macro_user" data-objecttype="3" href="https://communities.sas.com/"&gt;&lt;/A&gt; Are both farvdt and death_date SAS date fields?&amp;nbsp; All three of the following work for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat farvdt death_date date9.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input farvdt death_date;&lt;/P&gt;&lt;P&gt;&amp;nbsp; /*person-year*/&lt;/P&gt;&lt;P&gt;&amp;nbsp; py_dead1=yrdif(farvdt, death_date, 'act/act');&lt;/P&gt;&lt;P&gt;&amp;nbsp; py_dead2=datdif(farvdt, death_date, 'act/act');&lt;/P&gt;&lt;P&gt;&amp;nbsp; py_dead3=yrdif(farvdt, death_date, 'age');&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards;&lt;/P&gt;&lt;P&gt;1jan2010 10may2012&lt;/P&gt;&lt;P&gt;10jun2011 25oct2012&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 14:43:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104212#M258375</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2012-10-25T14:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104213#M258376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reeza,&lt;/P&gt;&lt;P&gt;I didn't know either!:smileysilly:&amp;nbsp; Together we are going to change the belief "&lt;SPAN style="font-family: 'Times New Roman','serif'; font-size: 12pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;over the years, males&lt;BR /&gt;have dominated the SAS guru level (quoted from Art)". :smileysilly:&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 14:56:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104213#M258376</guid>
      <dc:creator>Linlin</dc:creator>
      <dc:date>2012-10-25T14:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: RE: Calculation person-year.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104214#M258377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Art, good morning!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pls. kindly see the date SAS. I will fu with you late today, I hope to show the issue to my colleague. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Phan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEATH_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Obs&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID FARVDT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 310 01MAR2010&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 340 28APR2008&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 350 22NOV2006&amp;nbsp;&amp;nbsp;&amp;nbsp; 27MAR2008&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 360 23FEB2004&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 370 07OCT2009&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8.0pt; font-family: 'SAS Monospace';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2012 15:32:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/RE-Calculation-person-year/m-p/104214#M258377</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2012-10-25T15:32:49Z</dc:date>
    </item>
  </channel>
</rss>

