<?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: Complex Survey Design and Poisson Models WITH GEE in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/298761#M15896</link>
    <description>&lt;P&gt;Thank you, Steve, for your quick and insightful reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked and I do not currently have access to SAS/STAT14.1 I have put in a request with my IT department to see if installing it will be possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, if there are any other suggestions in the SAS community, I am running SAS version 9.4 at the moment.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2016 19:07:06 GMT</pubDate>
    <dc:creator>ladurbin</dc:creator>
    <dc:date>2016-09-15T19:07:06Z</dc:date>
    <item>
      <title>Complex Survey Design and Poisson Models WITH GEE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/298679#M15892</link>
      <description>&lt;P&gt;We are utilizing a complex survey (NHATS) with stratification, clustering, and weighting. Our final models are Poisson with GEE. We understand that SURVEY procedures (SURVEYMEANS, SURVEYLOGISTIC, etc.) are necessary to use in order to appropriately account for this sample design and obtain accurate standard errors. We also know that PROC GENMOD does not have a direct corrollary with a SAS SURVEY statement.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have had the suggestion to use SUDAAN, STATA, or some other program, but have used SAS for the rest of the analysis and would like to continue to do so. We found what appeared to be a very helpful article outlining with sample code how to use a non-survey procedure (PROC GENMOD) to obtain valid point estimates and extended programming to obtain valid standard errors for our model's parameter estimates&amp;nbsp;(&lt;EM&gt;&lt;STRONG&gt;Poisson Regressions for Complex Surveys&lt;/STRONG&gt;&lt;/EM&gt;--attached here) and have followed the steps outlined therein carefully. Unfortunately Step 2 will not run due to the GEE portion of our model (if we take out the GEE coding lines starting with "repeated subjects" then the code runs, but with them included we get errors).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is one of our original models as an example (we did change to proc genmod data=jkweights appropriately when attempting to run the suggested code):&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;genmod&lt;/STRONG&gt; data = analysis descending;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;class SPID frailty time/param=ref ref=first;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; weight weight;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model drive = frailty time frailty*time/type3 dist = poisson link = log;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; repeated subject = SPID/ type=cs;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; estimate "frailty t1" frailty &lt;STRONG&gt;1&lt;/STRONG&gt; / exp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; estimate "frailty t2" frailty &lt;STRONG&gt;1&lt;/STRONG&gt; frailty*time &lt;STRONG&gt;1&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt;/ exp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; estimate "frailty t3" frailty &lt;STRONG&gt;1&lt;/STRONG&gt; frailty*time &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;1&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt;/ exp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; estimate "frailty t4" frailty &lt;STRONG&gt;1&lt;/STRONG&gt; frailty*time &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;0&lt;/STRONG&gt; &lt;STRONG&gt;1&lt;/STRONG&gt;/ exp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In comparison, here is the Poisson model (without GEE) that is presented in the paper we are attaching:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc genmod&lt;/STRONG&gt; data=jkweights;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;class sex race marital private education;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;weight SamplingWeight;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;model visits = sex race marital private education / dist=poisson;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is anybody aware of how to take the information presented in this article and apply it to a Poisson model including GEE? Any help is greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 15:13:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/298679#M15892</guid>
      <dc:creator>ladurbin</dc:creator>
      <dc:date>2016-09-15T15:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Survey Design and Poisson Models WITH GEE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/298691#M15893</link>
      <description>&lt;P&gt;If you have access to SAS/STAT14.1, try porting the code to PROC GEE. &amp;nbsp;There is an example (43.4 GEE for Binary Data with Logit Link Function) here:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_gee_examples04.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_gee_examples04.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;that with a change in distribution and link would be a start, I think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that works, you may then want to port again to PROC GLIMMIX, using this exampe, with appropriate changes, for survey data:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_glimmix_examples23.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_glimmix_examples23.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 15:36:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/298691#M15893</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-09-15T15:36:13Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Survey Design and Poisson Models WITH GEE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/298761#M15896</link>
      <description>&lt;P&gt;Thank you, Steve, for your quick and insightful reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked and I do not currently have access to SAS/STAT14.1 I have put in a request with my IT department to see if installing it will be possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the meantime, if there are any other suggestions in the SAS community, I am running SAS version 9.4 at the moment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2016 19:07:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/298761#M15896</guid>
      <dc:creator>ladurbin</dc:creator>
      <dc:date>2016-09-15T19:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Survey Design and Poisson Models WITH GEE</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/299297#M15919</link>
      <description>&lt;P&gt;What version of SAS/STAT are you using? &amp;nbsp;There may be some PROC GEE functionality available.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2016 14:37:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Complex-Survey-Design-and-Poisson-Models-WITH-GEE/m-p/299297#M15919</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-09-19T14:37:39Z</dc:date>
    </item>
  </channel>
</rss>

