<?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 Creating a graph showing incidence rate in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-graph-showing-incidence-rate/m-p/213561#M39440</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create graph plotting incidence rate of headache at -30 day intervals prior to baseline date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unsure how to calculate the negative person time for each time point to create the rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My graph will have the following x and y axis -365-0 for the time points and rates per 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 320px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" height="20" width="128"&gt;rate per 1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;0.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right"&gt;-365&lt;/TD&gt;&lt;TD align="right"&gt;-330&lt;/TD&gt;&lt;TD align="right"&gt;-300&lt;/TD&gt;&lt;TD align="right"&gt;-270&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;timepoint&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following variables in my SAS dataset, Patient ID, baseline date (which will be represented be the 0 time point on my graph), headache (0/1), and headache date.&amp;nbsp; A patient can only have one headache max which is the earliest within the prior baseline 365 days.&amp;nbsp; Any help in calculating&amp;nbsp; the rate for each negative timepoint and then plotting it as a graph would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 15:10:44 GMT</pubDate>
    <dc:creator>lisahoward</dc:creator>
    <dc:date>2015-05-12T15:10:44Z</dc:date>
    <item>
      <title>Creating a graph showing incidence rate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-graph-showing-incidence-rate/m-p/213561#M39440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create graph plotting incidence rate of headache at -30 day intervals prior to baseline date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unsure how to calculate the negative person time for each time point to create the rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My graph will have the following x and y axis -365-0 for the time points and rates per 1000.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 320px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="2" height="20" width="128"&gt;rate per 1000&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;0.5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right"&gt;-365&lt;/TD&gt;&lt;TD align="right"&gt;-330&lt;/TD&gt;&lt;TD align="right"&gt;-300&lt;/TD&gt;&lt;TD align="right"&gt;-270&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;timepoint&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following variables in my SAS dataset, Patient ID, baseline date (which will be represented be the 0 time point on my graph), headache (0/1), and headache date.&amp;nbsp; A patient can only have one headache max which is the earliest within the prior baseline 365 days.&amp;nbsp; Any help in calculating&amp;nbsp; the rate for each negative timepoint and then plotting it as a graph would be great.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lisa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 15:10:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-graph-showing-incidence-rate/m-p/213561#M39440</guid>
      <dc:creator>lisahoward</dc:creator>
      <dc:date>2015-05-12T15:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a graph showing incidence rate</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Creating-a-graph-showing-incidence-rate/m-p/213562#M39441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Lisa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's difficult for me to visualise your graph. Can you show an example of it please? Also please let us know the SAS Version you have and include an example of the dataset. It may also be better to post this question in the &lt;EM id="yui_3_16_0_1_1431443751248_1928"&gt;SAS/GRAPH and ODS Graphics community,&lt;/EM&gt; if you haven't already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kriss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 16:10:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Creating-a-graph-showing-incidence-rate/m-p/213562#M39441</guid>
      <dc:creator>djrisks</dc:creator>
      <dc:date>2015-05-12T16:10:20Z</dc:date>
    </item>
  </channel>
</rss>

