<?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: How can I use PROC GENMOD to calculate the crude incidence rate in my entire cohort (and 95% CI)? in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-use-PROC-GENMOD-to-calculate-the-crude-incidence-rate/m-p/126549#M34744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done the same analysis, in the way Steve Denham explains and it worked out well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This topic is described here aswell: &lt;A href="http://support.sas.com/kb/24/188.html" title="http://support.sas.com/kb/24/188.html"&gt;24188 - Modeling a rate and estimating rates and rate ratios (with confidence intervals)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Dec 2013 10:25:37 GMT</pubDate>
    <dc:creator>Adam1</dc:creator>
    <dc:date>2013-12-28T10:25:37Z</dc:date>
    <item>
      <title>How can I use PROC GENMOD to calculate the crude incidence rate in my entire cohort (and 95% CI)?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-use-PROC-GENMOD-to-calculate-the-crude-incidence-rate/m-p/126547#M34742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="p1"&gt;I have a dataset that contains count and person time information for an event (CMG) stratified by a number of different variables (e.g. age, calendar year, etc...).&amp;nbsp; I am using PROC GENMOD to construct a poisson model, using log(person-time) as an offset variable.&amp;nbsp; The data was over-dispersed so I had to scale by the deviance.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;How can I use the basic model (with no exposure or covariates) to calculate the unadjusted incidence rate of CMG in the entire cohort (regardless of covariate profiles)?&amp;nbsp; I know what the value should be but I would like to get it from the model and also look at the associated 95% confidence interval.&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;Here's the basic form of the model I'm using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;GENMOD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;DATA&lt;/SPAN&gt;=work.Count_PT_data&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp; &lt;SPAN class="s2"&gt;MODEL&lt;/SPAN&gt; TotalCMG = / &lt;SPAN class="s2"&gt;DIST&lt;/SPAN&gt;=poi &lt;SPAN class="s2"&gt;LINK&lt;/SPAN&gt;=log &lt;SPAN class="s2"&gt;offset&lt;/SPAN&gt;=LOG_PT &lt;SPAN class="s2"&gt;SCALE&lt;/SPAN&gt;=deviance;&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;SPAN class="s4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;/P&gt;&lt;P class="p3"&gt;Thanks for your help!&amp;nbsp; Let me know if there's anything more I can post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 08:28:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-can-I-use-PROC-GENMOD-to-calculate-the-crude-incidence-rate/m-p/126547#M34742</guid>
      <dc:creator>mconover</dc:creator>
      <dc:date>2013-10-29T08:28:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use PROC GENMOD to calculate the crude incidence rate in my entire cohort (and 95% CI)?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-use-PROC-GENMOD-to-calculate-the-crude-incidence-rate/m-p/126548#M34743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Consider adding the OBSTATS option.&amp;nbsp; It will generate beaucoup output, with multiple variables included, but most importantly it will give X*beta and it's confidence limits.&amp;nbsp; This should be identical for every observation with the intercept-only model that you have specified.&amp;nbsp; The confidence bounds will be based on the rescaled error.&amp;nbsp; I really think that the value with the intercept-only model will reflect the mean exposure in the dataset.&amp;nbsp; To get the estimate with exposure set to zero, you could try (WARNING--untested code.&amp;nbsp; Just because I think it ought to work doesn't guarantee that it will):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p2"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;PROC&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;GENMOD&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;DATA&lt;/SPAN&gt;=work.Count_PT_data&lt;/P&gt;&lt;P class="p2"&gt;&amp;nbsp; &lt;SPAN class="s2"&gt;MODEL&lt;/SPAN&gt; TotalCMG = &lt;STRONG&gt;exposure&lt;/STRONG&gt;/ &lt;SPAN class="s2"&gt;DIST&lt;/SPAN&gt;=poi &lt;SPAN class="s2"&gt;LINK&lt;/SPAN&gt;=log &lt;SPAN class="s2"&gt;offset&lt;/SPAN&gt;=LOG_PT &lt;SPAN class="s2"&gt;SCALE&lt;/SPAN&gt;=deviance;&lt;/P&gt;&lt;P class="p2"&gt;&lt;STRONG&gt;LSMESTIMATE intercept 'Exposure=0' 1/at exposure=0 ilink;&lt;/STRONG&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;STRONG&gt;RUN&lt;/STRONG&gt;&lt;SPAN class="s4"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s4"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s4"&gt;Good luck.&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s4"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P class="p3"&gt;&lt;SPAN class="s4"&gt;Steve Denham&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Oct 2013 14:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-can-I-use-PROC-GENMOD-to-calculate-the-crude-incidence-rate/m-p/126548#M34743</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-10-29T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use PROC GENMOD to calculate the crude incidence rate in my entire cohort (and 95% CI)?</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/How-can-I-use-PROC-GENMOD-to-calculate-the-crude-incidence-rate/m-p/126549#M34744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done the same analysis, in the way Steve Denham explains and it worked out well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This topic is described here aswell: &lt;A href="http://support.sas.com/kb/24/188.html" title="http://support.sas.com/kb/24/188.html"&gt;24188 - Modeling a rate and estimating rates and rate ratios (with confidence intervals)&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Dec 2013 10:25:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/How-can-I-use-PROC-GENMOD-to-calculate-the-crude-incidence-rate/m-p/126549#M34744</guid>
      <dc:creator>Adam1</dc:creator>
      <dc:date>2013-12-28T10:25:37Z</dc:date>
    </item>
  </channel>
</rss>

