<?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: Poisson regression (how to reflect updated independent variables in the model) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/409607#M21375</link>
    <description>&lt;P&gt;You could write a contrast for the levels of Occurrence that compares level 0 (non-incident disease group) to the mean of levels 1 and 2 (incident disease groups).&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 19:41:39 GMT</pubDate>
    <dc:creator>sld</dc:creator>
    <dc:date>2017-11-01T19:41:39Z</dc:date>
    <item>
      <title>Poisson regression (how to reflect updated independent variables in the model)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406338#M21159</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I use SAS 9.4 and I am looking at how the presence or absence of disease at baseline year would affect the number of health care use in the next 2 years. I have a data set like this:&lt;/P&gt;&lt;P&gt;id &amp;nbsp; &amp;nbsp; baselinedisease &amp;nbsp; &amp;nbsp; healthuse&lt;/P&gt;&lt;P&gt;1 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &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;3&lt;/P&gt;&lt;P&gt;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &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; 15&lt;/P&gt;&lt;P&gt;3 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &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;2&lt;/P&gt;&lt;P&gt;4 &amp;nbsp; &amp;nbsp; &amp;nbsp;0 &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;5&lt;/P&gt;&lt;P&gt;5 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &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;0&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;However, some people developed the disease at year 1 post baseline or year 2 post baseline, and I think this would affect their subsequent number of health care use. So I want to reflect this in the model. I have another data set showing me the presence or absence of disease for each participant in year 1 and year 2 post baseline. The current codes I am using is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data=have;&lt;BR /&gt;class disease (ref='0') / param=glm;&lt;BR /&gt;model healthuse = disease / type3 dist=poisson;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Does anyone can help me figure out the problem? Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2017 02:23:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406338#M21159</guid>
      <dc:creator>Therain</dc:creator>
      <dc:date>2017-10-22T02:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson regression (how to reflect updated independent variables in the model)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406395#M21162</link>
      <description>&lt;P&gt;Would it make sense to create a factor (Occurence)&amp;nbsp;with three levels?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;Occurence=0 if no disease at t=0, t=1, or t=2&lt;/P&gt;
&lt;P&gt;Occurence=1 if no disease at t=0, disease at t=1 and t=2&lt;/P&gt;
&lt;P&gt;Occurence=2 if no disease at t=0 or t=1, disease at t=2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Each id would belong to one and only one level.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2017 21:30:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406395#M21162</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-10-22T21:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson regression (how to reflect updated independent variables in the model)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406398#M21163</link>
      <description>Hello, thank you for the reply! I do not know if my understanding is correct, but I am thinking the new disease can only happen in those without disease at baseline. So if we create another factor and include it in the model, it may not be necessary because this factor cannot be the confounder (i.e. No new developed disease in those with disease at baseline)?</description>
      <pubDate>Sun, 22 Oct 2017 22:30:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406398#M21163</guid>
      <dc:creator>Therain</dc:creator>
      <dc:date>2017-10-22T22:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson regression (how to reflect updated independent variables in the model)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406400#M21164</link>
      <description>&lt;P&gt;I was thinking of replacing baselinedisease (with two levels) with Occurence (with 3 levels):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;model healthuse = Occurence / type3 dist=poisson;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Whether this makes sense might depend on which two years you counted healthuse (e.g., the two years following the baseline assessment?), as well as other considerations.&lt;/P&gt;</description>
      <pubDate>Sun, 22 Oct 2017 22:57:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/406400#M21164</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-10-22T22:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson regression (how to reflect updated independent variables in the model)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/409333#M21367</link>
      <description>&lt;P&gt;Hello, Thank you for the clarification and sorry for the late reply. I think if we replace it with this, the research question would become comparing incident and non-incident disease groups, instead of comparing having the disease or not. Now I am considering using something like the following codes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc genmod data = have;&lt;BR /&gt;class study_id disease;&lt;BR /&gt;model healthuse = disease / dist=poisson link=log type3;&lt;BR /&gt;repeated subject = study_id / type=ar(1) corrw;&lt;BR /&gt;lsmeans disease/diff cl;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is also another file seems related to this issue:&amp;nbsp;&lt;A href="https://methodology.psu.edu/downloads/tvem" target="_blank"&gt;https://methodology.psu.edu/downloads/tvem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will keep working on this and to see if this works.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 01:26:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/409333#M21367</guid>
      <dc:creator>Therain</dc:creator>
      <dc:date>2017-11-01T01:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Poisson regression (how to reflect updated independent variables in the model)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/409607#M21375</link>
      <description>&lt;P&gt;You could write a contrast for the levels of Occurrence that compares level 0 (non-incident disease group) to the mean of levels 1 and 2 (incident disease groups).&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 19:41:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Poisson-regression-how-to-reflect-updated-independent-variables/m-p/409607#M21375</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-11-01T19:41:39Z</dc:date>
    </item>
  </channel>
</rss>

